DEV Community

道化師
道化師

Posted on

Parser without location information is a useless function.

位置情報のないパーサーはガキの使い

The parser must be with the location information(e.g. file, line, row, byte).

We can not provide decent error information about parsed data without the location information.

KISS and YAGNI are also important, but if you are providing as a library, the location information is necessary for the parser.

originals(Japanese/日本語)

https://twitter.com/wraith13/status/931114952873537537
https://twitter.com/wraith13/status/931115196373909504
https://twitter.com/wraith13/status/931120178770845696

Top comments (0)