3 ms·
I don’t want to write a random free function for one line of code. I want nice syntax: list[-1] += 1 array.last += 1 *(vector.end() - 1)++; Having reaso
by saagarjha 7y ago
I don’t want to write a random free function for one line of code. I want nice syntax:
list[-1] += 1
array.last += 1
*(vector.end() - 1)++;
Having reasonable syntax and a strong type system are not mutually exclusive.
- kerkeslager 7y ago> I don’t want to write a random free function for one line of code. I want nice syntax shrug Sure, me too, everybody wants nice syntax. What I'm saying is that syntax is never the most important problem with a language. People talk about problems with syntax because they're easy to understand, and the more important problems with a language are much harder to understand and talk about. If a genie told me I could wish for three problems with Python to be instantly fixed, none of them would be syntax. I can't think of a language I've used where syntax would be on the list.