Comment by torginus

Comment by torginus 3 days ago

1 reply

which is kinda horrifying - it means the framework designers didn't find the language powerful enough to express app logic, and hotglued their own custom arbitrary behavior on top of it.

Clear language code should be endeavor to be readable/understandable when printed on a sheet of paper by anyone, acceptable code should be understandable by anyone who knows a bit about the technologies and has some IDE support.

Garbage code is what you have when the code in question is only understandable when you actually run it, as it uses arbitrary framework logic to wire things together based on metadata on the fly.

Groxx 3 days ago

people have been gluing other languages on top of languages practically forever - it's a DSL.

no single language is ideally suited for every situation, it's not inherently a sign of failure that someone makes a DSL.

and since annotations are part of the language, this is still all "the language is flexible enough to build the framework [despite being wildly different than normal code]" so I don't think it even supports that part.