TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why Is Front-End Development So Unstable?

382 pointsby njnalmost 7 years ago

53 comments

meredyddalmost 7 years ago
Web frameworks are churn-y because they are incredibly leaky abstractions covering really awkward impedance mismatches. This means that they are never quite satisfactory - and that just to use one, you need to be capable of building a new one yourself.<p>Think of a typical web app. Your data exists:<p>1. As rows in a database, accessed via SQL<p>2. As model objects on the server, accessed via method calls and attributes<p>3. As JSON, accessed via many HTTP endpoints with a limited set of verbs (GET&#x2F;PUT&#x2F;POST&#x2F;DELETE)<p>4. As Javascript objects, accessed via (a different set of) method calls and attributes<p>5. As HTML tags, accessed via the DOM API<p>6. As pixels, styled by CSS.<p>--<p>Each time you translate from one layer to the next, there&#x27;s a nasty impedance mismatch. This, in turn, attracts &quot;magic&quot;: ORMs (DB&lt;-&gt;Object); Angular Resources (REST&lt;-&gt;JS Object); templating engines (JS Object&lt;-&gt;DOM); etc. Each of these translation layers shares two characteristics:<p>(A) It is &quot;magic&quot;: It abuses the semantics of one layer (eg DB model objects) in an attempt to interface with another (eg SQL).<p>(B) It&#x27;s a terribly leaky abstraction.<p>This means that (a) every translation layer is prone to unintuitive failures, and (b) every advanced user of it <i>needs</i> to know enough to build one themselves. So when the impedance mismatch bites you on the ass, some fraction of users are going to flip the table, swear <i>they</i> could do better, and write their own. Which, of course, can&#x27;t solve the underlying mismatch, and therefore won&#x27;t be satisfactory...and so the cycle continues.<p>Of these nasty transitions, 4&#x2F;5 are associated with the front end, so the front end gets the rap.<p>(I gave a lightning talk at PyCon two weeks ago, about exactly this - stacking this up against the &quot;Zen of Python&quot; and talking about some of the ways we avoid this in Anvil: <a href="https:&#x2F;&#x2F;anvil.works&#x2F;blog&#x2F;pycon18-making-the-web-more-pythonic" rel="nofollow">https:&#x2F;&#x2F;anvil.works&#x2F;blog&#x2F;pycon18-making-the-web-more-pythoni...</a>)
评论 #17194466 未加载
评论 #17193818 未加载
评论 #17194387 未加载
评论 #17195390 未加载
评论 #17194098 未加载
评论 #17195883 未加载
评论 #17193667 未加载
评论 #17196021 未加载
评论 #17197039 未加载
freedombenalmost 7 years ago
This is a really well-written and well-thought out piece. The author touches on a number of points but never gets polemical. This piece resonated with me particularly well:<p>&gt; <i>Be wary of self-promotion</i><p>&gt; <i>Over the last few years I’ve seen much more aggressive self-marketing in the JavaScript world, possibly due to the rise of paid online training materials and the employment&#x2F;consulting advantage of being a Github ‘celebrity’. I’ve no problem with people being incentivised for good content, but increasingly I feel I see dishonest tactics: self-citation; invented, proprietary terminology (so searching takes you back to the author’s materials), and name-squatting (e.g. ‘Standard.js’)</i><p>This is becoming a big problem in JS world, particularly over the last 3 to 4 years. Like the author, I have no problem with people taking credit and being respected, but we as a community are becoming much too centered around people&#x2F;personality than technology. I&#x27;ve been guilty of this in the past too (love you Pete Hunt ;-) but it&#x27;s not healthy IMHO.
评论 #17191702 未加载
评论 #17191862 未加载
评论 #17191591 未加载
评论 #17193542 未加载
underwateralmost 7 years ago
Calling out Vue.js as a possible solution is hilarious. Selling a trending technology as a silver bullet is exactly the problem he complains about in the article.<p>Comparing the development methodology of Facebook - the company behind React - and this mindset is illuminating. Facebook famously rewrote PHP and added extensions like XHP rather than start their codebase from scratch. React follows a similar philosphy. It can be incrementally introduced into a codebase without radical rewrites.<p>These lessons are largely ignored in the open source community, where everyone will gladly tell you how your tech is all wrong. This is actually really easy to avoid. Just focus on solving the problems you have and only adopt technology that is relevant to you.
评论 #17192108 未加载
评论 #17193671 未加载
评论 #17195499 未加载
_bxg1almost 7 years ago
At some point, when modules get &quot;micro&quot; enough, the effort of managing them and learning their usage outweighs the effort of implementing the thing yourself. Most JavaScript projects seem to walk that line quite closely.<p>I&#x27;m a React developer at work, but I recently gave Vue a try at home. This is one of the things that most stood out to me about it. React makes a selling point out of the fact that it&#x27;s &quot;just rendering&quot;. It doesn&#x27;t try to do everything for you, it tries to do one thing really well. That sounds great, but it leaves out a factor. Having your primary framework be &quot;simple&quot; and &quot;lean&quot; doesn&#x27;t translate to your project being simple and lean, because your project still needs all that other stuff. You just now have to get it from somewhere else, which often adds more complexity than it&#x27;s worth.<p>When I downloaded Vue all I had to do was add a script tag to my HTML document and start writing a modern reactive UI. No other modules or frameworks. No build system. No special JS-targeted languages. Vue does everything you need, and it does it all pretty well, and sometimes that&#x27;s more valuable.
评论 #17193647 未加载
评论 #17194309 未加载
评论 #17197256 未加载
评论 #17194281 未加载
评论 #17194063 未加载
评论 #17195103 未加载
ggregoirealmost 7 years ago
Sorry but I find font-end development pretty stable.<p>Having to learn a new library every 3-4 years (because of a new job, generally) is it really a big deal?<p>In my career I also had to learn Java, PHP, C#, Node.js, bash, batch, Python… Build apps with Spring, CakePHP, Symfony 1 &amp; 2, ASP.NET MVC 3 &amp; 4… Query database with Hibernate, Entity Framework, Linq SQL… Handle dependencies with Maven, Nugget… Store data in Postgres, MySQL, SQL Server, Mongo, Redis, Redshift… Host on OVH, Digital Ocean, Heroku, AWS… Learn REST and GraphQL, SVN and Git, Linux and Windows Server, Vagrant and Docker… And according to HN, what&#x27;s really hype right now is Rust, Go, FoundationDB, Kubernetes, and so on…<p>Any idea why back-end development is so unstable? :)
评论 #17195407 未加载
评论 #17196067 未加载
评论 #17193859 未加载
评论 #17195756 未加载
评论 #17196012 未加载
perlgeekalmost 7 years ago
&gt; 2.5 years for the youngest isn’t that old in the scheme of things - it’s less than half the support lifespan of your typical desktop OS, for example - but it’s still a ways off our caricature.<p>Let&#x27;s compare it with some server-side technologies:<p>Python&#x2F;Django: 2005<p>Python&#x2F;Flask: 2010<p>Nginx: 2004<p>Perl&#x2F;Catalyst: 2006<p>Maybe I&#x27;m biased towards older software, but the difference to the popular frontend stuff is striking.<p>The only thing in the frontend with a comparable history (that I can think of) is jQuery -- and I still use it today, but it seems many developers frown upon it these days. And it&#x27;s a library, not a framework.
评论 #17191548 未加载
评论 #17191551 未加载
评论 #17191598 未加载
评论 #17193591 未加载
评论 #17191531 未加载
评论 #17191502 未加载
评论 #17198047 未加载
dhruvarora013almost 7 years ago
I&#x27;d actually say that its less about instability and more about rapid experimentation. There&#x27;s two main catalysts - the youth of single page web apps and the openness of the modern web.<p>The complexity of your everyday website is increasing as they move from static sites to web apps. The pressure to be as responsive and fluid as a mobile app is high, and that requires solutions for data management and synchronicity. There is no standardized way to solve these yet.<p>When you tie this increasing complexity with the free-form structure of the web (there is no recommended way to build a web app unlike mobile apps or to a lesser extent desktop apps), and then add the growth of JavaScript from a toy language to a full-blown complex ecosystem, you get even fewer established practices.<p>This is not to say that there will never be best practices but rather that what you&#x27;re seeing is a language scaling with its needs without having a central dictatorial entity at its helm. You&#x27;re seeing unprecedented growth and that can easily be confused with chaos and instability.
评论 #17197867 未加载
评论 #17197863 未加载
keylealmost 7 years ago
It&#x27;s also very unstable and young because requirements keep moving, and developers keep figuring out more &#x27;auto-magic&#x27; and simply better ways of implementing UIs.<p>UI used to be simple, a page, a few links, click through to other pages. Then we needed templated pages, because we had a lot of pages.<p>Then full blown &#x27;applications&#x27; were ported to the web, and life was a nightmare of double-headed dragons and dark holes with pikes. Jquery provided some help here but it was more in terms of nuts and bolts, than as an architecture.<p>Then came all the MVC libs which really helped enforcing a structure for large apps.<p>Then came Angular and all of its madness, but a positive step ahead, giving us usable SPA.<p>React brought some sanity back and now Vue (in my opinion, don&#x27;t shoot) brings the sanest&#x2F;cleanest way forward.<p>My guess is what we do on the web will change once again, in a few years, and we will throw all that out and start again with new framework. Whether it will be in AR or still on the web, there are still many problems to solve.<p>E.g. the whole &#x27;responsive&#x27; thing.
评论 #17194033 未加载
dustingetzalmost 7 years ago
It&#x27;s because of all the icky data-sync for the client&#x2F;service round trips. An async, slow, failure-prone concern wired throughout the entire codebase. I&#x2F;O hurts everyone in subtly different ways and it&#x27;s hard to solve so you see a lot of churn.<p>service&#x2F;database has this problem too (the ORM flamewars of the 00s) but to a much less degree because it is in a happier place on the latency chart: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;jboner&#x2F;2841832" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;jboner&#x2F;2841832</a>
评论 #17191735 未加载
评论 #17191881 未加载
评论 #17191683 未加载
评论 #17191886 未加载
pavlovalmost 7 years ago
This part puzzles me:<p><i>&gt; &quot;Put yourself in the shoes of a junior-to-mid-level JavaScript developer, writing a new application for the first time.</i><p><i>&gt; &quot;It starts innocently enough. You have a completely clean slate and want to keep things simple. You are a devout Agilist and YAGNI is your watchword. So you begin with a ‘simple, barbones framework’. That sounds good, doesn’t it? (Even if it did not, that’s often the only choice you’ve got).</i><p><i>&gt; &quot;Being barebones it does little, so the task falls on your shoulders to choose some helper libraries. If you are doing frontend work, it might be helpers for Redux for forms and API requests. If backend, it might be middlewares for Express.&quot;</i><p>Why is the default answer to the problem of &quot;it does little&quot; to &quot;choose some helper libraries&quot;? Shouldn&#x27;t it be: &quot;I&#x27;ll write some code to make it do more&quot;?<p>Why does this first-time app developer need Redux? Why would she need a helper for Redux to do API requests? These days you can just call fetch() — it really doesn&#x27;t get any easier.<p>All the APIs that one gets in the browser or in Node.js are already very high-level and easily understandable by entry-level developers. If anything, piling more leaky abstractions on top will just make things more complex. How did it happen that junior JavaScript developers feel so insecure about using the standard stuff?<p>Maybe it&#x27;s because more senior developers have spent two decades crapping on the standard stuff. Therefore, as a self-appointed spokesperson for the veterans, I hereby grant all junior JavaScript developers full permission to just go ahead and program whatever they want without having to look for a single library or creaky build tool — and they shouldn&#x27;t feel bad about it in the least.
评论 #17191914 未加载
评论 #17195979 未加载
donkeydalmost 7 years ago
&gt; Imagine being a junior developer<p>The junior developer has it easy. Imagine being the tech lead for a startup that has to pick the framework that&#x27;ll be used to build an application that needs to e maintained and that they&#x27;ll need to hire developers for to maintain.<p>I was this person, I made a choice and now every single person is casting doubt on it. The choice wouldn&#x27;t have even mattered, It&#x27;s near impossible to find experienced front-end developers of any kind right now and everybody will always ask &quot;why not [this framework I&#x27;m familiar with]?&quot;
spankaleealmost 7 years ago
Asking this question without looking at the underlying platform is ignoring a huge source of insight into the problem and its solutions.<p>Growing up from a document viewer to an app platform in the particular way it did left the web as the most important and ubiquitous GUI app deployment and runtime platform, but without a dev-accessible native GUI component system. No other major modern UI platform was _ever_ in this state.<p>This left all the work of creating the most basic widget system to userland, while at the same time the platform&#x27;s features available to that userland were relatively paltry to begin with. As those features of JavaScript and DOM grew, frameworks were released frequently because newer ones were designed to take advantage of newer features. This lead to a huge amount of fragmentation.<p>Which brings us to now. Outside of threading, the runtime features are much more suitable to an app platform now, and finally the web has a native UI component system in Web Components. I think there&#x27;s one or two more big shifts ahead of us toward Web Components and better utilizing Workers, and then things will settle down because we&#x27;ll finally all be using the same platform features. Even if we still have opinionated and helpful layers on top, the foundation will be more stable and standardized.
评论 #17193785 未加载
tenaciousDanielalmost 7 years ago
I was exhausted by front end development, so I thought I&#x27;d try something new. I ended up first looking into AI, and then into Blockchain.<p>Long story short, I have run back to the relatively calm and serene world of the front end, with my tail between my legs.<p>The front end may be moving quickly, but in the grand scheme of larger technological change, it&#x27;s far more stable than we give it credit for.
patorjkalmost 7 years ago
&gt; What is to be done? ... Consider non-microlib architectures<p>What about what happened with Angular (1), the 3rd library on your list? That whole framework was deprecated in favor of Angular (2). Additionally, the list of front-end libraries given doesn&#x27;t really reflect the landscape front-end devs have traversed.<p>Years ago, I remember working on an app that heavily relied on YUI around the time that library was shutdown. I also heard stories about how ExtJS 4 wasn&#x27;t backwards compatible. I&#x27;m not sure I buy into the author&#x27;s thesis about the reason for front-end fatigue.
评论 #17196093 未加载
评论 #17194450 未加载
ruskalmost 7 years ago
I think the quality standard is different.<p>Front end has to &quot;look good&quot; and be &quot;good enough to use&quot;. Little finnicky errors are often tolerated as a user can be expected to work around a certain issues. Since issues can be quickly spotted code hygiene and rigorous software quality practices aren&#x27;t as important. Also, performance and resource utilisation aren&#x27;t as important, to a degree anyway.<p>Back-end, unsupervised, or high-performance code on the other hand is largely invisible to the end user. It has to run for long times without error and if something goes wrong can be tricky to get at, diagnose, and repair.<p>These requirements demand a higher level of code-hygene. Coding standards, logging, documentation, automated testing etc. etc. which makes developing this kind of code much more expensive than you would expect for something that you ultimately &quot;can&#x27;t see&quot; (unless something goes wrong).<p>I&#x27;ve seen organisations struggle with this dichotomy where they&#x27;re trying to do both without appreciating these distinctions. Product managers getting annoyed that it takes so long to get GUI changes in, while engineers getting annoyed that their (necessary) tech process overhead often gets shorted because &quot;it doesn&#x27;t add value&quot;.<p>You can get away with taking short-cuts on the front-end, that you can&#x27;t get away with elsewhere but ultimately this leads to a messy, unwieldy codebase with mountains of tech-debt and once you get to a certain point it makes sense to just throw it out and start it again.<p>Though &quot;starting again&quot; is considered to be something you should never do [0] with front-end stuff it&#x27;s a little easier to get away with because, like I say it&#x27;s all visual, and a good bit easier to test and play with and tease out the subtleties.<p>[0] <a href="https:&#x2F;&#x2F;www.joelonsoftware.com&#x2F;2000&#x2F;04&#x2F;06&#x2F;things-you-should-never-do-part-i&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.joelonsoftware.com&#x2F;2000&#x2F;04&#x2F;06&#x2F;things-you-should-...</a>
评论 #17196649 未加载
kuonalmost 7 years ago
I work with elm now for frontend. It has often been criticized for being too conservative and slow paced in its development. But the result is that code is easier to maintain, libraries have a great quality and most of the time there is only one, obvious, way of doing something.
评论 #17191577 未加载
0xcoltonalmost 7 years ago
Having worked as a frontend dev for a while, my observation is this - because the UI is closer to the user, and closer to the product side (for consumer-facing apps), it has faster iteration cycles, doubling or tripling the rate of technology decisions that are made.<p>You&#x27;d never rewrite an API twice in a year, but maybe you&#x27;d rebuild your site or interface that often, if you&#x27;re responding to users.<p>With increased demand for tools comes more supply - more libraries and frameworks with more stars and follows.<p>The reason we don&#x27;t see this in the mobile world is because it&#x27;s a much more closed ecosystem - there&#x27;s no open spec for mobile like there is for browsers.
评论 #17193865 未加载
jonnytranalmost 7 years ago
Yes, no one takes the time to research. Most popular does not equate to good.<p>I took the time to do the research back in 2013 and found that Ember basically solves all the problems OP talks about. Tom Dale, one of the creators of Ember, blogged over a year ago [1] about how Ember has been around since the days of Backbone. As the years rolled on, other frameworks became obsolete, but Ember evolved (with sane upgrade paths) and is still relevant.<p>1: <a href="https:&#x2F;&#x2F;tomdale.net&#x2F;2017&#x2F;04&#x2F;making-the-jump&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tomdale.net&#x2F;2017&#x2F;04&#x2F;making-the-jump&#x2F;</a>
tzsalmost 7 years ago
There is an interesting take on this by a Reddit user named &#x27;jerf&#x27; over on the Reddit discussion:<p><a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;programming&#x2F;comments&#x2F;8n00k2&#x2F;why_is_frontend_development_so_unstable&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;programming&#x2F;comments&#x2F;8n00k2&#x2F;why_is_...</a><p>I think this is the same as the HN user &#x27;jerf&#x27;, but am not certain.
评论 #17192041 未加载
tribbyalmost 7 years ago
well, ever since the proliferation of mobile touch devices (it&#x27;s been less than a decade) there&#x27;s been this somewhat perverse history of &quot;mobile-first&quot; really meaning &quot;native-first.&quot; tons of mobile websites are still essentially ads for their counterparts in app stores. this is for lots of reasons (mostly to do with financial incentives for both app makers and app stores), but ultimately the web still isn&#x27;t as good as native. the chaos of the front-end world is a reflection of web developers trying to solve that, rather than those working on operating systems, web browsers, standards, etc.<p>the other reason is that vue hasn&#x27;t be around very long ;)
andrewstuartalmost 7 years ago
It&#x27;s unstable because there are millions of developers working with front end technologies and that community is rapidly finding better ways of doing things.<p>And when better ways are found, because development is so time consuming and difficult, people move to embrace those new and better ways.<p>I&#x27;m glad of the rapid change because there is alot more improvement needed at the front end.<p>Consider for example the vast amount of crushingly complex configuration that is required for many front end development tasks - this is yet to be addressed, although giant leaps have been made - such as create-react-app - thank god.<p>JavaScript has to become &quot;zero configuration&quot; to the greatest extent practical, and JavaScript programmer should dump configuration heavy tools as soon as they possibly can for zero configuration tools.
评论 #17196323 未加载
chauhankiranalmost 7 years ago
I know that the star is a de-facto way to calculate the popularity of particular repo. But, let me put aside this calculation for a moment, then I myself have stats around 250 repos and more than 40% of it, I have starred just because to refer it sometime later, not because I like it or love it, just for future ref., when I have to work on something that might need help or ref. from that particular repo.<p>So, if there is something that have a way bookmarks the repo then chances are hight these repos have lesser stars. Also, there is popular trend nowadays I see that 100 other developers have starred one repo for some particular reason that chances are hight that other 5 developers might star it because they just follow the developer, who have starred.
EvanYoualmost 7 years ago
FWIW, the GitHub age isn&#x27;t entirely accurate because both React and Vue had major rewrites and the current default branch doesn&#x27;t hold the entire development history. Vue&#x27;s first public release was Feb of 2014 and React is just celebrating its 5th birthday.
评论 #17191888 未加载
freedombenalmost 7 years ago
I do wonder how much of the instability relates to the strong opinions that the JS community often has (I&#x27;m guilty of this too). Any broad stereotype is going to be wrong a lot, but it does feel like JS devs on average are a lot more opinionated about the way things ought to be. They are also more disgusted and unhappy working in codebases that don&#x27;t conform to their standards.<p>I truly don&#x27;t mean this as a bad thing, in fact I put myself in this category. Obviously it <i>can</i> be a bad thing if it causes you to be unable to work with others, but it can also make for elegant, consistent, and hackable codebases that boost productivity and minimize bugs.
carapacealmost 7 years ago
Programming industry is the only one more fashion-driven than the fashion industry. This is a known issue going back to the dawn time.<p>The big secret is that for most of us this is &quot;works as intended&quot;. We <i>like</i> to program. Imagine being a mountain climber who loves climbing and gets paid (well!) to climb mountains. With real mountains, eventually you get to the top and you have to stop. With programming, the act of climbing the mountain creates more mountain above you. As long as you can find people to pay for it, you can keep climbing.<p>If you like programming please shoosh so the marks don&#x27;t get wise.<p>If you just want to get shit done use Elm-lang and get on with your life.
评论 #17191927 未加载
评论 #17191915 未加载
Achsharalmost 7 years ago
I always find it curious that almost no one is talking about not using a framework to begin with. I have been writing complex UI with vanilla js for some time now, never had any issues or took longer than I expected to get a job done.
评论 #17194132 未加载
hajilealmost 7 years ago
The real complaint right now should be Babel v7 -- or more specifically, the community around it. Babel v7 has been in development for quite a while. It&#x27;s still changing and isn&#x27;t even a RC yet.<p>I understand the need to test new compiler builds, but production isn&#x27;t the place to do that (especially not until a RC is released). A beta designation is meaningless if its used as though it were just a normal production release.<p>Using a beta compiler in production tools, libraries, etc shows EXTREME inexperience. I have a number of dependencies that I cannot update because the new versions rely on various v7 builds (ranging from ancient alphas to bleeding edge betas).<p>I suspect the issue is that most JS dev teams are small with projects small enough that edge cases are uncommon and easier to find and fix.<p>Stackoverflow dev survey shows that the average US dev is 28.7 (down from 31.6 in 2015) with an average of 10 years of experience despite 58% having less than 5 years of experience.<p>That means that on average, you have a very young team. Further, the vast majority of teams most likely do not have ANYONE with more than 5 years behind them. It&#x27;s not surprising that such things aren&#x27;t recognized for the disaster-in-the-making that they are.<p>Web technologies have settled down and stabilized dramatically over the past 3 years. I suspect that as more web devs gain more experience, we&#x27;ll see this continue as rashness is replaced with a more conservative approach.
player2121almost 7 years ago
To me this attributes more towards general evolution of the browsers which naturally leads to more complex requirements for the modern web-app. I remember that in 2010, when we started re-writing our desktop apps during our transition to web, the initial requirements were such that it was still possible (although very hacky) to use the latest version of ASP.NET. Then 6 months later we received a new set of requirements which rendered this _latest_ stack useless. We literally had people sleeping under the desks pulling all-nighters trying to transfer a session state between browser and server without dropping an egg. That&#x27;s was around time when backbone.js came out.<p>If we compare the things that browsers can do _now_ with what was possible 5y or 10y ago, no wonder why we have so many new frameworks. Browsers are trying to catch up with (or even replace) an OS as a main container for running an application and because it&#x27;s hard to release all features _at once_ without agreeing on standards, we have a situation when people have to choose a new library each time a new major API&#x2F;feature is available. And this what I see is the main reason why `front-end development is so unstable`<p>WebAsm is coming which will again lead to yet another huge re-write.
apialmost 7 years ago
Three reasons I think:<p>(1) The closer you get to the front end (especially GUIs), the further you get from algorithms and other mathematical certainties and the closer you get to something that&#x27;s more a matter of design and fashion. People get tired of GUIs looking and feeling a certain way and they change, and that often requires a code re-work because changes in GUI look and feel can break previous abstractions.<p>(2) Form factors and display technologies change. Mobile completely annihilated 30 years of GUI work for example. To a lesser extent high-DPI screens have done a number on some older GUI systems. The stuff under the hood changes too but more slowly and in less fundamental ways e.g. an SSD is mostly a &quot;disk&quot; from an abstraction point of view even though the tech is wildly different. Command lines are fundamentally unchanged since the 1970s. VT emulations have become more advanced but the basic paradigm is incredibly stable.<p>(3) GUIs look deceptively easy but in reality they&#x27;re incredibly hard. A modern GUI layer is at the same level of complexity as a modern game engine like Unreal. The list of edge cases and layouts and modes and languages and interaction metaphors and input devices and so on and so on you have to support is very long. Software engineers routinely underestimate this difficulty and try to re-invent GUIs and GUI abstractions in a quest to be clean and small and simple. They&#x27;re then forced to shoehorn everything a modern GUI requires into these clean and simple abstractions, breaking them and turning them into overloaded monstrosities. Simple clean systems get ugly when you try to extend them too far. A more elegant design could be achieved by starting with the premise that the problem is big and hairy and developing heavier and more flexible abstractions accordingly.
throw2016almost 7 years ago
There are a set of converging interests causing pain in the ecosystem. First a company promoting a project, then people hoping to provide services, consulting or training, and third people hoping to get a job or padding their current resumes.<p>None of these people have a particular interest in the technology or its merit, its anything they can make money or benefit from and then forums like HN and others are used to aggressively push out these technologies.<p>By the time people start catching on about flaws, over-engineering or needless complexity the latter 2 groups have already moved on to something new. Rinse and repeat and HN is very much a part of this.<p>There is very little tolerance for skepticism and proper scrutiny of anything &#x27;new&#x27; and in the hype train. These are usually dismissed with ad hominems about &#x27;grey beards&#x27; or people &#x27;scared&#x27; of change. Since everything is so &#x27;new and cutting edge&#x27; there is no respect for any authority or experience and scrutiny becomes impossible. And since self interest is involved the arguments become needlessly charged.
评论 #17194378 未加载
chrisco255almost 7 years ago
I think this is a piece by someone who has not really been in front end web development as a career (or does not specialize in it) for very many years. The author&#x27;s thesis is that &#x27;poor choice architecture&#x27; is what drives churn in front end. I disagree. The churn in JS tech has reduced over the past few years.<p>Some of the churn was in part due to limitations of the web platform. ES5 was limited in features. The web has evolved a lot, and now we don&#x27;t need to depend on every framework re-inventing things like modules.<p>React has been around for 5 years now, and it&#x27;s still the dominant choice for front end architecture. This is not by accident. React solves some of the biggest challenges in front end development with a clean, minimalistic component API, a virtual DOM abstraction to minimize re-renders, JSX (still superior to underpowered template languages), and one-way data flow (which makes refactoring and state management easier). Also functional component model has implications that it can render to any target.<p>React is not just a web development innovation, it&#x27;s a UI innovation. There has never been a desktop UI framework with this much flexibility and power. You can target web, native mobile, native desktop, create custom canvas-rendering if you like, render to touch bar, VR, etc...no limits.<p>The author sort of implies that a one-size-fits-all framework or some standard way of doing things across all projects would lead to less frustration and less churn in the JS community.<p>We&#x27;ve seen many attempts at this (Ember, Angular, etc). The thing is, not all projects have the same needs. The web is a big place. There are simple web pages with mostly text content (and little need for JS) all the way to rich apps with interactive video, real time chat, dynamic graphs and complex customized data feeds for each user. There is no one-size-fits-all comprehensive framework that will ever meet those demands. For the easy projects, they&#x27;re overkill and for the complex, long-lived projects, you&#x27;re likely to beat your head against the limitations of the framework.<p>The innovation that has come in state management, style management, and component-based design in the past few years is unrivaled by any other UI community. I think the article is a surface level grasp at the situation. It implies that the JS community is spinning its wheels instead of producing solid long-lasting paradigms for application development. I disagree.
评论 #17194883 未加载
augbogalmost 7 years ago
&gt; Before we get carried away, it’s worth validating whether the meme really has basis in reality. Do front end technologies actually change that quickly?<p>&gt; In the sense of major view technologies, probably not. Consider this list of the highest ‘starred’ JavaScript front-end technologies on Github:<p>Seriously? So you&#x27;re basing front end technology changes based on stars on Github?<p>Also I think it&#x27;s wrong to say that front end technologies have &quot;changed.&quot; It&#x27;s just people have discovered better or just different ways of building things and that should be okay.<p>I agree with the portion how it can be overwhelming to a junior developer, but it is also easier in some ways. In truth, if you are a junior developer (or hell any developer really), your focus should be less on choosing the right technology and more on understanding what technologies fit what needs.
评论 #17195564 未加载
tw1010almost 7 years ago
&quot;Unstable&quot;, &quot;Issue&quot;, &quot;Problem&quot;. The opposite of the front-end world is not something to desire. Change means people are fixing problems and giving away their solutions for free. To desire less change means wishing fewer people gave away their work.
评论 #17198126 未加载
评论 #17191839 未加载
评论 #17191870 未加载
elcapitanalmost 7 years ago
The article is right about the frontend side, but I think it doesn&#x27;t look to good on the backend either. The actual code side (frameworks, libraries and languages) is relatively stable, but mostly because most of the complexity nowadays goes away from monoliths and into services, of which many are off the shelf, and plagued with the same issues as all the trendy javascript frameworks. Nosql-database du jour that solves some problems allegedly very efficiently, messaging systems, thousand ways to script infrastructure and virtualization.. the hype is not in the code and libraries, it&#x27;s in the infrastructure components, but that doesn&#x27;t make it any better.
tracker1almost 7 years ago
I do find a bit of the argument hyperbolic... My preference today is Koa + about 3-5 modules (including 1-2 custom) on the backend and React, Redux, Redux-thunks, redux-first-router and fetch (in most browsers) on the front end. For UI, will generally suggest bootstrap or material-ui (the library). create-react-app does take a lot of the guesswork out of the front-end.<p>In the end, front&#x2F;back-end tech grows at an incredible pace. Look at go, rust, .Net Core and a half dozen other options that sprung up in the past 6-8 years and all the frameworks around them. It isn&#x27;t new. Last generation(s) it was Python, Ruby, C#, Java and on, and on... this isn&#x27;t new.
kehrlannalmost 7 years ago
I believe classifying libs&#x2F;frameworks by number of stars is not enough ; &quot;when&quot; these frameworks got stars, or how many stars they got in the past 6 month, is probably important. Not sure jQuery or angular 1 got many stars lately...
评论 #17192016 未加载
rb808almost 7 years ago
This problem is way deeper than web front ends. There were&#x2F;are dozens of frameworks for Windows and Unix front ends too, before browsers were invented. Every year or two some new tool became popular which made all the previous ones obsolete.
评论 #17195104 未加载
PaulHoulealmost 7 years ago
Is there a difference between &quot;Medium&quot; and &quot;Self Promotion&quot;?
评论 #17194006 未加载
rossdavidhalmost 7 years ago
I give the author credit for thoughtfully trying, but not much of this seems to actually explain why it is Javascript that has this problem, more than Python or Ruby or Java or C#. The reason for Javascript&#x27;s excessive churn must, I think, be related to its most typical use case as a browser client-side language, and in particular to its use in single-page apps. The rest of it are all good points, but I&#x27;m not sure they explain why Python, etc. don&#x27;t have this problem (as bad, anyway).
tlrobinsonalmost 7 years ago
So here’s the thing... browsers are generally excellent at maintaining backwards compatibility (see “SmooshGate” for christsake). Old frontend frameworks still work just fine, therefore when you complain about frontend development be “unstable” you’re complaining about other people creating or adopting new frameworks&#x2F;tools. If these things really aren’t worth learning you are free to continue using the old ones.
评论 #17196068 未加载
brilloutalmost 7 years ago
OP mentions using a framework.<p>Alternatively to Next there is Reframe (<a href="https:&#x2F;&#x2F;github.com&#x2F;reframejs&#x2F;reframe" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;reframejs&#x2F;reframe</a>)<p>My main problems with Next is that it is<p>- not ejectable (and locks you in),<p>- not a universal framework (you cannot create an app that has a static `&#x2F;about` page but a dynamic `&#x2F;search` page. With Next your app is either all static or all dynamic.)<p>(I&#x27;m Reframe&#x27;s author.)
piinbinaryalmost 7 years ago
This offers a good explanation for why the most popular options are generally the ones that developers choose, but not why the thing that is currently popular shifts as fast as it does.<p>Why did React take the limelight while Angular fell out of favor? What caused that shift in what is popular?
评论 #17192076 未加载
Yaggoalmost 7 years ago
Front-end is the ultimate incarnation of Bazaar model.
nunezalmost 7 years ago
Because web browsers are so different, there are millions of ways of getting around it and most devs would rather make their own solutions
mseebachalmost 7 years ago
&gt; Put yourself in the shoes of a junior-to-mid-level JavaScript developer, writing a new application for the first time.<p>&gt; But how could you do better, Junior Developer? Who was there to guide you? The Senior Developers, too, are learning as they go. We’re caught in this avalanche too, just trying to keep up to date and remain employable.<p>No, this is exactly the problem: junior developers making major architecture decisions unassisted. The &quot;senior&quot; developer who is &quot;caught in the avalanche&quot; isn&#x27;t senior by any reasonable definition of the word.<p>Development in general, and, it seems, front end web development in particular, is both easy and hard. Somewhere between batteries-included frameworks, blogs, YouTube channels and MOOCs, it&#x27;s very easy to get from zero to something good looking and more or less functional pretty quickly. But this can easily hide the complexity that pretty quickly creeps in, and reasoning about complexity is one of the crucial things that a senior developer brings to the table.
评论 #17191742 未加载
评论 #17191704 未加载
评论 #17191732 未加载
zmixalmost 7 years ago
The short answer is: Because they abandoned XML on the web.
zer00eyzalmost 7 years ago
I think the instability is a byproduct of what it is.<p>Today we have <a href="https:&#x2F;&#x2F;caniuse.com" rel="nofollow">https:&#x2F;&#x2F;caniuse.com</a> but this sort of tool in one form or another has existed for a long time - I think that mobile, and native mobile have only compounded the problem.<p>Frameworks, and ecosystems (Node, and what it spawned) are practically a requirement to get things done. But abstracting issues away from front end developers, hiding them behind hacks and fixes only serves to make things worse, and harder.<p>The foundation of the front end isn&#x27;t just broken, it is a fuckstorm... and we keep piling more stuff on top of that foundation trying to make it make sense, make it rational. With each layer we add creating new sets of issues that only get worse over time. Then someone &quot;smart&quot; enough to build something a bit better does just that, and we get this: <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;927&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;927&#x2F;</a><p>The reality is that the fish stinks from the head and in this case, blame google, apple, MS, and Firefox - <a href="https:&#x2F;&#x2F;medium.com&#x2F;@dmitriid&#x2F;ok-w3c-and-whatwg-dont-die-but-7952221fcbe4" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@dmitriid&#x2F;ok-w3c-and-whatwg-dont-die-but-...</a><p>Javascript isn&#x27;t much better <a href="https:&#x2F;&#x2F;ariya.io&#x2F;2014&#x2F;05&#x2F;the-curious-case-of-javascript-nan" rel="nofollow">https:&#x2F;&#x2F;ariya.io&#x2F;2014&#x2F;05&#x2F;the-curious-case-of-javascript-nan</a> ---<p>(Note the above links are just my favorite &quot;examples&quot; of these issues not even a good indicator of the real problems therein, everyone has their own grievances)<p>And this IS the heart of the issue. Any one sane, any one with a high level of skill isn&#x27;t going to want to work in an environment where they aren&#x27;t in control where someone can yank the carpet out from under them at any given moment. No one is going to stay long when new browsers and missing packages create more work, or work that has to be re-done to deal with some edge case or issue that literally came out of nowhere. Front end people see those of us working on server side code where we have a HIGH degree of control (orders of magnitude) and realize how bad it is for themselves. Simply put any one who is good invests the time and energy to get OUT of that line of work. Tallent will quickly migrate away from the broken foundation of the front end. This only serves to exacerbate the situation, as a new &quot;smart&quot; person onboards thinking &quot;I can do this better&quot; and being right to some degree.
linhuiwualmost 7 years ago
because browsers changes a lot.
评论 #17193611 未加载
_ZeD_almost 7 years ago
for the same reason of the eternal september
baybal2almost 7 years ago
&gt;Why is Front-End Development So Unstable?<p>Because on average, the skill level in the whole webdev community is low. Below that of &quot;a dev with average schooling, and average industry experience&quot;<p>Webdev has close to no barriers for entry, and is under the strongest influence from the fact that the evaluation of deliverables is not done by another tech professional out of all software development jobs<p>The combo above makes things that are unheard of in other software development niches possible, like meeting borderline or de-facto frauds running webdev businesses selling &quot;ultrasophisticated&quot; corporate websites on Wordpress to F500 types for few $k USD per hour of dev time, or well entrenched in-house &quot;developers&quot; in tech giants who made it to six digits on technobabling to non-tech managers and copy and paste.<p>All of this is evidently projecting onto to the tech solutions used in the trade, and the popular image of the webdev development process. And over the time, popular stereotypes are becoming self fulfilling prophesies: Angular - was an okish framework at near 1.0, but marketing messaging made it look like an &quot;enterprise stuff,&quot; and their devs eventually turned it into it - purposelessly overengineered monster filled with SOAisms; jQuery - got bad fame for unusable, animation rich websites made by least talented part of the dev community, and this infamity has both sealed its further development, and was responsible for attracting even more unskilled devs into making websites with crawling slow animation;<p>And like this for few pages, as well as for the notion of webdev world being &quot;unstable.&quot; Many people here who are not novices to webdev can probably call few sites that had a &quot;single piece of JS code continuously maintained over 10 years&quot; or more. I myself knew people who were making yandex.ru homepage in nineties, they say that a very sophisticated ajax autocomplete code there was developed and maintained continuously since 2004
评论 #17191618 未加载
评论 #17191904 未加载
评论 #17191597 未加载
softwarefounderalmost 7 years ago
It&#x27;s only unstable if you drink the JavaScript cool-aid, and change frameworks frequently.<p>I&#x27;ve been using Knockout 3.* for the past five years, no issue here.<p>Edit: Looks like some Angular and React devs have started downvoting :)
评论 #17192052 未加载
评论 #17193722 未加载
fealiosalmost 7 years ago
React is only 3 years old?!?!
评论 #17193983 未加载
评论 #17193977 未加载
bedersalmost 7 years ago
It&#x27;s because we keep trying to use something designed for displaying hypertext documents as platform for interactive applications. It&#x27;s dumb and successful.