Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Idiots don't know how to parse...

Name: Cudder !cXCudderUE 2015-11-13 8:45

http://stackoverflow.com/questions/28256/equation-expression-parser-with-precedence

WTF? The accepted answer is from someone who thinks recursive descent is "hard" and a ridiculously bloated parser-generator is "easy"? Pure bisonshit! Almost every real (and toy) compiler uses some variant of recursive-descent. Even GCC, which would probably be the biggest user of Bison, moved to recursive-descent years ago.

These aren't even programmers, these are Java-sipping codemonkeys who know next to nothing about how anything really works and can only parrow "reinventing the wheel" and other "enterprise best practices" bullshit.

Name: Cudder !cXCudderUE 2015-12-03 9:23

>>38
Bullshit. Generated parsers have horrible errorhandling, so much that you often need to add additional rules just to do it. Nothing quite as simple as RD where you just put the code in the right place. This was one of the main reasons GCC moved to RD from a Bison parser.

But in any case, "X was unexpected here" is usually enough of a clue to the programmer what's wrong.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List