DEV Community

道化師
道化師

Posted on

3

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)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay