@DannyuNDos it's crazy how large "programming" is... How many kinds of software there are. Each with their own set of goals, of constraints, of best practices that are sometimes directly opposed to each other. It's crazy how simply practicing one kind of programming makes humans slowly gain experience in it / specialize their perspective to it / limit their understanding to it, at the expense of all others kinds. Without even realizing it!
This is how we get wildly incompatible views and advice, by programmers unknowingly talking past each other, about seemingly the same topics.
This is also why no, your favorite language is in fact not an entirely adequate substitute to your least favorite language, for all intents and purposes.
I suddenly woke up in the middle of the night, inspired to say all that. Heed the wisdom from the bed
I test simple (toy) grammars and check if they are ambiguous by generating all possible sequences derived from start symbol, but limited to maximum length (for example 12). It is not practical for real grammars like Java language and it tests ambiguity grammar but does not say which production ru...