r/programming • • May 15 '15

A website coding itself live

http://strml.net
4.9k Upvotes

418 comments sorted by

View all comments

Show parent comments

160

u/AbstractLogic May 15 '15 edited May 15 '15

Boy I hate it so much. But I really love pretty graphics and cool design. But my spite for front-end is never ending... maybe I need to just write my own little pretty site so I don't have to worry about BS corporate hack-n-slash deadlined garbage front-end where everything is stored in 1 JS file with no namespaces.

11

u/[deleted] May 15 '15

I was a .net and C++ developer before, and as someone who really got serious into front-end dev 2 years ago, at that point I would have first described the field as "pretty graphics and cool design" as well. I had no respect for what the good front end devs were doing, but when I realized the problems being solved by devs I used to think were essentially dumbasses who wrote CSS, were more challenging than most of the problems solved by the devs writing our APIs, that quickly transformed into a state of awe.

I basically shit my pants when I realized the scope of responsibility and the challenging problems being solved in javascript and with modern front end frameworks. With SPAs becoming the norm, it really is a challenging and super fun field to work in. I'm a full-time front end dev right now, and honestly pretty graphics and design are the absolute last of my worries on a day to day basis. My job is about managing an application's state, routing, where and when to interact with an API, the deep nesting of its views, and basically managing a flow of data in a sane way that avoids the jQuery noodles of 5 years ago. Making engineering decisions that avoid falling into quicksand in this landscape of 10 million frameworks a day is essential as well.. Its a lot to learn, but ts fucking awesome, and so much fun! And yes, it does also require a sense of interface design and polish which just makes it all the more satisfying for me.

2

u/AbstractLogic May 15 '15

I respect where the front end world is trying to go. But javascript just doesn't have enough forced structure or even more to the point it is virtually impossible to enforce structure unless you do a gazzillion code reviews. The thing I like about .net (or OO in general) is the "open for expansion closed for modification" principal. That is impossible to implement in javascript so its a wild west environment.

I appreciate and have aw for front end teams who know how to organize and strive for frontend code structured like its backend. But 98% of the frontend dev I have ever come across is not even a glimmer to the structure of the backends. I respect what the do... it's just not something I am aiming for.

2

u/[deleted] May 15 '15

Sorry, but you're wrong about JavaScript here. there are standards, read Douglas Crockford's JavaScript: The Good Parts.

Yeah, it's easy to write shit JS and it's easier to write shit JS than it is shit Java or C++. But bad code is bad code and blaming JavaScript for it is sort of like blaming the hammer when you're the one that hit your thumb with the hammer.

2

u/Astrognome May 15 '15

It's like blaming the hammer that has 100 different heads, and only one is correct.

2

u/[deleted] May 16 '15

the hammer doesn't have 100 different heads. I can hold the we upside down and still hit a nail on the head - it doesn't mean it's right. it's a misuse of the tool. you're still blaming the tool but should hold the actual developers accountable. they're the ones that don't bother to find the GOOD standard sources on JavaScript like (again) Douglas Crockford's JS the good parts, etc.

→ More replies (2)