|
|
|
|
|
by ohwp
4693 days ago
|
|
What I think is interesting is that a lot can be done to make typing easier and more human when you can type like you speak (and think). For example: we say/think for each item in list
but in a lot of languages you need to type something like foreach(item in list) {
A step further: we say/think let a be the substring of b from 1 to the end
we need to type a = b.substring(1)
Ofcourse the last example is much shorter and even more readable (to the machine for sure) but maybe code could be a little more human. |
|
A skilled musician likely doesn't engage the speech centres of their brain, they see a note on the sheet and translate it to motion. You should be able to take in the symbol for "apply a function to each item in a vector" at a glance without any clumsy English getting in the way. APL had it right, but coding has been crippled by catering to the lowest common denominator.