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

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.

主站蜘蛛池模板: 金山区| 宁南县| 石棉县| 阳江市| 绥阳县| 长白| 贵定县| 奇台县| 宝应县| 米林县| 万山特区| 阿图什市| 江安县| 墨竹工卡县| 沙坪坝区| 永春县| 古丈县| 新乡县| 陕西省| 盘山县| 武强县| 浦城县| 尚义县| 上栗县| 霍邱县| 临湘市| 丰宁| 茶陵县| 通化市| 松溪县| 芷江| 黄浦区| 自治县| 南华县| 湘乡市| 武川县| 民和| 昌宁县| 东源县| 英吉沙县| 金湖县|