Thursday, July 16, 2015

Bare metal JavaScript is dead.

Bare metal JavaScript is straight JavaScript code that runs against the browser.  It's the way web browsers have been programmed virtually since the beginning. You write some code, the browser runs exactly what you wrote.

And bare metal JavaScript is dead.

You might not have heard the news yet.  This death is not sad news, it's great news.

You might still be working on a daily basis with the living zombie that is bare metal JavaScript, but believe me it is dead.

Bare metal JavaScript is now the equivalent of bare metal assembly language, and it has followed the same path to become just a target language for compilers.

In 2015 you no longer write bare metal JavaScript.  You write code in one of a selection of JavaScript successors, descendants and cousins, and that code is then transpiled to bare metal JavaScript which is what the browser runs.

If you haven't yet moved away from bare metal JavaScript to a transpiled language such as ES7, then its time you did.

And yes I know that ES7 is in fact the very latest version of the JavaScript language but so different and so much more improved and refined that it is almost a new language.

Tell your boss that you no longer wish to work with a zombie programming language and that you wish to move to ES7 or one of the ever-growing list of languages that can be transpiled to bare metal JavaScript. 

Monday, July 6, 2015

Why being on the JavaScript cutting edge matters.

The JavaScript world moves extremely fast.  Almost week to week a shiny new framework or library or build tool comes out.

Some people seem to feel that always moving to that latest shiny new JavaScript thing is self indulgent, trendy, hipster behaviour.

In fact it makes good sense to always be finding and staying at the JavaScript cutting edge. WHY it makes sense is because JavaScript is (or was) crappy, inconsistent, hard to use and quirky and because browsers are (or were) crappy, inconsistent, hard to use and quirky.

The JavaScript cutting edge in general tends to be finding more powerful and more simple ways of doing things.  If you want to make life as easy for yourself as possible, you need to live at the cutting edge.  

Living on the JavaScript cutting edge is not a matter of being cool or distracted or trendy - for me its a matter of necessity to avoid living in the burning hellfire of bare metal JavaScript programming, in which there is nothing between you and the browser except raw JavaScript. The truly lazy programmer lives at the cutting edge of JavaScript because that's where things are easiest - until a better idea comes along next week.

Sunday, July 5, 2015

History compression via bright, full colour technology

I was born in the late 1960's.  That's 20 years plus a a few years since World War 2 ended and the death of HitlerThat 20 year period seems like an incredibly long time to me.

Nowadays, 20 years doesn't seem so long. 20 years plus a few years was the early 1990's.  That's not long ago. That's when Jurassic Park and Terminator 2 came out. Pearl Jam and Nirvana were creating the grunge music thing. Heck it's in the ballpark of almost 40 years ago since Star Wars came out - I remember queuing all the way around a city block to get tickets. Now sure that seems a long way back, but not the distant past.  

I feel like history is being compressed by bright, full colour technology like film, colour TV and computers. Anything that happened before bright, full colour technology, heck that was LONG ago. Anything from the era or bright, full colour technology feels closer in time.