Sometimes I get involved in discussions on twitter and Facebook related to development. This week I ended up sending a link to an old(ish) twitter thread explaining when to favor Promises/Callbacks and when to use Signals/Events for asynchronous operations. I think this topic deserves further explanation.
I have no data to backup my theory; it’s just a trend that I observed in the past years. The amount of headlines like “10 places you should visit before you die”, “15 best jQuery plugins of the year”, “best video you will watch today” keeps increasing; I blame the rise of social media and the death of RSS readers.
It’s sad to admit it; but if a headline isn’t sensationalist, the likelihood of someone reading it and sharing it, is not as high.
I was reading some of my old blog posts, and also some code that I wrote during the past few years, and it’s really hard to not notice that I was a total noob.
Don’t call it Impostor Syndrome, I’m talking about a different feeling. It’s more a realization that over the past few years I improved A LOT, both my writing and coding skills. Nowadays I can spot mistakes and misconceptions that I couldn’t see before. It’s also important to remind that being a noob is totally subjective and that there are different levels of noobness.
Yes, they are popular; Yes, there are hundreds of implementations; Yes, they all suck; Yes, this is sort of a rant; Yes, I also wrote a few static site generators before; Yes, I have this opinion for a while; Yes, a lot of people will disagree…
Since my goal with this post is to question the current trend towards static site generators, lets start with a bold a statement: PHP is the best static site generator that you can get.
All static site generators are known to increase in complexity over time until they match PHP features w/ uglier syntax & poor documentation
— Miller Medeiros (@millermedeiros) June 27, 2013
Like most front-end developers I don’t have a Computer Science degree and started to program using high level languages, it took me a while to stumble into Linked Lists, that’s why I’m going to explain the basic use cases, pros/cons of this simple data-structure and why it’s widely used. - You probably used it before without knowing.
This post was motived by this tweet:
Can anyone explain what a Linked List is and why I’d use one (if I even could in Ruby, PHP, JS). I’m not quite grokking their purpose?— integralist (@integralist) May 12, 2013