I worked for a few years at an agency that adhered very closely to these principles, and you know what? When things started to rapidly change around 2013 everyone was consumed and overwhelmed, and when it came time to necessarily onboard them on new technologies such as build systems, css preprocessors and the like, the skepticism was so profound, and caused such a problem for those of us looking to make everyones li…
The boring front-end developer
131–140 of 149 posts
Re: The boring front-end developer
#132A nice thought, but front-end tools are not really mature enough to be boring, sorry. I mean one could credibly say "oh I'm so boring, I use jQuery everywhere" but... that's not actually going to be a boring development experience. It will be exciting, in the bad way.
Re: The boring front-end developer
#133Earlier quoted context omitted.
Honest question, what's wrong with SPA?
The author write and linked to an article on the downsides. While I haven't read it, I do rage every time I click on a link to a Blogger.com-hosted article and watch some fucking Blogger logo animating as they load a web app to show me some static text. There’s no need for anything to load before showing me the blog page. The experience has been degraded and made more fragile, not enhanced.
Re: The boring front-end developer
#134Earlier quoted context omitted.
Honest question, what's wrong with SPA?
If people disable JS or if it fails for whatever reason, you'll be left with an unusable site. If fonts don't load or if css doesn't load, at least you still have html and you could read what's on the screen. With JS you won't even be able to navigate to pages since it all gets handled with js. That and it often has more to load than your traditional html/css page, which means a less pleasant experience on slower con…
Re: The boring front-end developer
#135Good article, I agree with a lot of this, but I can't help myself from commenting. >>> When given the choice to add a preprocessor (e.g. LESS, SASS, CoffeeScript etc) to the technology stack, the BFED realises there is a deeper impact beyond just "writing less code". Will it be harder to onboard developers? Will debugging code be more difficult? If the answer to any of these questions is yes then the BFED will say no…
people act like once you get the team on board it will all start rolling, EXCEPT that there are a lot of projects where people come and go, people are temp, permanent and everything in between, changing constantly. Of course there's documenting right? Except you document and do this fantastic job training but when it's all set and done, technology has moved on when the project wraps and there's already something bett…
Re: The boring front-end developer
#136"The BFED will carefully select third party code based on the quality of the code itself by reviewing source code, not based on the popularity of said code. He/she favours reliability over popularity every time." The power of popularity should not be underestimated, there are very large and powerful network effects that popularity brings to the table. Popular code -has more tutorials/blog/books written about it -has…
Re: The boring front-end developer
#137Earlier quoted context omitted.
Hmmph, indeed. However, it is a much simpler conceptual model than doing it w/ javascript off in some jQuery onLoad function: web requests just hit URLs like they always have, download HTML content like they always have and swap it into a rectangle, like they always have. It's just that the rectangle doesn't necessarily have to be the entire screen like it always has. The behavior of a given bit of HTML is fairly loc…
I think you will like Angular.
Re: The boring front-end developer
#138WISYWIG UI builders that are slowly picking up momentum will eventually end up commoditizing this role. There will come a day when a product designer can just create the UI from mockups, generate tested, clean plumbing code much faster and more reliable than getting a front-end developer to do it. I would start learning to get proficient with upcoming UI builders and whichever framework it ends up supporting (most li…
Re: The boring front-end developer
#139Earlier quoted context omitted.
I think the idea of reducing lines of code as a means of success can go too far. Sure, you can squeeze that block of code down a few dozens of lines of code, but then how hard is it to follow along behind you and deduce your intentions? You may be saving something today to just be needlessly spending it tomorrow.
I think it makes more sense if you see lines as an indicator for the thing you'll really want to minimize, which is the complexity of the model and/or instructions you describe in the lines. To use a somewhat skewed analogy, imagine you want to tell directions to a foreigner. One possible answer could be "Go 200 meters west, then go 100 meters east, then go 100 meters south". The route that this answer describes is n…
I'm speaking more about what happens when you go too far and someone else has to deal with it. Let's say the simplest, and still descriptive, directions are:
go down Main Street
turn left at Oak Street
turn right at Acorn Lane
fifth house on the left
versus: go that way, left at Smith's, right at Taylor's, brick house
The second is an example of refactoring to reduce line count but actually increases complexity to someone not familiar with the area.Re: The boring front-end developer
#140Earlier quoted context omitted.
I think the idea of reducing lines of code as a means of success can go too far. Sure, you can squeeze that block of code down a few dozens of lines of code, but then how hard is it to follow along behind you and deduce your intentions? You may be saving something today to just be needlessly spending it tomorrow.
It's almost never taken too far, so generally speaking, this argument doesn't carry much weight. Also, at a few dozen lines per block, you could keep going a long way!