3 ms·
I agree with many things... especially the editor complaint. I wanted to create a syntax-aware editor one day and it's considerably harder than creating a stand
by viraptor 17y ago
I agree with many things... especially the editor complaint. I wanted to create a syntax-aware editor one day and it's considerably harder than creating a standard one. It's also almost useless in case of dynamic languages, since you cannot verify that much at the editing stage. But this seems just wrong:
> I hate languages that do now allow me to do something, just because the language "designer" decided so.
In many cases it's not about "designer decided so", but rather about tradeoffs. We cannot do X, because that would make Y considerably more difficult / fragile / slower. It also helps create some coding standards and common constructs. For example it's easier to read someone else's python code where the syntax is pretty much minimal and uses the same concepts over and over again (decorators are just functions in functions, decorators with parameters just call another wrapping function to get the decorator, etc.), rather than reading some haskell code, where someone decided to build own DSL which implements everything. Limits can be good.
- narag 17y agoBut limits don't need to be in the language itself. It should be possible to define subsets. Maybe it seems the same thing to be limited by the language or by a requirement imposed by the boss or the customer. But it's not quite the same. I've worked for companies with very strict code conventions and revisions, and I was happy with them. It's not the individual freedom what I'm requesting. It's more like having the possibilty of exceptionally resorting to powerful features when it's seen as the best option with the consensus of the team. IOW: the limits can be good, but I don't think a single person should decide for all the users.