3 ms·
Couldn't you extend this line of thinking to any language-specific syntax on any programming language? Don't use `match`, macros, lifetimes, ... in rust, someo
by frde_me 1y ago
Couldn't you extend this line of thinking to any language-specific syntax on any programming language?
Don't use `match`, macros, lifetimes, ... in rust, someone coming from another language without them might not get what it means. Instead write the equivalent C-looking code and don't take advantage of any rust specific things.
Don't use lisp, someone coming from another language might not be able to read it.
Etc..
At one point if you write code and want to be productive, you need to accept that maybe someone that is not familiar with the language you're using _might_ have to look up syntax to understand what's going on.
- smjburton 1y agoOne of the main objectives of Python is readability. IMO, features that take away from this objective become a detriment to the language.