3 ms·
I was always a JS hater. I mostly work with python these days, but JS is required for UI development. Since I am targeting internal apps where we control the
by jacob019 8y ago
I was always a JS hater. I mostly work with python these days, but JS is required for UI development. Since I am targeting internal apps where we control the browser, I get to use the latest ES6 features without polyfills. I have to say that JS has come a long way, and some of the latest features are pretty awesome. Requests is so much more pleasant to work with that the old XMLHttpRequest, imports are great, the fat arrow has made my life so much easier, and the modern reactive frameworks are amazing. Sometimes I find myself wishing we had certain things in python, the regex syntax is more elegant and doesn't feel like a hack. And compared to Python, concurrency takes less effort. It's certainly easier to write spaghetti code in JS, but you can write bad code in any language. It's truly amazing what a flexible computing environment the modern browser has become.