jueves, 28 de enero de 2016

Beating the averages

So this week I read an article from Paul Graham titled "Beating the averages".

First things first, the song of this entry is going to be "Harder better faster", its a pretty good song and reading it relates to the article because it is mostly Paul Graham repeating "Harder better faster Lisp" 50% of the time. Enjoy.



The article talked about how Paul Graham made a web platform that allowed users to make their own online stores called "ViaWeb", the platform beat all their competitors and got bought by Yahoo!

Paul Graham explains how they used a different approach to beat their competitors (the averages) by using a non common programming language, Lisp. He stated that using a different language not only makes you a better programmer by changing your thought process, but also allowes you to use it to stand out between the competitors using common languages.

He takes a slight blow on C, C++ and Java, and he has a pretty good point, by using a different language you can get the most out of the particularities of the language, while everyone else gets stuck on the common languages and their common problems.

While I'm not a Lisp fan, I do agree that it has some pretty good aspects, although I don't agree with the author about a "more powerful language". He ultimately assures that Lisp is the most powerful language, I think almost every programming language has its strength according to how you're goint to use it. Of course, Lisp is a very powerful language, but if you think about it, every language has its "killer feature". Java has the JVM and easy portability, no matter how much it has been criticized, that killer feature has made Java become what it is now. C is a powerful language that can be applied to almost anything, operative systems, web applications, desktop applications, security, Lisp has some excelent data processing, Lua has a cool short name (and just about that).

My stand upon the "most powerful language" debate and the whole tower of Babel of programming languages is that a language is just as powerful as the programmer uses it, because no matter how much a language can do if you stick to only one language then you can't get the most out of the other "killer features" of the other languages, so it doesn't matter if you think spanish or italian is the most poetic, powerful language, if you are stuck in japan either one of them are going to get you very far.
So as a programmer the only advice I can tell you is to study two or three languages, master them, then learn some basic survival on as many languages as you can, because you never know if some obscure, weird language is going to be the perfect fit for a problem. One problem, one approach, so you better learn many approaches.

That is all for now.
 Wololo.

jueves, 21 de enero de 2016

The semicolon wars

This entry will talk about the article "The semicolon wars" that you can find here:
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.


lunes, 18 de enero de 2016

Triumph of the nerds, part I

In the triumph of the nerds, part I, we reviewed the story about the guys who changed history by making personal computers.
If you haven't seen the video, or you are too lazy to watch or just prefer to read it while listening to some chilling music, here I will discuss the video and add some nifty comments.

Suggested acoustic playlist you can listen if you haven't selected a cool playlist yet.

Now relax, and enjoy.

The video talks about the famous story about Steve Jobs and Bill Gates taking over the world by developing personal computers, with other historical figures like Paul Allen and Steve Wozniak.
I knew most of the story after watching "Pirates of Silicon Valley", but what I liked better of the documental was that they talked more about the people behind de pc revolution, like Steve Wozniak being the electrical engineer genius and Steve Jobs being a visionary with a lot of interest on making personal computers easier to use. Making what started as a bunch of geeks on some project become the next big thing since industrial revolution.

That is the most I can say about the video, I really suggest to watch the video.
Now I will talk about some interesting remarks about the video.

First of all, I liked a lot how the video explained that most of the innovation done that was thought as impossible was because the bunch of geeks didn't know it was "impossible", making a great statement about how innovation can come by letting go of any negative ideas to let creativity and innovation come.

Another interesting thing is that the video talked a lot about how the computer world was born on the remaining ideas of the hippie era, and thats why it grew so quick because geeks were sharing their ideas while trying to have fun, there is a phrase that goes something like "there was a window in time were we (the geeks) could make an impact on the world while having fun playing around with the computers".

I think anyone can find that window if he searches hard enough.

miércoles, 13 de enero de 2016

About Me

For everyone reading this (2, maybe 3 people), my name is Kevin.
This blog will be about my experience while taking the programming languages course by the professor Ariel Ortiz.

As I've heard from other students and blogs that I read before writing this entry the course mainly is an analysis on various programming languages. So the common thing to expect would be studying different programming languages and learning their overall weaknesses and strengths. Learning about different situations and problems and which lenguage benefits the most of the problem context. Like deciding when to use an object oriented language and when to use a procedural programming language, when to use a high level language and mainly, when would a language that is as respected as Justin Bieber to music, like Lua (inside joke) benefits the most out of a programming problem.

Besides that, I'm very interested in finish reading the 1984 book I started reading on high school on another subject and never ended it, and finally understand whether Orwell had it right or it was Huxley who better described modern society with Brave New World.

Personal interests cover many things from bass guitars and age of empires to reading creepy pastas and publicly planning to end any modern civilization and return to those good ol' days at the caves.

Wololo.