官术网_书友最值得收藏!

Dialyzer

Dialyzer (http://erlang.org/doc/man/dialyzer.html) is a tool that ships with Erlang and performs static analysis of code. It analyses compiled .beam files, making it available for all programming languages that run on the Erlang VM (such as Elixir!). While Dialyzer can be helpful on projects that don't have typespecs (as it can, for instance, find redundant code), its power is maximized on projects that have their functions annotated with typespecs. This way, Dialyzer is able to report on typing errors, which brings you closer to the security you can get on a statically-typed language.

Although we won't be exploring Dialyzer in this book, we highly recommend its usage, as it can be very helpful. Particularly, we feel that the Dialyxir library (https://github.com/jeremyjh/dialyxir), is a great way to integrate Dialyzer into Elixir projects, as it abstracts away part of the complexity of dealing with Dialyzer directly.

主站蜘蛛池模板: 台中县| 临邑县| 平舆县| 阳江市| 三河市| 德阳市| 永年县| 岐山县| 遂平县| 泸定县| 台州市| 大埔县| 屏东县| 安国市| 遂平县| 乐安县| 郸城县| 澄城县| 西畴县| 麻江县| 南木林县| 东乌| 澄城县| 隆安县| 同仁县| 云和县| 河曲县| 双城市| 东辽县| 滁州市| 独山县| 泰安市| 隆尧县| 中方县| 林西县| 湄潭县| 沂南县| 江达县| 铅山县| 达尔| 井冈山市|