your_mom = "the best" if i_got_icecream() else "just good"
Edit: on a more serious note, I’m not sure if python’s syntax helps with readability, in the real world everyone indents or you won’t really keep your job, and I’ve read some really shitty python code anyway, indented or not.
If a c/++/js/whatever file is unreadable, grab your favourite flavour of autoformatter and run it to read the thing, but shitty naming won’t get fixed by that.
You know typescript is a language that is getting transpiled to plain js. ( Module, CommonJS, almost every version ). So it can not not fit in there XD
And added
And then you do the same in c with ; for better readability
Sometimes inline stuff is more readable.
We got that in python too!
your_mom = "the best" if i_got_icecream() else "just good"
Edit: on a more serious note, I’m not sure if python’s syntax helps with readability, in the real world everyone indents or you won’t really keep your job, and I’ve read some really shitty python code anyway, indented or not.
If a c/++/js/whatever file is unreadable, grab your favourite flavour of autoformatter and run it to read the thing, but shitty naming won’t get fixed by that.
…and I am not sure which of both evil grind my gears more.
then use javascript :) it has neither
…guess what I do for a living 😜 But there, I dislike the typelessness.
then use typescript…XD
I would really like to, but it is not supported on the target, sooo…
You know typescript is a language that is getting transpiled to plain js. ( Module, CommonJS, almost every version ). So it can not not fit in there XD