DEV Community

Discussion on: Why Everyone Is Fighting About CSS/UX and JS

Collapse
 
tracker1 profile image
Michael J. Ryan • Edited

I've been working on web applications since Netscape 2 was supported in the mid 90s. I was a fan of JavaScript before the good parts book. I was even a fan of aspx for a while.

Today, there are times I'll push a simple page and plug in something like jQuery and Bootstrap to get something out.

That said, I prefer modern tooling with React and CSS in JS. I also feel it's useful to publish source maps. Hiding source is not security.

In the end I've been in all sides of these arguments. I've been labelled all of the titles discussed and it comes down to the person and roles in the company. I also worked with "UX Engineer" titled people who didn't write code at all.

The arguments all have some merit and are all mostly useless. I write code with an emphasis on discoverable and maintainability in a feature-component hierarchy. That doesn't mean conforming to a given framework or patterns specifically. It means being able to find the piece you are working on and the places where it's connected into a larger application.

I think jsx, redux/graphql and jss are better fits than most other options. If it's mostly content delivery, then a good server platform is often better.

I also tend to reach for JS/node first on the server. No, it is not the best at anything server side. But it is good enough for almost everything with a lot of flexibility and less disconnect to the front end than pretty much everything else.

Collapse
 
rickrogahn profile image
Rick Rogahn

You had me until you mentioned node :). Call me crazy, but it feels like the only reason node is a thing is because JS devs didn't want to learn a new language :). Sorry, must just be in a 'stir the pot' mood tonight.

Collapse
 
tracker1 profile image
Michael J. Ryan

Node is definitely not the only thing I use. That said, in Windows Linux and Mac, when UI development is happening, node is there.. that means I can write scripts for tasks and orchestration that will work on all three platforms with minimal issue and without more complicated tooling.

It's more a matter of convenience. There's also bash generally, which I also used a lot, but the implications in Windows are different.

Compiled languages are fine for server only applications and backend servers, but there's less wait for a quick change on a script.

I also have been meaning more heavily on docker lately as well.. again to minimize my own impact across platforms. Docker desktop on Windows and Mac are close enough with a couple gotchas, but generally minimizes the disconnect on differing systems

Collapse
 
squidbe profile image
squidbe

That's a reason that node became a thing, but taking advantage of the JS event loop was also a (good) reason.