3 ms·
Long before the advent of computers, mathematical notation provided a way to more precisely express ideas than natural language. Of course, if you are verbose
by jimbokun 19y ago
Long before the advent of computers, mathematical notation provided a way to more precisely express ideas than natural language. Of course, if you are verbose enough, you can express mathematical ideas with prose. But the corresponding mathematical notation will probably be more clear and easier to manipulate than the prose version for someone well versed in both "languages."
Programming languages can similarly provide for precise, concise expression of ideas.
Your example is a huge leaky abstraction waiting to happen. What if something about the resulting program is very different than what you expected or wanted? How do you know at what point things went wrong? How do you fix it? What if there were ramifications that were not clear at the high level of your conversation, but the machine dutifully did what you "wanted", with repercussions like Mickey in the Sorcerer's Apprentice?
The only way programming languages will no longer be useful in the future is if algorithmic thinking is no longer useful. Is that your assumption here?
- DanielBMarkham 19y agoProgramming languages can indeed provide for precise, concise expression of ideas, but how precise must the description of a problem be in order for the computational machinery to express it within parameters necessary to satisfy the user? So what if the program is very different that what you expected or wanted? Is this such a new thing? A better question would be "what if I could be wrong eleven times in a week and finally be happy. Would that be better than taking a month to accomplish the same thing?" I think you're looking at the problem through the wrong end of the telescope. The perfect is the enemy of the good. I think by marrying mathematical concepts to computers you're continuing down a path that may no longer be useful. While it's true that computers are mathematical creations, the question isn't whether a program is "correct enough", rather whether it is "useful enough" We're already using poor, leaky abstractions to grasp and create programs -- it's called the English language. The guys who created E-bay didn't work out the calculus of various bidding strategies -- they implemented a simple online bidding system. We're not looking for mathematical perfection. We're looking for maximum value with minimum effort. Or maybe I'm smoking crack here. Are you saying that the ability to make the most complicated precise programs using the least amount of syntax is a good thing? If so, why would that be?