4 ms·
Very succinctly put, regardless if it is a function call or a builtin statement :) I have used something similar to defuse endless arguments about which langua
by mickronome 10y ago
Very succinctly put, regardless if it is a function call or a builtin statement :)
I have used something similar to defuse endless arguments about which language is more expressive, or better, and turn it into a more productive discourse.
I simply make a tentative assertion that there is a perfect language for every problem, one where only one line of code is needed to solve the problem, it reads as follows: doit
Then I follow up with stating that the language is probably rather useless for anything else.
I don't know why it usually works to open up the discussion, it seems to me as such a trivial and obvious observation, but apparently the perspective is something many rarely come to observe without prompting.
I'm well aware that 'doit' can't really be considered to be a language, except in a very limited sense, it can also simply be a function call, which maybe helps to bring into focus the intersection between language, libraries and their relative applicability to the task that needs solving, and the environment it must be solved in.
Trivial, obvious but somehow deeply at the heart of writing the correct code to solve a particular problem, because everything is a tradeoff somewhere between extremes.