http://webcem01.cem.itesm.mx:8005/s201611/tc2006/semicolon_wars.pdf
As I've done on other entries I will suggest a song to hear while reading this.
The song is "Everglow" by Coldplay, this song doesn't have a special reason for being recommended, it is just very cool.
The article discusses the proliferation of programming languages over the years and how we've never found the perfect one, that suits almost all of our needs, it also talks about some classical languages (Lisp, Fortran, COBOL), and their role over the years, as well as the rise of scripting languages such as Python or Ruby.
My opinion as a programmer who hasn't found 'his' special language, I feel as if the search for a perfect programming language is nonsense. I mean, as I've said in almost every entry, I hate Lua, but for what I do it just get things done, so most I can do is joke about it.
I also have a theory on why there are so many programming languages: As the article tells, there are far more programming languages than natural languages, but that isn't a bad thing, it is just that the article doesn't explore more deep on the reason programming languages are created. I think programming languages are created to solve a specific set of problems (even though they may try to solve any problem in theory, in practice a programming language, at most, is designed to solve any problem the designers can think of, and since the problems we solve using programming languages tend to evolve as tecnology evolves and designers are not omnisapient, it is most likely programming languages eventually get specialized on solving one type of problems, as it happens. And of course, there will be some folks that say something like "But in (insert programming language) you can do anything, you moron!" and they may be right, but a programming language being able to solve one problem doesn't mean it is the best to solve it.
I may be oversimplifying things, but things get as easy as this: You want deep level programming? go C or something like that, you want quick and easy? go Python.
Multiplatform? Java
You want a language that makes you an expert on debugging things that shouln't be happening? Lua
(See what I did there?)
What I'm trying to say is that you should always stick to the language that fits most the problem, not the other way around. And as I've said earlier, everything in software design is a tradeoff, you might as well choose the tradeoff that fits best.
The reason why there are more programming languages than natural languages is that in programming languages statements and ideas have to be very precise. Let me put a simple example, if you had to describe something very hard to describe (almost impossible) on a language, natural languages have the benefit of being more flexible, you should just stretch up some words or use some metaphor and that should at least serve a minimal understanding of the concept.
However, in programming languages, where things have to be precise, and you can't make use of ambiguity very well, you have to make something up that fits exactly your purpose, like Shakespeare making up words such as "elbow" to fit his purpose, he could have just said something like the center of the arm or something, but he wanted that concept to be very precise, thus creating a word. In programming languages, if the language doesn't fits well your purpose you switch to another one, or even design your own to be able to be are specific and efective as you want. You might even use assembly if it works for you (just like videogame programmers when speed was much more of an issue).
That is all for now, if you have something to say leave a comment.
Wololo.
No hay comentarios:
Publicar un comentario