4 ms·
It's really not. For example C# has no guiding principles imo. It's just a hodgepodge of any and all popular language features all lumped together. Java was pop
by everyone 4y ago
It's really not. For example C# has no guiding principles imo. It's just a hodgepodge of any and all popular language features all lumped together. Java was popular at its inception so it stole lots of Java, as new things have become popular they are added (eg. anonymous functions)
As a dev you just use whatever features u like and can safely ignore the majority of them. Its very non-prescriptive unlike some languages where you must do a thing only one way.
Eg. Inheritance is pretty much terrible, I just never use it. Same way I try to not write bad code and instead write good code.
Also sure you need to put functions in classes, but thats fine, classes are just buckets for code. In any language you need to put your functions somewhere eg. in a text file.