3 ms·
> Since the Dragon native is not case-sensitive, the same program can be written in different styles This always seems like a good idea until many people start
by mr_00ff00 4y ago
> Since the Dragon native is not case-sensitive, the same program can be written in different styles
This always seems like a good idea until many people start using it different ways
There’s a reason tons of languages from python to zig all have said they want “only one way of doing something”
- Y_Y 4y agoObviously just trying to appeal to THE COBOL MAFIA
- qwertfisch 4y agoBut it's one thing to emphasize a naming convention, and another thing to simply not compile because I want the function be named doSomething() but am forced to name it do_something(). With a naming convention or an included formatter I still can write my style. At least until I'm used to the language's native naming style. Being forced just annoys me and keeps me from using the language at all. (Because languages differ here extremely.)
- usrbinbash 4y agoThis isn't about enforcing how new things are named, this about enforcing using already existing names consistently. If the documentation says "there is a thing named foobar", but in the code I can see Foobar, FooBar, FOOBAR, FOObar, etc. used interchangeably, that's not gonna help readbility and maintainability.