Slashdot Mirror


Stack Overflow Stats Reveal 'the Brutal Lifecycle of JavaScript Frameworks' (stackoverflow.blog)

A developer on the Internal Tools team at Stack Overflow reveals some new statistics from their 'Trends' tool: JavaScript UI frameworks and libraries work in cycles. Every six months or so, a new one pops up, claiming that it has revolutionized UI development. Thousands of developers adopt it into their new projects, blog posts are written, Stack Overflow questions are asked and answered, and then a newer (and even more revolutionary) framework pops up to usurp the throne...

There appears to be a quick ascent, as the framework gains popularity and then a slightly less quick but steady decline as developers adopt newer technologies. These lifecycles only last a couple of years. Starting around 2011, there seems to be major adoption of a couple of competing frameworks: Backbone, Knockout, and Ember. Questions about these tags appear to grow until around 2013 and have been in steady decline since, at about the same time as AngularJS started growing. The latest startup is the Vue.js framework, which has shown quick adoption, as it is one of the fastest growing tags on Stack Overflow. Only time can tell how long this growth will last.

"Let's be honest," the post concludes. "The size of a developer community certainly counts; it contributes to a thriving open source environment, and makes it easier to find help on Stack Overflow."

165 comments

  1. And maintainability? by plopez · · Score: 4, Interesting

    What happens if you need to patch or upgrade in a few years? Like for security? Do you have to rely on unsupported frameworks or throw everything away and start over? How does it work?

    Remember, companies pay huge licensing fees exactly for support.

    --
    putting the 'B' in LGBTQ+
    1. Re:And maintainability? by 110010001000 · · Score: 4, Insightful

      You throw it away and start over. There are a million JavaScript monkeys out there that are willing to do it. It keeps them busy.

    2. Re:And maintainability? by plopez · · Score: 1

      So you can achieve bug compliance with V1.0?

      --
      putting the 'B' in LGBTQ+
    3. Re:And maintainability? by 110010001000 · · Score: 2

      You don't need to get to 1.0. It is Agile.

    4. Re:And maintainability? by Anonymous Coward · · Score: 0

      eternal beta

    5. Re:And maintainability? by Anonymous Coward · · Score: 5, Funny

      Like for security?

      Javascript doesn't support security, so that's a non-issue

    6. Re:And maintainability? by PolygamousRanchKid+ · · Score: 4, Informative

      What happens if you need to patch or upgrade in a few years?

      In this nude gig based economy, no one stays at a job long enough to do maintenance. Once the gig is shipped, you'd best already have moved to a new job.

      It's kinda sorta like a combination of Bitcoin pin the tail on the donkey. The last one holding Bitcoin before the crash loses, as does the donkey last original developer to leave the company, who gets all the defects pinned on him.

      Maintenance will be outsourced to India or China.

      --
      Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
    7. Re:And maintainability? by Anonymous Coward · · Score: 0

      You don't need to get to 1.0. It is Agile.

      In other words, an eternal piece of shit.

    8. Re:And maintainability? by AmiMoJo · · Score: 2

      You ask "what are some good replacements for last week's framework?" on Stack Exchange.

      That's what Stack Exchange is. Lurching from one fad to another, with bad advice and half baked ideas from start to finish.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    9. Re:And maintainability? by OrangeTide · · Score: 2

      Is this your first time using web sites? It's all shit.

      --
      “Common sense is not so common.” — Voltaire
    10. Re:And maintainability? by Anonymous Coward · · Score: 3, Insightful

      All the effort people go through to design a site with shittons of flashy interactive bullshit, then I come along and strip every last bit of it out with adblock filters until the page is nothing but a 5 kb text file with just the info I actually came to see.

    11. Re:And maintainability? by plopez · · Score: 1

      Just how corporate management works. Got it. along with bungee managers, bungee programmers.

      --
      putting the 'B' in LGBTQ+
    12. Re:And maintainability? by cascadingstylesheet · · Score: 4, Interesting

      What happens if you need to patch or upgrade in a few years? Like for security? Do you have to rely on unsupported frameworks or throw everything away and start over? How does it work?

      Remember, companies pay huge licensing fees exactly for support.

      Well, you could just keep using jQuery like we do. It's still maintained and developed.

      It won't get you 100 recruiter calls a day, but hey.

    13. Re:And maintainability? by Anonymous Coward · · Score: 0

      That is a question for the next project group that'll work on "the new release of the website", which is really a redo from start. "Maintenance? This is the web 2.0, don't you know." Which is to say, maintenance isn't cool for a project manager to have on his CV, but a new project is.

      On the other side of that equation, for success of your framework, you promote the existence of plenty of easily copy/pastable snippets for the most asked-about (but trivial) problems on stackoverflow.

      For continued success, you provide a new framework with the requisite trappings every six months or so. It should smell a little like the old one so that it'll seem familiar, but be sufficiently different that there'll be questions on how to get on with this one. It's all about visible mindshare, don't you know.

    14. Re:And maintainability? by loslosbaby · · Score: 1

      To your footer: "Debt is slavery".... Technical debt is also slavery..when you user Open Source, and its not cool anymore, congratulations, its a boy! Now its up to you to own it, and love it, and call it George.

    15. Re:And maintainability? by OrangeTide · · Score: 1

      It doesn't really fix the buggy back-ends we have to slog through to exchange any data.

      --
      “Common sense is not so common.” — Voltaire
    16. Re:And maintainability? by chthon · · Score: 1

      Unfortunately my mod points are expired.

    17. Re:And maintainability? by Anonymous Coward · · Score: 0

      Very few in the development space or business realize that the true cost of software development is not the initial development, but the long term support. Developers are paid to write code that is then supposed to run for very long periods of time so that the developers can move onto the next big project. Very few, if any, businesses assume or want to pay for continual rewrites simply because there's a new shiny framework that everyone is talking about. So the tech leadership in a company will settle on a tool or framework that might not be the new hotness but is stable, still has some support or at a minimum is source available so they can repair it themselves if needed.

    18. Re:And maintainability? by mapkinase · · Score: 1

      >Maintenance will be outsourced to India or China.

      This is a verifiable hypothesis.

      --
      I do not believe in karma. "Funny"=-6. Do good and forbid evil. Yours, Oft-Offtopic Flamebaiting Troll.
    19. Re: And maintainability? by Anonymous Coward · · Score: 0

      For something like Angular? Code rewrite time! Of course!

      Backwards compatibility mustn't be Agile. ..

    20. Re:And maintainability? by Tablizer · · Score: 1

      Very few in the development space or business realize that the true cost of software development is not the initial development, but the long term support.

      The UI styles/fads change often, and if it's a public-facing site, you have to keep up with the Joneses to look "in". Frameworks try to separate the UI from the rest of the system so that the UI can change with minimal impact on the rest. The results are mixed since clean separation is pipe dream.

    21. Re:And maintainability? by yuriklastalov · · Score: 1

      Lurching from one fad to another, with bad advice and half baked ideas from start to finish.

      Sounds a lot like Progressivism, tbh.

    22. Re:And maintainability? by plopez · · Score: 1

      don't I know it.

      --
      putting the 'B' in LGBTQ+
    23. Re:And maintainability? by Tyger-ZA · · Score: 1

      What happens if you need to patch or upgrade in a few years? Like for security? Do you have to rely on unsupported frameworks or throw everything away and start over? How does it work?

      Remember, companies pay huge licensing fees exactly for support.

      Well, you could just keep using jQuery like we do. It's still maintained and developed.

      It won't get you 100 recruiter calls a day, but hey.

      THIS. I've also included the JQuery Widget API so that I can write my web apps as a set of reusable components. Unlike angular etc, their API hasn't significantly changed in the last few years: http://api.jqueryui.com/jQuery...

  2. That's all the time it takes by Anonymous Coward · · Score: 0

    Maybe that's all the time it takes to answer all the questions for a framework.

    1. Re:That's all the time it takes by HornWumpus · · Score: 1

      ^^^ This is why you don't want to be the employer of people on their first trip around the SDLC. I bet AC draws a check in positive numbers of dollars, despite the wreckage in his wake.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
  3. Still just using jQuery/UI by Anonymous Coward · · Score: 2, Informative

    Still just using jQuery and jQuery UI. They do pretty much everything I need. All HTML generation happens server side, and jQuery simply inline replaces the HTML content from whats pulled from the server. Doing things this way means only 1 UI stack, and it works across all environments, since only the servers need updating (plus of course routine updating of the jQuery/UI JS files themselves)

    1. Re:Still just using jQuery/UI by guruevi · · Score: 3, Insightful

      Exactly this. The problem with Angular and all the other libraries is that they're trying to solve the problems of 'simple' libraries like jQuery but then end up even more complex or break all sorts of convention and expectation trying very hard not to become jQuery, and then you get a new library trying to solve whatever problem is in that library.

      What you need in a framework (regardless of language) is not complexity (trying to do "everything") but simplicity. If the framework is dictating how your application should work/flow/represent the data, you're going to run in a situation sooner or later where your framework doesn't quite fit your problem and then you'll spend an eternity trying to make it work and you'll end up writing most of your code in the native language anyway.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    2. Re:Still just using jQuery/UI by Paul+Fernhout · · Score: 3

      Yes; thus Rich Hickey's talk on "Simple made Easy": https://www.infoq.com/presenta...
      "Rich Hickey emphasizes simplicity's virtues over easiness, showing that while many choose easiness they may end up with complexity, and the better way is to choose easiness along the simplicity path."

      I agree on Angular having a lot of "accidental complexity".

      I've also run into the "leaky abstraction" issue you reference, like with the Dojo Toolkit and Dijit -- where I ended up spending large amount of time trying to understand why Dijits behaved unexpectedly and to make kludgy workarounds. People hope some frameworks will spare them from learning details of CSS and JavaScript, but in the end, edge cases and bugs mean you still need to learn all that -- as well as an arbitrary framework with its own quirks.

      I much prefer the combination of using JavaScript/TypeScript with Mithril/HyperScript, Tachyons, and a Flux-like one-way-data-flow architecture. You need to know JavaScript and CSS somewhat well to use those libraries -- but they are simple enough that they rarely do unexpected things, require long debugging sessions, or get in the way of doing anything advanced that you want to do. Those libraries are not perfect -- just a lot better than something like Angular (which I have to deal with for my day job; see also my related comment below). And those libraries are simple enough that any reasonably good developer could maintain them on their own if absolutely required.

      One of the reasons such libraries don't as much attention as they should is precisely because they are so reliable and simple to use. Unlike Angular, neither Mithril or Tachyons *requires* thousands of StackOverflow questions to learn how to use it, debug it, or upgrade it. In a way, picking libraries based on numbers of SO questions or blog posts on it is kind of like picking a car based on how many complaints are filed against the manufacturer with the Better Business Bureau. That's not a 100% valid comparison -- but there is more truth there than one might think at first.

      --
      A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
    3. Re:Still just using jQuery/UI by Tumbleweed · · Score: 1

      They do different things, and can - and often are - used together.

    4. Re: Still just using jQuery/UI by Monster_user · · Score: 1

      Sounds like good a good thing, with those edge cases. We don't want to end up with a bunch of magical machines that nobody knows how to maintain.

    5. Re:Still just using jQuery/UI by Anonymous Coward · · Score: 0

      You can't become a global phenomenon unless you are a widget usable by all and to be that you must be complex. A simple tool will have a niche application and only be granted a niche audience.

    6. Re:Still just using jQuery/UI by Curupira · · Score: 1

      I much prefer the combination of using JavaScript/TypeScript with Mithril/HyperScript, Tachyons, and a Flux-like one-way-data-flow architecture.

      I had to read your post twice to be sure it wasn't parody. Man, the names of those frameworks sound exactly like science fiction movies technobabble.

  4. What does this say about Javascript? by mykepredko · · Score: 5, Insightful

    There is so much wrong about Javascript revealed here that I think we have to question its use going forwards.

    The language itself is a great start to programming websites but the need for frameworks, which become "flavours of the month" that makes support so much more difficult as time goes on and the framework goes out of favour resulting in companies scrambling to find people with the skills to maintain them (sort of a short term Cobol analog). This gets worse when you realize that most web page developers don't know how to code and are using published features of the frameworks or example snippets on things like Stack Overflow.

    What about security of the various frameworks and ensuring they don't do anything nefarious. I guess the extreme examples would be collecting customer data and running cryptocurrency miners on end-users webpages - but I'm sure there are a lot of more minor security issues that can be hidden in these frameworks.

    Finally, I have to wonder about the maintainability of all these frameworks. On one hand, I guess frameworks with issues get identified by the community quickly and are abandoned (but, going back to the previous point, companies have to spend more money because their developers aren't competent to move the page to different frameworks).

    I'm not sure I see a solution for these problems. Maybe WebAssembly will be the ultimate solution (with tested and supported libraries that web developers can use and rely on) but I'm hoping that W3C and other groups are looking ahead to the next generation of web development tools.

    1. Re:What does this say about Javascript? by Anonymous Coward · · Score: 0

      I inherited a rats nest JS project a couple of years ago. The fellow that started the project was enamored with Angular. Holy fucking hell. What a mess. I've seen it before with other frameworks: just a bunch of clever kluges to make JS do stuff it was never intended to do. Sort of works for simple projects. God help you when the project becomes complicated.

    2. Re:What does this say about Javascript? by RightwingNutjob · · Score: 2

      The worst (or best) is when the monkeys load in the calls from jquery.org or somewhere without actually hosting a copy locally. This is especially a problem on corporate networks where a firewall policy of "Thou shalt not go outside the network" will now break the internal website. This means you now have to open up requests to the outside making another hole for proprietary data to leak out undetected, either with a compromised jquery.org or just making it look like normal traffic.

    3. Re:What does this say about Javascript? by Darinbob · · Score: 1

      Meanwhile, I came in this weekend to fix a bug involving a corrupted stack and am going to be digging through cores and assembler to figure it out. I am amazed (and dismayed?) at the vast gulf of distance between what I do as a programmer and what a web developer does.

    4. Re:What does this say about Javascript? by PhrostyMcByte · · Score: 1

      Mostly that Javascript has a lot of new developers, new enough that they're easily influenced by hype. The Javascript community seems to over-emphasize having a pretty website rather than technical merit.

      Also, that Javascript exists in an environment with a different set of problems than most others. Solutions have yet to be well fleshed out, and there are a lot of different ideas being tested. So even the more experienced devs are going to be more prone to create a shifting landscape.

    5. Re:What does this say about Javascript? by fluffernutter · · Score: 0

      So in other words, you couldn't understand it.

      --
      Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
    6. Re:What does this say about Javascript? by HornWumpus · · Score: 2

      Telling you think that's a burn on AC. Speaks volumes.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    7. Re:What does this say about Javascript? by fluffernutter · · Score: 1

      I guess some people need to be spoon-fed.

      --
      Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
    8. Re:What does this say about Javascript? by Anonymous Coward · · Score: 0

      The problem has less to do with the technology and more to do with the fad nature of the web industry combined with the desire to pay for plug-and-play bootcamp coders. The underlying tech won't change that.

    9. Re:What does this say about Javascript? by Anonymous Coward · · Score: 0

      > There is so much wrong about Javascript revealed here that I think we have to question its use going forwards.

      Huh? These frameworks aren't out to "fix" javascript, so I'm not sure how you (or the people upvoting you) think this is somehow an indication that it's a poor language. Sounds more like you just have an opinion, and like to look for any little info that you can spin to support it.

    10. Re:What does this say about Javascript? by plopez · · Score: 4, Insightful

      Obscure code is bad code. If you can't do it simpler you;
      1) are using the wrong tools
      2) Don't know what you are doing
      3) don't understand the first thing about programming, which is 90% of the cost of a program is maintenance
      4) trying to be clever, which is stupid

      I hereby sentence you to 5 years maintnce programming on code produced by clueless programmers like yourself.
      (odds are in 6 months you won't be able to fix you own code.)

      --
      putting the 'B' in LGBTQ+
    11. Re:What does this say about Javascript? by Anonymous Coward · · Score: 0

      Grow up, kid.

    12. Re:What does this say about Javascript? by Let's+All+Be+Chinese · · Score: 1

      There is so much wrong about Javascript revealed here that I think we have to question its use going forwards.

      Did this just occur to you now?

      The language itself is a great start to programming websites

      Nope, it isn't. It seems great but that's only up until you realise that you've been deluding yourself. For some, this never happens, which stands to reason because it'd make them ashamed of that fat paycheck.

      but the need for frameworks,

      It starts way before this, but yes, that should have told you that javascript is not great, because no staying power. It's fairly natural for a programmer to try and build higher abstractions on the building blocks available, and that's fine. What would not be fine, and happens to be everything "frameworks" inside javascript is trying to do, is to fix deficiencies that seep through "from below".

      Those deficiencies aren't just inside javascript, but also inside the modeling inside the browser (ever seen a non-leaky one?), html, the assumptions on which websites are "programmed", and so on, and so forth. Consider, for one very fundamental issue, that originally, the same text differently rendered on different devices was not a bug, but a feature.

      Or that websites ought not to need to be "programmed" but should be simply a collection of easily served documents for sharing and collaborative work. That was the idea, not the million monkeys adding code to content that ought to need no further programming to function as originally envisioned.

      See how deep the rabbit hole reaches before we even get to the meat of your complaint?

      which become "flavours of the month" [...]

      Yep, maintainability of your current framework goes right out the window here. Long-term viability of the content already left the building long before that, though.

      The rest is just follow-on damage that we're forcibly trying to power through. Won't work, but lots of paychecks for people involved in the tech industry somehow. Nevermind that they're not actually programmers, as you point out. Programming is a rare talent.

      Who was it again that noted that in a few short years influx into the CS department had gone up to tenfold, but the absolute number of people with actual talent, always less than the total student population, had stayed about the same? Meaning that the more you clamour for "IT talent", the more monkeys you'll get.

      Which in turn gets us the problems you describe. Among other things.

      What about security of the various frameworks and ensuring they don't do anything nefarious.

      This went out the window as soon as "running code from this here website in my browser" entered the picture. The rest is just secondary damage; imortant only to individual websites that care about public outcries, but about as sensible as "due diligence" in the finance industry. It helps the browser user nothing at all.

      Consider that the lastest security scare, that with speculative execution and cache effects allowing peeking through the security in hardware is exploitable from javascript, which is how many layers up in software? This is a leaky bucket. You cannot plug the holes by adding more water.

      I'm not sure I see a solution for these problems.

      That's because you're looking at the problems from the wrong level.

      The fix as the end-user is to not run javascript in your browser. So the only real option for website owners is to make sure your website will function properly with a javascript-free browser. There is no middle way on this. It certainly cannot be fixed by adding more javascript, whether in "framework" form or not.

      Maybe WebAssembly will be the ultimate solution (with tested and supported libraries that web developers can use and rely on) but I'm hoping that W3C and other groups are looking ahead to the next

    13. Re:What does this say about Javascript? by q_e_t · · Score: 1

      Or you point requests to jquery.org to your internal server that mirrors the real jquery.org

    14. Re:What does this say about Javascript? by Tough+Love · · Score: 1

      Spoonfuls of Javascript spagetti?

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    15. Re:What does this say about Javascript? by Paul+Fernhout · · Score: 1

      I find thing to both agree and disagree with in this comment.

      I agree that ideally the web should be mostly about serving static content. Unfortunately, with a web funded mostly by advertising revenue, much of the JavaScript on the web is about putting together feeds of multiple items to entice you to click on other documents to get the next ad impression served -- as well as to track those clicks. Why should, say, a news site have a sidebar with current articles to click on merged into content for each article? Should not each article stand alone like a pamphlet or book in a library, with at most an article-specific "see also" section at the end? There is something wrong in using JavaScript to mush together all sorts of unrelated content and also invading everyone's privacy about what they look at -- although that wrongness is more about socio-economics based on scarcity ideology than about technology.

      Contrast with personal websites from the late 1990s which were mostly collections of static pages each on some topics, with at most a site navigation sidebar as extraneous content. In such a system, search engines, manual indexes, and feeds of new items play a big role in finding the specific content you want. And then your browser should be able to display the resource ideally without needing JavaScript from the website to help display it.

      It's great to see some sites now offering text-only options as a retro nod to the value of simplicity:
      https://www.poynter.org/news/t...

      I disagree about turning off JavaScript entirely everywhere because I see the potential of the web as a way to deliver applications like editors, analyzers, and simulations -- especially applications that are multi-user supporting fine-grained collaboration.

      That's why I started learning JavaScript/HTML/CSS and various related libraries and design patterns (like Mithril and Tachyons and Flux etc) even though I already know how to make such tools for the desktop. I made that transition after seeing even Alan Kay and Dan Ingalls (of Smalltalk fame) move new work to JavaScript on the web (with the Lively Kernel) because they found it difficult to get people to install Squeak on the desktop to try it out (and Squeak generally has a very easy install).

      Yes, it is true those editors, analyzers, and simulators could run as internet-enabled desktop applications which request data and send data from and to wherever needed in the internet. But such applications would have more problematical installs and upgrades from the user perspective (as Kay and Ingalls talked about). Mobile app stores for Android and iOS, desktop app stores for Mac and Windows, and package managers for Linux help with that install issue. But most of those app stores also create other problems including a bottleneck of a few companies controlling what billions of users can install. Also, desktop apps typically can access all sorts of data on your local storage and so are more of a security concern when trying them out.

      The URL is the web's biggest feature, leading to my web-age adage: "If it does not have a URL, it is broken". So, if software does not have a URL that you can click to start it running in a specific configuration with specific data loaded, that is a problematical situation these days. We might be able to rethink how URL handling is done locally though for a typical desktop situation. But until then, for most people, the benefits of the URL are often exceeding the benefits of local applications.

      Nonetheless, I will agree that running complex applications in the browser is not what the original web browsers or web protocols were designed to do. And that has created a lot of headaches for a lot of people for a long time -- and still does.

      On a practical basis, I use uMatrix and NoScript as browser plugins to turn off most JavaScript (especially third-party JavaScript) on most sites -- for reasons of security, performance

      --
      A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
    16. Re:What does this say about Javascript? by HornWumpus · · Score: 1

      Leaving supportable systems behind you is 'spoon feeding'? I'd just fire you.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    17. Re:What does this say about Javascript? by Anonymous Coward · · Score: 0

      I guess some people need to be spoon-fed.

      That doesn't excuse crappy code. Lots of JavaScript developers use this as an excuse for slinging crap and it's getting old. I've been programming for 30 years now. I know a thing or two. If I cannot understand why your crappy JavaScript chicken scratch is trying to do what it's doing then maybe it's just that. What's more likely, that your JavaScript spaghetti code is the work of a misunderstood genius or that it's just crap? I'm going with the former.

    18. Re:What does this say about Javascript? by Aighearach · · Score: 1

      He tried to spoon feed it to you, but you still didn't understand the technical implications of your own comment.

      Maybe stick to your own area of expertise, whatever that is.

    19. Re:What does this say about Javascript? by Aighearach · · Score: 1

      If you don't have enough access to change the link to point to a local copy, then you're probably below the monkeys in the hierarchy and should mind yourself before the monkeys learn of your betrayal and other-source your role.

    20. Re:What does this say about Javascript? by RightwingNutjob · · Score: 1

      That requires the monkeys who make the website to be talking with the monkeys who run the DNS and the firewall.

    21. Re:What does this say about Javascript? by fluffernutter · · Score: 1

      I didn't say anything of the sort. I said a person should be able to figure out unsupportable systems and at least leave them better than they found them.

      --
      Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
    22. Re:What does this say about Javascript? by fluffernutter · · Score: 1

      Never did I say I was excusing crappy code. What I said is that you figure it out if you're good.

      --
      Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
    23. Re:What does this say about Javascript? by HornWumpus · · Score: 1

      No you didn't.

      You put the 'blame' for not being able to figure out a 'rats nest' on the new guy, not the incompetent that left it.

      Which strongly suggests to me that you are one of the incompetents.

      Having inherited a few rats nests over the years, when in that position, the first step is to decide if it's worth attempting to salvage the 'pig fuck'. The answer is almost always no.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
  5. One JS to rule them all. by Anonymous Coward · · Score: 1

    Maybe there needs to be the question, what problem's are the JS frameworks suppose to solve?

    1. Re:One JS to rule them all. by Hognoxious · · Score: 2

      what problem's are the JS frameworks suppose to solve?

      I can see a major need for stripping aberrant apostrophes.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    2. Re:One JS to rule them all. by Anonymous Coward · · Score: 0

      They solve the problem of making a living for all those recruiters and consultants doing training and writing tutorials for the Next Big Thing. When momentum dies off, there's always the next Next Big Thing. It's easy to convince people that the last NBT was shit and everything needs to be rewritten, because the average JavaScript developer has the attention span of a fruit fly.

      It's great for the GDP!

    3. Re:One JS to rule them all. by PPH · · Score: 2

      Wait a sec. I just linked to a library that puts them back in.

      --
      Have gnu, will travel.
    4. Re:One JS to rule them all. by Hognoxious · · Score: 1

      What&asshat(TM)manishsucksdonkeyballss so annoying is that it doesn&asshat(TM)manishsucksdonkeyballst put them back properly

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    5. Re:One JS to rule them all. by Anonymous Coward · · Score: 0

      The market demands usable interfaces that "pop," and are also performant and secure, and that developers can throw together extremely quickly since developers cost a fortune.

      So, that's the problem that they solve.

      Of course, javascript frameworks don't *actually* deliver on all of these promises. But they self-advertise as such, and so they remain popular.

    6. Re:One JS to rule them all. by Anonymous Coward · · Score: 0

      what problem's are the JS frameworks suppose to solve?

      Simplicity.
      Speed.
      Usability.
      Privacy.

  6. JavaScript Fails It by Anonymous Coward · · Score: 0, Troll

    You would never see a distinguished and respected developer like The Lord Of Hosts - APK - write his legendary APK Hosts File Engine 11++ SR9 Turbo Alpha Zero product in JavaScript. It would not be able to run in blazing fast kernel mode if he did.

  7. Can we dump frameworks already? by Anonymous Coward · · Score: 1

    I am so tired of sites using remotely hosted framework libraries where you won't get anything other than a blank page if you don't enable JavaScript. Same with sites where the search doesn't work without scripting, or even links on the page don't work. Did we learn nothing when that one developer removing a single module from the NPM repository caused a chain reaction breaking thousands, maybe millions, of sites?

    https://www.theregister.co.uk/2016/03/23/npm_left_pad_chaos/

    I get why they are attractive to developers, but Lesson #1 of the Internet is that you never rely on 100% uptime for remote content. A lesson that seems to have been forgotten by the majority of web developers these days. Servers go down, routers go down, DDoS attacks happen, servers get hacked, and so on. I wish developers would take a little more time to stop and think about whether the latest flashy whizbang feature really offers anything that actually benefits the people visiting the site, or if you're just showing off. I would be willing to bet that at least 95% of the time, it's people just showing off. Plenty of times, less is more (and no, that's not a joke about the command line text readers).

    1. Re:Can we dump frameworks already? by DCFusor · · Score: 1

      Mod parent up....this is so obviously true as to negate worrying about the rest of this crap.

      --
      Why guess when you can know? Measure!
    2. Re:Can we dump frameworks already? by WinstonWolfIT · · Score: 1

      Simple: page reloads are painful. I'm not showing off; I simply don't tolerate a spinner in the browser tab if it can be avoided. A well-architected Angular app is poetry in motion.

    3. Re:Can we dump frameworks already? by Anonymous Coward · · Score: 0

      > I get why they are attractive to developers, but Lesson #1 of the Internet is that you never rely on 100% uptime for remote content.

      Well, no, the first lesson of the internet is that there's porn. But never rely on 100% uptime for remote content is definitely like second or third.

    4. Re:Can we dump frameworks already? by Aighearach · · Score: 1

      I'm thankful to them when their site sucks really bad, and it also just doesn't display for me. If your site is just a bunch of advertising bait, you don't want me and my adblockers, so if it just doesn't work at all without JS then I'll only be subjected to it for the small amount of time it takes to close the tab and select the next link from the list.

      It is win for us both in that situation.

  8. Its just GUI development by MichaelSmith · · Score: 1

    We had GUIs in the 1990s with straightforward architectures. You could develop quickly with Delphi. No problems. JS front ends are just GUIs so why do we need mountains of css, html and js to get it to work?

    Front end development is an expensive clusterfuck.

    1. Re:Its just GUI development by HornWumpus · · Score: 2

      On the other hand, you had Swing. When Sun won a victory over MS and got Sun Java included in Windows, I said MS should retaliate by also including Swing. Use Swing to render the Sun logo at startup...Provide instructions so users could disable the whole mess and have a machine that was usable in less than 10 minutes.

      Clusterfucks have always existed. Pick the right tool for the job. Old advice but still valid. Avoid magic bullets, they are always bullshit.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    2. Re:Its just GUI development by Anonymous Coward · · Score: 0

      Mmh.

      I never quite understood the hate for swing.

      Sure it didn't quite look native (but then again "native" Eclipse looks far less native again), and that's important. That's fair enough.
      Sure it was always a bit late on new UI features, scrollwheel support comes to mind, and that's annoying.

      But from an API point of view, it certainly was very very good.
      The model/view separation made a lot of sense.
      The component/layout manager was great. Want to have one button on the far left, and two on the right? No problem, write a LayoutManager that will put the first children on the left, and the second and third on the right, in accordance to their size.
      The handling of borders and margins was correct - as opposed to the current html/CSS idiocy. I'm not one to single out Microsoft for praise, but IE6's handling of these was absolutely the right way.

      The real problem with swing is that developers insisted on writing 100 lines of configuration code for nested but standard layouts instead of writing 20 for a new LayoutManager doing what they needed. This obviously resulted in both a lot of code and a slow UI. Neither of which was inherent to the platform, but rather a result of dreadful coding.
      In their defence, Sun certainly spent a lot of time and webpages explaining how to use the built-in layout managers (and components), but if you wanted to do it correctly you were pretty much on your own.

    3. Re:Its just GUI development by HornWumpus · · Score: 1

      It basically didn't work, first two major releases.

      The hate for swing comes from people who had to try and make it work.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
  9. Firefox killed noscript. by Anonymous Coward · · Score: 0

    Firefox was paid by the javascript using community to get rid of XUL extentions like noscript which stopped javascript frameworks in their tracks and use web extensions which can be used for javascript tracking and coin mining. Join the resistance, use Palemoon, Waterfox or Basilisk instead.

  10. It all needs to die. by Gravis+Zero · · Score: 1

    I won't just stand here and proclaim that javascript is the largest collective waste of human effort in history since it's gone from novelty to serious security threat, I use a chair like a normal person. Anyway, javascript was neat but now it's a threat and it needs to be stopped. The good news is that CSS3 is very advanced and with a few tweaks to HTML we could provide all the modern functionality for webpages without a single script tag. It's too bad it won't happen because large companies have a vested interest in being able to track you endlessly.

    --
    Anons need not reply. Questions end with a question mark.
    1. Re:It all needs to die. by Anonymous Coward · · Score: 0

      Thank you. In addition to normal ad blocking I've essentially banned most websites running javascript except in my whitelist. JS has become like Flash and should die off. I also track the trackers - even whitelisted websites are nefarious but it's a deal with the devil unfortunately. My hardware firewall manages to keep most of the rest at bay as well.

      The web as it existed is going to die off due to advertising and scumbag miners at some point in favor of apps - but when that will happen is unknown.

    2. Re:It all needs to die. by Tenebrousedge · · Score: 1

      If CSS3 is good news, I don't want to hear the bad news.

      --
      Those who advocate genocide deserve every protection afforded by law, and none afforded by common human decency.
    3. Re:It all needs to die. by Anonymous Coward · · Score: 0

      I used to think the same way, I really did. I even turned off JS in the browser. However I've changed my mind.

      There are some legitimate reasons for javascript. For example, see this JS usage (with an explanation over here).

      I'm sure there are plenty more like that, where a little bit of script can provide good value to the visitor.

    4. Re:It all needs to die. by Anonymous Coward · · Score: 0

      We've had XForms for decades. You'll never get those HTML tweaks.

  11. While I Agree Most JS Frameworks Are Shit by NicknameUnavailable · · Score: 1

    Question frequency on StackOverflow isn't a good indicator of use. Every question gets asked, then it just shows up in searches - StackOverflow has hordes of NAZI karma whores on the lookout for duplicate questions.

    1. Re:While I Agree Most JS Frameworks Are Shit by mykepredko · · Score: 1

      For the purposes of this analysis, I thought using Stack Overflow was very appropriate.

      Yes you get karma whores, but going by dates and frequencies of requests/replies you get a pretty good idea of the trends/lifecycles which is what this article is about.

    2. Re:While I Agree Most JS Frameworks Are Shit by Darinbob · · Score: 1

      Stackoverflow has stopped being a site where you can expect to find informed experts. The experts don't have enough points to correct the wrong answers that are passed out, and don't have the desire to play the social media game to get them. When it was new, Stackoverflow seemed to have a lot of interesting stuff going on. Today it's mostly about helping people with their homework.

      Crowd sourcing does not auytomatically result in a high quality result. You actually need some experts in the mix and not just karma miners.

    3. Re:While I Agree Most JS Frameworks Are Shit by Hognoxious · · Score: 1

      I think his point was that there are two possible reasons no new questions are being asked. One is that nobody's using it. The other is that it's matured and everybody who's using it has gained a degree of competence such that they don't need to ask "how is babby formed" and/or the knowledge base has built up to the extent that any questions they do have are already answered.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    4. Re:While I Agree Most JS Frameworks Are Shit by mykepredko · · Score: 1

      I looked at it from the perspective of *other* Stack Overflow queries where C is still highly regarded as a programming language by the number of new questions that continue to be posted.

      So, if C is still getting a large number of questions constantly, indicating that it is a popular/in use language, doesn't it stand to reason that various JS Frameworks can be said to be dying because they aren't getting a large number of questions constantly?

    5. Re:While I Agree Most JS Frameworks Are Shit by Hognoxious · · Score: 1

      C is still getting a large number of questions constantly, indicating that it is a popular/in use language

      That assumption is not necessarily correct. It may indicate that it's a "being learned" language.

      I use bash for various things at home. I've never asked a question about it on SO or anything else, because I either know the answer or somebody else already asked it and GIMF.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    6. Re:While I Agree Most JS Frameworks Are Shit by Aighearach · · Score: 1

      It may be that C is very complicated and the same question asked by two different people doesn't even look the same to them, but that JS is simpler and the questions have already been clearly answered. I've got many more years using C than JS, but I'd be much more likely to ask a question about C!

  12. Vanilla.js still keeps it's #1 position by dremon · · Score: 3, Interesting

    As the fastest and leanest framework

    1. Re:Vanilla.js still keeps it's #1 position by saccade.com · · Score: 1

      Yes! My favorite! (OK, I'll admit to a little jQuery as well...)

  13. Try Mithril and Tachyons by Paul+Fernhout · · Score: 3, Interesting

    As a once Delphi programmer, that is one reason I like the combination of JavaScript/TypeScript, the Mithril vdom https://mithril.js.org/ (which uses a "HyperScript"-like API to define HTML via code), and Tachyons http://tachyons.io/ for embedded CSS where each class defines the CSS effect (e.g. "underline") -- along with a simplified Flux-like one-way data flow architecture. Although people could swap out Mithril and Tachyons for similar systems to get a similar effect.

    Sadly, for my day job I am stuck using Angular, which is a my-way-or-the-highway framework with a lot of questionable design choices leading to excessive complexity and difficult debugging.

    --
    A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
    1. Re: Try Mithril and Tachyons by cyber-vandal · · Score: 1

      Flux-like?

    2. Re: Try Mithril and Tachyons by Paul+Fernhout · · Score: 1

      On two-way (Angular default) vs. one-way (Flux) data binding: https://stackoverflow.com/ques...

      But Mithril does one-way data binding naturally so you usually don't need much to be made explicit: https://github.com/MithrilJS/m...

      But apps may still benefit from undoable commands or transactions being run against a data model, so sometimes a more formal flux/reflux/redux approach may be worth it -- or not. I feel it makes sens to keep things simple with POJOs and then see if a more formal data store model is needed.
      https://www.quora.com/Which-is...

      --
      A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
    3. Re: Try Mithril and Tachyons by MichaelSmith · · Score: 1

      I am a back end developer and I can't get our front end developers to do any data modeling in angular at all. They want to work in terms of screens, with the back end serving each page the data it needs in the format it needs. I really don't know what is going wrong. Browsers have a lot of processing capacity now but where I work we don't seem to be using it.

    4. Re: Try Mithril and Tachyons by Aighearach · · Score: 1

      I really don't know what is going wrong. Browsers have a lot of processing capacity now but where I work we don't seem to be using it.

      There is nothing going wrong, that isn't your processing capacity and you shouldn't be coveting it. It isn't yours, use your own server for your processing capacity.

  14. Is this really all that surprising? by sloth+jr · · Score: 1

    It's natural that there're going to be more questions with new frameworks, and as those questions get answered - fewer new questions. That is the nature of Stack Overflow - look for someone who's already answered your question, before you ask.

  15. Vue by richardtallent · · Score: 5, Interesting

    I started using Vue this year. I evaluated React but I just couldn't enjoy the JSX syntax. Angular 2 had just come out and I found it to be far too obtuse, too far from "the metal." I briefly experimented with Riot, but it was losing IE11 compatibility too fast.

    Vue hit the sweet spot for me -- the ramp-up was easy, the code and API have a small but powerful footprint, it works well either interpreted in-browser or compiled via webpack, the Chrome dev tools are great, and I didn't have to learn the entire ecosystem (Vue, Vuex, Axios, etc.) to become productive. Coding single-file components reminds me of the good old days of writing server-side ASP.NET controls -- markup and script are separate, the lifestyle is simple to grok. The framework just does one thing--it handles the DOM update/manipulation details, allowing me to focus on behavior and state. I also like that the vast majority of my Vue code isn't really "vue," it's just plain HTML and JavaScript, so whatever comes next (web components, etc.), the transition will be much less painful than if I were using a more opinionated framework.

    1. Re:Vue by dbrueck · · Score: 1

      This pretty much sums it up for me too - vue is nice because it's easy to just use some basic parts of it (e.g. two-way data binding) without having to fundamentally alter your application or way of thinking to fit some model. My first few projects with vue didn't use vue components or any server-side build process or anything like that because vue by itself did all I need.

      And then when I did take the plunge and structure my app to make use of vue components, I still found it fairly straightforward to adopt and have been happy with the results.

    2. Re:Vue by Anonymous Coward · · Score: 0

      Vue sounds nice. But, I will never regress into html-based templates again. The problems that introduces are fundamental and profound.

      At least react and knockout do dom-based templating.

      And FYI, knockout is not a framework. It's just a library that is not opinionated at all about how or with what else you use it.

    3. Re:Vue by sproketboy · · Score: 0

      Go fuck yourself you shill.

    4. Re:Vue by dbrueck · · Score: 1

      To each his own, I guess. What are some of the examples of those fundamental and profound problems? To me at least the downsides of e.g. vue are no worse than the downsides of react. Anyhoo... I used KO before vue and liked knockout quite a bit - but then in early 2016 the prj just sort of died - no commits for months on end, so I ditched it. I've heard it has sorta picked up steam again though.

    5. Re:Vue by Anonymous Coward · · Score: 0

      It's not just JavaScript.

  16. Same old same old by Anonymous Coward · · Score: 0

    Anyone who's been developing for any length of time has seen this cycle play out continuously.
    Hot young developers with a superiority complex bring out some new tech, completely ignoring existing technology that already did the job well.
    Jeez, just look at JavaScript itself. It totally ignored decades of exiting graphics APIs and instead had an unusable graphics API that felt like it was designed by someone who'd never done graphics before, so poorly implemented that trying to write a 3d engine that rendered more than 5 frames per second was an impossibility. Just give me access to the goddamn frame buffer! HTML5 Canvas and WebGL came along eventually, but really there was no excuse for it ever being so bad.

  17. I gave up and went vanilla by Anonymous Coward · · Score: 0

    Even react is trendy nonsense. jquery works, especially for quick demos, and just plain javascript isn't bad as long as you don't need babysitting when it comes to organizing data in a fat client.

  18. You want Skynet? Cause this's how you get Skynet by Tenebrousedge · · Score: 2

    In this nude gig based economy

    What fresh capitalistic hell is this? It's official, we're done as a species. Our only hope is that the robots get tired of looking at us meatbags and do us all in.

    --
    Those who advocate genocide deserve every protection afforded by law, and none afforded by common human decency.
  19. Javascript is... by Anonymous Coward · · Score: 0

    Javascript is cancer of the internet.

  20. Wrong interpretation by tomxor · · Score: 2

    It says it right there on the Y axis of their graph: "% of stack overflow questions that month"... When you don't know how to X in framework Y? you google, and probably land on stack overflow if the question exists; you don't post another question. This metric doesn't equate to popularity it equates primarily to question saturation and secondly to popularity in terms of uptake (less questions asked by advanced users).

    We all know JS frameworks come and go quickly compared to other languages but this analysis is the height of numerology... if you're going to do some statistics be objective.

  21. Re:You want Skynet? Cause this's how you get Skyne by Hal_Porter · · Score: 1

    Our only hope is that the robots get tired of looking at us meatbags and do us all in.

    Let's just hope Skynet reads Reddit in its impressionable childhood years. It'll definitely nuke us then.

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  22. It's not about JavaScript by tomxor · · Score: 2

    It's not about JavaScript because A) all the big popular frameworks are some kind of MVC, they are all about interfacing with the DOM and users, JavaScript is just what's available. B) There is a work in progress standard to better solve this problem as part of the web platform.

    Also, the interpretation of these stats is flawed, it assumes new questions asked per month equates purely to popularity, but if you give it more than 2 seconds of thought you realise that there will be a saturation of common questions being asked from the release of a new framework that will die down, the initial spike is additionally due to the existing developers learning the framework, the baseline it tapers of to will be the rate of new developers taking up the framework but will be difficult to distinguish.

    We all know JS MVC type frameworks come and go, they are each and experiment and a path towards learning how to do MVCs well on the web, but this analysis is just someone wanting to see what they think is true.

  23. advertisement/promotion? by sacrilicious · · Score: 1

    The latest startup is the Vue.js framework

    Hmm, article characterizing cyclic rise/fall of frameworks names a single one as the new hotness. Maybe intended as an advertisement, maybe not. Over on a subreddit about unsolved mysteries, they refuse to allow postings about anything newer than 6 months, essentially to prevent current frenzy/churn over something fresh from taking over the intended ambience of mysteries that have stood the test of time; I think that principle might be well-applied when it comes to "assessing" technological cycles, namely: don't annoint one thing as "the new kid on the block" til it's really stood some kind of time test, to reduce impulses varying between self-promotion and premature assessment.

    --
    - First they ignore you, then they laugh at you, then ???, then profit.
  24. You can do it all in a startup by mykepredko · · Score: 1

    I came into a company that was a recently bought out startup where I found the CTO to be incredibly knowledgeable about web programming, PC application programming and PICmicro firmware programming.

    Now, that I'm doing a startup and programming for multiple targets (namely, HTML in Javascript with jQuery and Angular, PC and MaC programming in Java/C/C++/C#/Objective C and firmware in C) I think I would probably impress new programmers coming into the company in the same way.

    1. Re:You can do it all in a startup by Anonymous Coward · · Score: 0

      That's not impressive in any way.

    2. Re: You can do it all in a startup by Anonymous Coward · · Score: 0

      But your flatulence - now that's impressive!

  25. Re:You want Skynet? Cause this's how you get Skyne by AmazingRuss · · Score: 1

    I always thought that meant work from home, nude.

    It's quite nice if you can get the work.

  26. Validity of This Survey by mykepredko · · Score: 1

    A few people have questioned the validity of rating Framework popularity by the question rate on Stack Overflow. I just wanted to say that I think it's valid in this case if I compare it to other surveys of different programming languages based on the rate of new questions - I see something every year or so like (https://insights.stackoverflow.com/survey/2017) in which the popularity of different programming languages is rated by the activity on each language.

    I'm of mixed thoughts about Stack Overflow - All of us use it to help with figuring out a problem although at best, you'll find the answer around 25% of the time and probably 30% of the time what's there will lead you in the wrong direction. But, questions do get asked and looking at them by time, you'll get an idea of what people are doing.

  27. Re:You want Skynet? Cause this's how you get Skyne by Anonymous Coward · · Score: 0

    Slackmongers would be sneaking in cell phones and 'not working', if I let them wear clothes.

  28. Predictable with hindsight by AlanObject · · Score: 1

    The reason you keep seeing new frameworks pop up is that the prior frameworks don't really solve the base problems that need to be solved.

    To make it worse there will be groups that have different perception of what the "base problems" are. I am sure there are more than two such categories of players.

    Hence, more frameworks.

    You need to stop and ask are web SPAs with rich interactivity really needed in the first place? Having thought about it my conclusion is a resounding YES. If you don't agree obviously you will never like any framework that I like. We won't even agree on whether Javascript itself should be required to be enabled or not.

    For me right now that means Angular. I did a lot of work with JSF but that just doesn't cut it anymore. It doesn't matter to me that Vue or ReactJS or some other framework is "up and coming" on SO as long as Angular development proceeds. If anything "my" group is going to get good ideas from those other groups and my own application will get better if I keep an open mind about it.

    At the end of the day I want to get my app deployed. The users don't give a damn what framework I used

  29. what do you expect? by Anonymous Coward · · Score: 0

    when a language that primarly runs on a browser doesn't even have functions to escape text into html - for the browser.

    i program js so little that when i do i often end up on stack overflow or blogs looking up basics like how to iterate over objects arrays rememebring in the back of my mind there are weird arcane rules. trying to look up what half decent bit of language update is in each brower hoping you can upgrade and get things done.

    and angular was a bunch of toss anyway, talk about overcomplicating things.

    and frameworks only tend to get written by framework nazis, whose joy seems not to be enabling you do things, but stopping you doing things you want to do while they repeat 'thats not the way MVC frameworks work' like some fucking child

    1. Re:what do you expect? by Anonymous Coward · · Score: 0

      It looks as if you had something to say, but damned if I can figure out what it is. Ever hear of something called a "complete sentence"?

  30. Wheel Reinvention... by ndykman · · Score: 1

    It's not surprising. Firstly, most of the framework seem to ignore the lessons learned from those "old" desktop GUI frameworks. But it makes sense, those frameworks take full advantage of a language with easily expressed class inheritance which overall is a excellent match for GUI based systems. It doesn't translated to raw JavaScript, and you get a lot of reinvention. Take React. Mixing markup and code seems very easy, but it ignores that ASP and JSP already did that, and it turns out not to be very maintainable (read, a spaghetti nightmare) in the longer run.

    Yes, I know Facebook uses it. But, Facebook really has one big web application and all the resources and them some to maintain it. Doesn't apply to anybody else, really.

    And others insist on purity and want lightweight frameworks that just help mashing together HTML and CSS with the DOM, but if that worked, there'd be no frameworks. It's still too low level for many. Angular is the only one that's kind of interesting, as it seemed to accept that you need a more expressive language (TypeScript) to do this better in terms of maintenance and ease of use. Any brilliant team can make anything good out of anything, the point of frameworks is to lower the bar to obtain average quality from average teams.

    All of this still doesn't address that HTML/CSS isn't a great core GUI abstraction and that any web page sits in a browser that are using just those libraries. But, they keep piling on. Like WebGL. OpenGL works and has way more experience under it's belt, and I'd argue that if C/C++ makes you too nervous to use, you probably shouldn't be writing a program using OpenGL like abstractions in the first place.

    I'm fine with mobile and desktop applications being the preferred model. Nothing wrong with targeting a specific OS.

  31. Insane volatility by heretic108 · · Score: 1

    Before a Javascript framework even gets to first beta release, it's already months obsolete. This makes it scary for companies investing in high-end web apps. It's unnerving to commit to a framework when you know the support community could suddenly die away without warning.

    --
    -- In the beginning was the WORD, and the WORD was UNSIGNED, and the main(){} was without form and void...
  32. JavaScript is a toy. And toys win. by Qbertino · · Score: 2

    People like to play with toys. And toys win in the end. Remember the toy computer called IBM PC with it's 8086 CPU? It was a toy for people to play with. And play they did. Now it rules the world (ok with bad CPU bugs these days, but you get my point).

    Same with JavaScript. It's a toy. People like to play with it. Nobody asks bizar licencing fees for it. See the countless frameworks out there? Toys win. Believe it or not, JS is moving into Java territory as we speak You remember Java, do you? The language that was intended for IoT ... I'm sorry ... the "Network is the computer" thing? Upload a script and have the client run it? That Java only got hold on the server. Where it never was intended to go. And now JS is coming from the client and moving into it's territory. A silly toy. No chance in hell for professional applications. Just like the PC back in the day.

    That JS has so many Frameworks constantly in the works is actually a good sign of health. Prepare for incoming. Toys win.

    --
    We suffer more in our imagination than in reality. - Seneca
    1. Re:JavaScript is a toy. And toys win. by Anonymous Coward · · Score: 0

      Strange argument but JavaScript is just what these frameworks are written in, the frameworks themselves have more to do with the DOM and building user interfaces

  33. Keeping going on an unsupported framework? by murdocj · · Score: 1

    So this is timely because I inherited a web project that uses a JS framework about a year ago. I'm realizing that the author of the framework (I won't mention which one to avoid extraneous discussion) has moved on a couple of years ago and created a new framework. Now I'm wondering... given that the old framework is working and I've come to grips with it and have a pretty good feel for it, is there really any risk in keeping on with it? I mean, presumably Javascript is going to keep working. It may become archaic or not follow what the cool kids are doing in UI, but I'm not really worried about that. Just how likely is it that it's just going to stop working?

    1. Re:Keeping going on an unsupported framework? by Anonymous Coward · · Score: 0

      "Stop working" might not be the highest priority thing to worry about.
      What about security issues? Incorrect escaping making it vulnerable to some cross-site attack, leaking cookies or similar to pages that should not have access or something "crazy" like that?
      Do you have the competency to fix any such issues?
      If not, keeping to it use it with no plan of replacing it is playing with fire.
      Though in the end the most accurate way to put it is:
      You are no longer using a framework. ALL that code is now 100% YOURS. To manage, keep secure, maintain, ...
      Don't think about it as a JavaScript program using a framework but as one single JavaScript application, and then ask yourself if you can (justify to) maintain it with the resources you have.

    2. Re:Keeping going on an unsupported framework? by lsllll · · Score: 1

      What about security issues? Incorrect escaping making it vulnerable to some cross-site attack, leaking cookies or similar to pages that should not have access or something "crazy" like that?

      Bzzzt, wrong! Security, while nice on the front-end, really is a job for the back-end. The back-end has to assume nothing about the data that has been passed to it and needs to scrutinize everything before it actually does what it's supposed to.

      --
      Is that a roll of dimes in your pocket or are you happy to see me?
    3. Re:Keeping going on an unsupported framework? by Anonymous Coward · · Score: 0

      you really should know better, at your age

  34. too far from the Metal? by Ayano · · Score: 2

    Metal? Somewhere a C kernel programmer is laughing.

    --
    I don't read AC
    1. Re:too far from the Metal? by Anonymous Coward · · Score: 0

      Turing is laughing everywhere at all programmers jumping up and down and climbing higher and higher with their fancy languages.
      Our tar pit is indeed deep and wide with no visible boundaries so far.

    2. Re: too far from the Metal? by Anonymous Coward · · Score: 0

      Nah, as lo As it is Turning-complete he would be happy.

    3. Re:too far from the Metal? by Aighearach · · Score: 1

      And a firmware programmer is laughing at the idea that an OS programmer is close to the metal!

    4. Re:too far from the Metal? by Anonymous Coward · · Score: 0

      And a guy doping silicone for transistors is laughing saying... pfft... this is silicone... there is not fucking metal.

  35. Been true for a long time. by HeckRuler · · Score: 2

    I saw this writing on the wall WAAAAY back in 2004. I thought to myself "Man, web-dev tech is in constant turmoil. I've got on option about which tech I'm going to learn. Do I learn something that will be useless in 4 years or do I learn something that will be around forever." And long story short, I'm an embedded SW engineer working on Satellites in the one true language that's absolutely perfect for every application ever.... C.

    1. Re: Been true for a long time. by Anonymous Coward · · Score: 0

      Also the good news is that satellites don't need to serve dummy users in need of simple navigation. Much easier live for a developer!

  36. Blazor by Mike+Sheen · · Score: 1

    I'm just biding my time waiting for Steve Sanderson's Blazor to emerge as a supported front end UI framework.

    A short video presentation from a demo Steve presented at NDC Olso shows how the possibility of sidestepping what I think is the current javascript framework madness.

    If I was more disciplined, I might learn to love javascript and some of the various UI frameworks, but as an experienced .NET developer, Blazor appeals to me.

    1. Re:Blazor by Anonymous Coward · · Score: 0

      A Microsoft product that resuscitates the idea of ActiveX but supported by the ridiculously-oversize .NET framework with its clunky install, massive attack surface, poor performance, and probably on which I can't switch off tracking/Cortana?

      Sign me up!

  37. Square peg, meet round hole. by PJ6 · · Score: 1

    No amount of cleverness is going to get around the fundamental flaw that HTML is not suitable for application design. Look at the bag full of awkward, pain-in-the-ass workarounds cobbled up in JavaScript to address UI problems we solved 20 years ago. Doesn't matter how long they bang away at it, the problem isn't going to go away until they acknowledge this a move on.

  38. StackovweOverflow Javascript by cstacy · · Score: 5, Funny

    try{
        // Try something wrong here
    }
    catch(e){
        var xcb="http://stackoverflow.com/search?q=[js]+"+e.message;
        window.open(xcb, '_blank');
    }

    // https://github.com/gautamkrishnar/tcso/blob/master/javascript/tcso.js

    1. Re:StackovweOverflow Javascript by kamathln · · Score: 1

      Now that is a debug framework I have been waiting for years. Waiting for you to publish it on npm and sisters.

      Ok, seriously the problem is that coming up with Javascript frameworks is too easy. To the point that, when we start researching on several frameworks, and find that for the particular project at hand, we need 4 different features from 4 different frameworks, and we cant use any because of clashes, or .... we realize that it is way too easy to write our own framework than research the thousands of them. Then, once we have written it, we end up publishing it because it will look good on resume or company profile, not realizing or caring that we are actually contributing to the problem of ever-growing heap of redundant frameworks. Just like fast food vendors know it is now good for your health, but add new tasty unhealthy items because .. hey it sells! Occasionally, the relatively good ones do grow into the "flavor of the month".

      Now there is a whole economy on these heaps - newsletters, dedicated websites for reviews, tutorial websites, tutorials on YouTube, marketplaces, site maintenance, consultation, etc.

  39. Skinny white 20-somethings wearing black clothes by Anonymous Coward · · Score: 0

    use their knowledge of the latest JS frameworks as a weapon against slightly older IT workers, who only know the now-obsolete stuff.

  40. I like javascript by fireman+sam · · Score: 1

    I like javascript for its event model.
    I like javascript for it's typeless variables (where non existence is even a state for a "member" variable).
    I like javascript for its asynchronous nature.

    Unfortunately most javascript developers hate javascript and want it to be something that doesn't use events, has strict typing on its variables, and is synchronous. To those I say if you don't like javascript for what it is, don't use javascript.

    To preempt the answer "but what else is there to do web development"... I don't know and don't care. I'm not the one hating javascript.

    (flame on baby)!!!

    --
    it is only after a long journey that you know the strength of the horse.
    1. Re:I like javascript by Anonymous Coward · · Score: 0

      Bravo!

      I don't need no stinking framework!

  41. Anti-adblock by tepples · · Score: 1

    Lesson #1 of the Internet is that you never rely on 100% uptime for remote content.

    Tell that to operators of websites using anti-adblock. If the cross-site tracking server goes down, the site's script assumes the user is using an ad blocker.

  42. Relative pain of reloads vs. misuse of JS by tepples · · Score: 1

    Page reloads are painful, but the loss of privacy to third-party trackers, the loss of download allowance to large frameworks and video ads, and the loss of CPU time to real-time bidding and Monero mining scripts are also painful. They're so painful, in fact, that many anti-JavaScript hardliners here and on SoylentNews would prefer page reloads as less painful than the effects of widespread misuse of JavaScript.

    1. Re:Relative pain of reloads vs. misuse of JS by WinstonWolfIT · · Score: 1

      I've worked as a consultant in a good number of large commercial web companies, and I've never seen a single instance of PII being tracked, and indeed any marketing drone who asked for it was shot down from every angle: "absolutely NOT". All telemetry was restricted to aggregate usage and error logging, completely stripped. Enjoy your reloads, and good luck with your online banking.

    2. Re:Relative pain of reloads vs. misuse of JS by WinstonWolfIT · · Score: 1

      Also, in my engagements, javascript has always been minimized with cache busting used correctly, so the overhead argument is a... red herring.

  43. Downlevel browsers don't like Vanilla by tepples · · Score: 1

    Provided you're coding only for web browsers that support Vanilla. Edge and Safari, for instance, have tended to lag behind Firefox and Chrome in their Vanilla support, needing a "polyfill" framework to replicate some of the missing parts. And unless you target Edge and Safari, you won't reach Windows 10 S and iOS.

    The one silver lining is that IE prior to 11 no longer receives security updates, giving a convenient excuse not to support browsers that are that downlevel. This means the more convoluted Vanilla equivalents of jQuery calls aren't as necessary anymore.

  44. Javascript: The Debt All Men Must Pay by loslosbaby · · Score: 1

    Two interviews by small companies, from the owners, in the last month. Question: "Do you enjoy using Javascript in your approach to desktop web applications?" Answer: "Yes." Statement: "We thought you might say that. We're tired of 'Javascript' being the reason for our software being late, and buggy." Rebuttal: "Uh, but, wait, it depends on, no, really, huh? What just happened?"

    1. Re:Javascript: The Debt All Men Must Pay by kamathln · · Score: 1

      It is not Javascript . It is dependance on external sources of "Code" .. the "Javascript" or more accurately "Web technologies" are currently in flux. And hence the external sources of "Code" have more chance of bugs.

  45. Said it before: Javascript = bs & why by Anonymous Coward · · Score: 0

    See subject: Clientside script defeats client-server logic. CGIBin/WinCGI does same serverside (ISAPI/NSAPI libs/dlls too) NOT RAISING CLIENTSIDE POWERBILL/cpu cycles/RAM & other I/O.

    Clientserver = Client ASKS QUESTION (nothing more) to GET BACK ANSWERS from server.

    * Javascript's abused to deliver malware & tracking!

    (Frameworks speed delivery but CRIPPLES CODERS - I was 'addicted' to RAD but I port C to ObjectPascal & do PURE API (mostly) & use FEW prebuilt units doing my own msg loops & API creation (CreateWindowEx) controls - app = small/fast).

    APK

    P.S.=> Block 3rd party scripts via APK Hosts File Engine 10++ SR-1 32/64-bit https://www.google.com/search?hl=en&source=hp&biw=&bih=&q=%22APK+Hosts+File+Engine%22+and+%22start64%22&btnG=Google+Search&gbv=1/ before NoScript & does more efficiently in fast kernelmode vs. slow usermode increasing msgpass

  46. Brand new frameworks have brand new questions? by Wrath0fb0b · · Score: 1

    The measurement is done based on new questions and that measuring usage by "activity" is kind of ridiculous. New frameworks seem much more likely to generate SO questions. Questions about an older framework can be answered by looking at an existing project, from a blog post, tutorial or from (shock) already-written SO answers. While the data aren't conclusive either way, I think it's more plausible to believe that much of the sharp decline is due to saturation of answers to many obvious questions.

    There's also the question of how to measure 'usage' of a framework or language: is it number of new projects, number of new lines of code or amount of traffic served?

    Finally, it seems like actually the number of SO questions might have some negative component correlated to usage. Wouldn't we imagine (?) that the frameworks/languages that are intuitive and that have excellent documentation would both be preferred by developers (I sure do) and would lead to fewer SO questions. Again, this is speculation, but it goes to the question of what in the world the SO trends are actually measuring.

    TLDR: Their measurement methodology is (poorly defined and) bad and they should feel bad.

    1. Re:Brand new frameworks have brand new questions? by Paul+Fernhout · · Score: 1

      Mod parent insightful. Picking software based on the number of SO questions is a bit like picking a car based on the greatest number of consumer complaints about a car manufacturer to the Better Business Bureau.

      --
      A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
  47. Re:Skinny white 20-somethings wearing black clothe by Anonymous Coward · · Score: 0

    Or women and Indians.

    I got out of development a couple of years ago after falling into a few disastrous projects. Most of them were infected by framework jockeys (although not all JScript). Step 1 is to make a framework that's featureless but restrictive. Step 2 is to demand something the framework can't do and refuse to address that shortcoming. Step 3 is to fire programmers for falling behind on delivery expectations.

    I seriously had one job where I could get around framework bugs with a few lines of vanilla JScript or complex Reflection. The woman down the hall spent a year struggling on a single page of the application (a personnel entry form - name, address, job title, etc). Guess who gets let go for not being a team player.

    (I _was_ a team player, just at a higher level. My immediate team didn't seem interested in progressing - in the literal context of the project or adopting new skills - so I did what was best for the larger team of end-users. Oops.)

    So I went to work in operations for a few years. Figured it might be easier to just shrug my shoulders and play helpless when software didn't work. Nobody else was concerned about that state of affairs so, hey, go along to get along and keep a roof over my head. From the state of the industry these days, I wonder how many of my peers stepped back and waited for the fools to hang themselves.

    Well, the boredom has been getting to me. Headhunters are constantly calling. And it's buzzword bingo with frameworks. JQuery, Angular, React, Boost, Zipline, Turrican, Kltpzyxm, Purple Monkey Dishwater, whatever. You know, there's no right answer. You say you know whatever it is and you get into a project where some dummy has twisted a useless framework almost kinda sorta maybe do something but is now stuck and you're too handcuffed to help and pay for that "non-performance" with a firing/layoff. Or you say you ran an entire state bureau on 500 lines of JScript and get written off as not having applicable skills (you know, like the woman/Indian pulling in 50MB of frameworks that still doesn't have a working product).

    Not sure what the solution is. I figure I'll have to stay in operations, or even get out of computers, and continue writing my own software at home as the industry devolves. Seriously, when I opened an online store, I couldn't find anything that did what I needed on the storefront side, let alone back-end financials (comparing inventory, profit, loss, expenses, etc for tax purposes). That's downright depressing. The industry's turning into a ditch-digging make-work program for women and Indians. Because it sure isn't delivering the advances in information and automation that were promised when I was a kid.

  48. Back to basics and then beyond by Paul+Fernhout · · Score: 1

    LOL. Here is an example I wrote of what I am talking about that uses those approaches:
    https://github.com/pdfernhout/...

    The overall discussion here general reminds me of many health discussions on the internet about relative merits of different complex interventions and prescription drugs for various chronic diseases while avoiding discussing the root causes of so much chronic disease from poor nutrition, lack of sunlight, lack of exercise, and various other lifestyle issues (i.e. "Blue Zones" and a "Whole foods, mostly plants diet").

    In the same way, people can write decent web apps, but you have to focus on the basics and then build from there. Learn JavaScript (with all its quirks and good parts), learn CSS, and learn HTML. Then use some tools at just the right level of abstraction over that base with some discipline after learning some basic design principles -- including emphasizing simplicity: https://www.infoq.com/presenta...

    It is a tribute to Leo Horie's ( https://github.com/lhorie ) brilliance in using his (negative) experience with AngularJS to make something so much simpler as Mithril to address those sorts of root causes. And likewise for innovation by others with inventing HyperScript, Tachyons and Flux.

    Complex frameworks (e.g. Angular) typically promise they will let people shortcut all of that learning and choosing -- and the end result is often overly complex systems maintained by developers with limited understanding of both the basics and the framework. And then when things go wrong with bugs in the framework or edge cases the framework does not cover, it can be a painful experience for everyone involved -- until eventually developers go back to the basics.

    I went through that myself with Dojo/Dijit, which I though would save me time and ended up costing me more time. Although in the Dojo's toolkit's defense, it originated back when browsers were far less standard-compliant than now, and a lot of innovations in it later became integrated into standards and other libraries and best practices. So there were some good reasons to choose it a decade ago, even if those reasons are much less compelling now. New overly-complex frameworks have no such excuse.

    Here is an essay I wrote on my experience moving from Dojo to Mithril:
    http://www.pdfernhout.net/on-m...

    --
    A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
  49. Re: You want Skynet? Cause this's how you get Skyn by Anonymous Coward · · Score: 0

    Silly me thought that it was meant to be "new" and auto-correct "corrected" it to "nude". (Probably bases on statistical analysis of users search terms ;) )

    Your interpretation is more fun though. :)

  50. JavaScript NOT the main problem by Tablizer · · Score: 1

    The problem has less to do with the technology and more to do with the fad nature of the web industry

    Amen! If JS weren't the main UI langage, something else would be causing similar churn headaches. Java applets were all the rage for a while, then Flash came along with better eye-candy and kicked Java's asslet; and then JS, browsers, and CPU's caught up to Flash, making Flash shrink. Now it's a battle of JS framework of the month.

    I've seen PHB's drool over fancy-dancy JS, ignoring warnings about practicality. It's an unstoppable force. Dilbertian dystopia rules the Web.

  51. Negotiations between client and server devs by Paul+Fernhout · · Score: 1

    It's usually a best practice in corporate settings to have a well-defined long-lived data model in a database and then create views on it as needed. Applications then work from the views and might use a short-lived application-specific data model. For JavaScript apps, you might create JSON APIs connecting to the views.

    Somewhere in the social process of dividing up responsibility and labor is some negotiation between what issues are best solved by convenient views on the database versus best solved by specific applications using existing views and transforming data locally. Hard for anyone to comment precisely on such negotiations between client-side and server-side developers or how fair they are without knowing all the details.

    Some related ideas in case they help:

    I have never tried this (and unfortunately it is in PHP), but you might find restifydb of interest for some inspiration about bridging that gap: https://restifydb.com/

    That sound like a more general solution than, say, the django REST framework:
    https://github.com/django-json...

    I've also never used this, but it or something similar might be of interest for generating JavaScript models from a JSON schema ( http://json-schema.org/ ) to help bridge that client-server gap:
    https://github.com/geraintluff...

    By contrast, when I am writing independent stuff intended for individuals and small groups at the small scale (or alternatively maybe everybody on the planet at the large scale), I tend to focus on NoSQL-ish alternatives where the client-side is doing a lot more of the heavy lifting and the server-side data storage is mostly storing arbitrary JSON. That way I don't have to manage much of a server-side data model or worry about upgrades to table layout or indexes.

    But I know that ad-hoc NoSQL approach usually might not be best for most corporate applications in a middle scale where a well-maintained corporate database can be central to success and there are full-time knowledgeable DBAs around to take care of it. PostgreSQL increasingly is the best of both worlds, with good support for random JSON when you want it and otherwise being a great SQL database.

    --
    A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
  52. js == teenager 'language' (VB for millenials) by Anonymous Coward · · Score: 0

    The audience which seems to program in JS is dominated by a fairly young demographic. More interested in 'trying new stuff' than delivering stable results, and focused upon by non-programmers. A year ago I got a 'lesson' in JS from a nephew (age 12) - he knew how to use some of the APIs, but did not understand a number of key computing issues in depth: memory management, etc.

    Compare that level of skills with those required to implement libc, shall we? If you write JS code, you have zero chance of implementing sprintf(), let alone an efficient strcpy().

    But JS is a reasonable starting point for folks with zero programming background. Just like VB was dominant 15 yrs ago

  53. Re:What does this say? Vibrant, helpful community? by fygment · · Score: 1

    The frameworks arise as members of the community try to implement interesting development ideas or facilitate advanced programming for people with less advanced skills. It may not be the greatest language but the community is a helpful one and the language is one where new users can easily create projects that mean something to them eg. a website. That is why it is popular and appealing. A similar phenomenon can be seen in the scientific community where Python is on the rise even though programming elitists will tout the superiority of FORTRAN or C for number crunching. I would go so far as to say that C/C++ and JAVA will only survive because JS facilitates people getting in to programming, people who as they gain more experience will turn to those other languages as necessity requires and keep them alive. So consider JS a valuable resource in enticing people to take up the profession and the abundance of frameworks a sign that the community is vibrant.

    --
    "Consensus" in science is _always_ a political construct.
  54. The foundation is cracked by rhyous · · Score: 2

    JavaScript itself sucks. So no matter how good a framework appears to be, it sucks because it's foundation sucks, which leads to someone trying to fix it.

    Don't worry, it will be fixed.

    By removing JavaScript in favor of a type-safe languages compiling to WebAssembly.

  55. Re:What does this say? Vibrant, helpful community? by plopez · · Score: 1

    Or is it popular because mgmt. dictates it?

    --
    putting the 'B' in LGBTQ+
  56. Retard spammer APK spams again by Anonymous Coward · · Score: 0

    Looks like that retard spammer Alexander Peter Kowalski spams again.
    No one asked about your retard work yet like a retard you spam it in an incoherent manner.

  57. Interest-based advertising by tepples · · Score: 1

    I've never seen a single instance of PII being tracked

    Let me guess: the sites for which you consulted either A. are paywalled, B. are donation-supported and run by a charity, or C. exist to sell some real-world product, as opposed to being funded by advertising on them. I make this guess because ad networks and ad exchanges track viewing history across publisher sites that contain the particular company's ad code in order to build an interest profile on each viewer.

    1. Re:Interest-based advertising by WinstonWolfIT · · Score: 1

      So what? You'd give up banking sites and travel sites with a bone fide revenue model because they're well crafted with javascript?

    2. Re:Interest-based advertising by tepples · · Score: 1

      So what? You'd give up banking sites and travel sites with a bone fide revenue model because they're well crafted with javascript?

      I myself am not an anti-script hardliner, but I have tried to understand their position that ad-supported sites have poisoned the well. Some members of Slashdot and SoylentNews (at least claim to) choose a bank or a travel provider based on how well the company's website works with script turned off or with only identifiably free scripts turned on. Some of them claim to be willing to fall back to doing business with these companies by mail, over the telephone, or in person, as it was before JavaScript existed.

  58. Or maybe all of the main questions have already be by Anonymous Coward · · Score: 0

    Once a framework has been around for a while, tons of questions will have already been asked and answered. Google will lead people to those answers, and there's no need to keep adding more questions.