Just don't do it (if you don't want to)
Javascript is going through a rash of change and innovation currently! There are
so many frameworks to choose from Backbone! Angular! React! Vue! Angular2? Angular4? or
is it 6? Don't forget the build tools to make sure everything works in all those browsers:
Grunt vs Gulp, Browserify vs Webpack. Also make sure you use TypeScript too otherwise
you might as well be using jQuery!
It can honestly be too much for me to want to think about, let alone use all the time.
Not that I hate on people who love
Javascript!
There is a lot to love. It's a great entry way for people into software engineering
and does actually power most of the web we use everyday. But that's not to say you
have to love it! I've definitely been hit by decision fatigue and found setting up
javascript side projects to be so over-complicated that I forgot what I was doing and started watching
YouTube.
That's not to mention all of the times I've been bitten by subtle quirks of the language
in production environments. This will probably serve to shame me more as a dev than illustrate
my point but
null == undefined
// and
null === undefined
evaluating to different values is truly absurd. This
talk
by Gary Bernhart highlights some more absurdity with more than a chuckle along the way.
But I'm not saying anything new here.. everyone knows every serious dev eschews javascript
for strongly-typed, serious languages like java, go & rust. Well.. you could if you wanted to!
But for this project it seemed like overkill. I chose to write this in flask and bare bones html & css.
It's fun for me to work with and allows me to do what I want fairly quickly
and efficiently.
At the end of the day javascript might just make you happy and productive and that's...
fine I guess.
P.S.
I do use one javascript library for syntax highlighting. Whoops!