Slashdot Mirror


Google's New Angular 2.0 Isn't Compatible With Angular 1 (techcrunch.com)

An anonymous Slashdot reader quotes TechCrunch: When Google announced Angular 2 in 2014, it created quite a stir in the web development community because this new version wasn't just an update, but instead a complete rewrite that wasn't compatible with the older version... "Angular 1 first solved the problem of how to develop for an emerging web," the company writes... "Six years later, the challenges faced by today's application developers, and the sophistication of the devices that applications must support, have both changed immensely."
Announcing the final release version of Angular 2 last week, Google thanked the open source community, saying "We are grateful to the large number of contributors who dedicated time to submitting pull requests, issues, and repro cases, who discussed and debated design decisions, and validated (and pushed back on) our RCs." TechCrunch writes that Google's Angular team "now also recommends that developers use TypeScript to write their apps...a Microsoft-developed superset of JavaScript that adds features like static typing and class-based object-oriented programming."

121 comments

  1. duh.... by theNetImp · · Score: 4, Interesting

    That's because it's a complete rewrite, and anyone who has been around for the last year who develops Angular already knew this.

    1. Re:duh.... by K.+S.+Kyosuke · · Score: 5, Funny

      Or, they're jealous of Swift 3.0.

      --
      Ezekiel 23:20
    2. Re:duh.... by Idimmu+Xul · · Score: 2

      can't mod you so just posting to concur. this is a non-story.

      --
      The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
    3. Re:duh.... by Anonymous Coward · · Score: 1

      announced in 2014 and known *THEN* to be incompatible... why is this "news" on /. in 2016? surely it wouldn't be front page material here til at least 2017 or 2018.

    4. Re:duh.... by s1d3track3D · · Score: 2

      I'd like to concur as well but that would make this comment incompatible with my previous comment on swift

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

      Let's see who gets to version 50 first!

    6. Re:duh.... by Anonymous Coward · · Score: 0

      It's also fair to mention two different versions with two different purposes as well.

      - Angular 1 for Mobile Web using JavaScript
      - Angular 2 for Hybrid Web apps using TypeScript

    7. Re:duh.... by Anonymous Coward · · Score: 0

      Fucking Python 2 --> 3

    8. Re:duh.... by pushing-robot · · Score: 2

      It's a complete rewrite, and it uses a lot more *standards* like ES6 and Web Components. Many of the changes in Angular 2 have been replacing Angular's own features with polyfills awaiting native browser support.

      Admittedly the new standards are, well, new and take some getting used to, but they add a lot of sorely needed improvements and in time developers will be glad Angular went this route rather than sticking with their old workarounds and proprietary implementations.

      --
      How can I believe you when you tell me what I don't want to hear?
    9. Re:duh.... by firewrought · · Score: 2

      in time developers will be glad Angular went this route

      Many technologies have gone this route (breaking backwards compatibility to achieve "perfection"), and most have failed. Consider Perl 6, D 2, Python 3 (which is slowly working, but it's taken a very long time), KDE 4, Gnome 3 (slowly working, maybe). And those technologies don't move at the pace of the JavaScript ecosystem.

      Maybe since Google's backing this, it will ultimately succeed. Corporate backing seems to trump everything.

      --
      -1, Too Many Layers Of Abstraction
    10. Re:duh.... by Anonymous Coward · · Score: 0

      Yeah, this is not a surprise to any front end developer who works with Angular.

      And that's why it's a major version number update. I'm always of the mind that if you break the API, you bump the major version number. Or the name, but in that case the name usually becomes Foobar2 - the major version is in the name, derp.

    11. Re:duh.... by Anonymous Coward · · Score: 0

      Gnome 3 and KDE are both working well now. It took me a loooooong time to come around to Gnome 3 but now that it's getting usable it's nice enough. Not sure I like how sparse it is, but Plasma is just too resource hoggy on my machines. :(

  2. It can join python 3m=, vb.net, and perl 6 by Billly+Gates · · Score: 1

    It wont ever be implemented as long as the previous is supported. Shoot my employer still supports IE 6 and would only still use it if MS didn't force change.

    I said the same comment on previous story with Swift. People never learn once something is etched it is the word of God and is almost impossible to change

    1. Re:It can join python 3m=, vb.net, and perl 6 by bluefoxlucid · · Score: 1

      VB.net is heavily used in the Social Security Administration; their development policy forbids C# because they've standardized on VB.net as a codebase. Most other shops don't use VB.net because they've left VB.

      Python 3 is the current standard, used in most new modules, new programs, up-to-date versions of most core distribution utilities written in Python, and in academic works (all books which use Python as a reference language now use Python 3).

      Perl is garbage, and anyone who uses Perl is stuck in the 80s. After security and code maintainability became a concern, Perl went out of favor.

    2. Re:It can join python 3m=, vb.net, and perl 6 by Ol+Olsoc · · Score: 1

      It wont ever be implemented as long as the previous is supported. Shoot my employer still supports IE 6 and would only still use it if MS didn't force change.

      I said the same comment on previous story with Swift. People never learn once something is etched it is the word of God and is almost impossible to change

      A fundamental difference between regular business people, and computery people. They don't want to rework everything, and we'll rework everything because of because.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    3. Re:It can join python 3m=, vb.net, and perl 6 by Junta · · Score: 2

      That's an overly rosy picture of Python 3. Install most linux distros and run 'python'. Odds are overwhelming that it will be python 2.

      There are plenty of modules that *still* are python 2 only. Most are developed to work with both python 2 and 3. Very very few are python 3 only.

      Now it's not as bad as angular 1 -> 2, it's *generally* not too terrible to accomodate both python 2 and 3 in the same codebase. You only get to pulling your hair out if you do a lot with binary data, and even then it's not too terrible. Python 3 could have done some other nice things, like recognizing xrange as an alternative name for range, viewitems as a name for items, and other similar things that would make it much easier to go to python three without either doing your own interop or using six all the time. On the flip side, when dealing with a framework like angular, you are *generally* less worried about end-users (you provide the entire runtime) versus something like python, where the non-developer users bring their version of the interpreter to your code.

      There's another headache when it comes to living in python 2 world. They decided 2.7 was going to be the last, end of story. As a consequence, 'minor' 2.7 updates are now introducing featurues causing the same sort of compatibility caveats that you historically only saw on 2.5->2.6 type updates.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    4. Re:It can join python 3m=, vb.net, and perl 6 by phantomfive · · Score: 1
      No lol. For example:

      Looking at the PyPI download statistics1, the Python 3 situation seems gloomy: all Python 3 versions together are about as popular as Python 2.6 that nobody should use anymore.......Python 2.7 still growing.

      Your VB.net idea is also off, I know several shops who use it (no idea why)

      --
      "First they came for the slanderers and i said nothing."
    5. Re:It can join python 3m=, vb.net, and perl 6 by mbkennel · · Score: 2

      | A fundamental difference between regular business people, and computery people. They don't want to rework everything, and we'll rework everything because of because.

      They don't want to rework everything (in the technology), because their career success depends on advancing the business. In the areas that they work on and are part of their career evaluation, there is plenty of churn in initiatives, reorganizations, and management styles and 'paradigms'.

      The technologists have the same problem doing excessive reworking and rewriting their frameworks and 'paradigms' and deployment platforms etc for their own career desires, and have the same opinion of useless management fad changes as the business has with technology fad changes.

    6. Re:It can join python 3m=, vb.net, and perl 6 by bluefoxlucid · · Score: 1

      I mean, Ubuntu's tools are #!/usr/bin/python3, and portage is python3-based. Some distros don't even come with python2, but the majority still do seem to have python2.7 as the default python--probably because /bin/env python has always been python2.7, and python3 is now referenced as python3.

      That is to say: most .py scripts targeting python 3 look for an executable called "python3", because most .py scripts targeting python2 look for an executable called "python". Unless you can rewrite all existing Python scripts to look for a python2 executable, you probably want "python" to be Python 2.7, and "python3" to be Python 3. Likewise, "perl" will probably never mean "perl6".

    7. Re:It can join python 3m=, vb.net, and perl 6 by bluefoxlucid · · Score: 1

      The assertion was VB.NET didn't gain popularity because people stuck with VB. I asserted most shops don't use VB.NET because they no longer use VB; that is: the shops that use VB.NET are irrelevant for this conversation mainly because the supposed shops sticking to VB6 ... aren't. Who is still using VB6?

  3. subject by TFlan91 · · Score: 1

    typescript adds "class-based object-oriented programming".

    Lie.

    "Classes" existed already as prototypes, and with ES6 you can create those prototypes with your favorite "class" definition.

    I'll never be using typescript so I'll never be using angular2. As much as I loved working with Angular1, I'll instead move to reactjs.

    1. Re:subject by cen1 · · Score: 1

      I might use Angular 2 but I definitely won't be using TypeScript, ES6 all the way.

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

      In typescript the base class's prototype's members are copied to the children when the class is loaded, so it's a bit different

    3. Re:subject by jblues · · Score: 1

      What about aurelia.io? The way it was described to me was "the smart people from the angular team left and formed aurelia". Haven't tried it yet myself.

      --
      If it acquires resources on instantiation like a duck, then its a shared_ptr<Duck>
    4. Re:subject by Required+Snark · · Score: 2
      Angular 2 works with JavaScript. You don't have to switch to TypeScript to use it. There's even a tutorial for Angular 2 with JavaScript on the Angular site.

      Your decision making process would be better if your opinions had a better factual basis. On the other hand, this is Slashdot and facts don't count for much around here. You fit right in.

      --
      Why is Snark Required?
    5. Re: subject by Anonymous Coward · · Score: 0

      copied? the fuck?

      they're not classes and OOP. they're something that resembles it but where you lose all your memory etc benefits from oo flexibility. .. and yes even 99% of java programmers don't know how much memory an inheritance can add vs. adding to the parent class.

      which is also why samsungs home screen takes 100mbyte of ram, while it could be done with 20. the samsung "easymode" homescreen can be functionally cloned to use just 5(!) mb.

  4. Quire a stir... by Chrisq · · Score: 5, Funny

    When Google announced Angular 2 in 2014, it created quite a stir in the web development community because this new version wasn't just an update, but instead a complete rewrite that wasn't compatible with the older version

    Such a stir that it was noticed by Slashdot in 2016

    1. Re:Quire a stir... by K.+S.+Kyosuke · · Score: 1

      Considering that Slashcode is scheduled to upgrade to Angular 1.0 in 2027, some forward thinking is warranted here, wouldn't you say?

      --
      Ezekiel 23:20
    2. Re:Quire a stir... by jrumney · · Score: 4, Funny

      It is a new Slashdot new policy of being fair and balanced. An Emacs story has to be followed immediately by a similar but weeks old VIM story, and a Swift story has to be followed immediately by a similar but years old Angular story.

    3. Re:Quire a stir... by Anonymous Coward · · Score: 0

      Techcrunch you fuckstain. I know all the words confuse you....

  5. Don't reward hostile vendor behavoir by Anonymous Coward · · Score: 1

    Google has taken a community-hostile position to destroy the future value of all apps unfortunate enough to have selected Google as an honorable vendor and adopted Angular as a key technology.

    For their troubles, adopters of Angular have seen their investments discarded, and told to rewrite their apps so Google can make more money.

    F that.

    1. Re:Don't reward hostile vendor behavoir by TFlan91 · · Score: 1

      They don't make any money off of Angular... it's completely open-source.

    2. Re:Don't reward hostile vendor behavoir by TheRaven64 · · Score: 1

      This is situation normal for Google coders. They have really good in-house refactoring tools and absolutely no clue about API design. As such, every iteration of every Google product involves massive code refactorings to fix poor API design choices in the previous one, which has little impact in house because the migration is largely automated.

      --
      I am TheRaven on Soylent News
    3. Re:Don't reward hostile vendor behavoir by Anonymous Coward · · Score: 0

      Not just Google. "Language is owned by $largecorporation" and "Language keeps mutating and breaking the API all the time" are equivalent. Anyone who buys in should have their eyes open to this, and deserves exactly what they get.

    4. Re:Don't reward hostile vendor behavoir by bluefoxlucid · · Score: 1

      Yes well. This is why we don't use C++ or anything else that tries to not break compatibility. Hilarious artifacts of the past.

  6. really? by Anonymous Coward · · Score: 0

    We alreaddy knew this for 2 years. The moment i start getting proggraming news ofrom teccrunch is when it's time to give up on that language

  7. react is here now... by s1d3track3D · · Score: 1

    either way, it's not with compatible to compete with React anyway

    1. Re:react is here now... by Anonymous Coward · · Score: 0

      react this react that reactreactreact.

      you know what react really is? what does it help you, as a programmer? frigging nothing. does it help you in writing multicore logic? not really at all.
      does it help you in following what gets executed after this or that? not really at all.

      does it make things faster? not at all, how the f could it. if you just want the system to call a function/method for you in another class just call the frigging method. having some hackjob code go through function/method definitions to find the right one is a) stupid b) slow z) hard to follow and xyz) makes everything more complicated than simplified.

      IF YOU JUST WANT FUCKING GLOBAL FUNCTIONS USE STATIC METHODS YOU IMBECILS!

    2. Re:react is here now... by Anonymous Coward · · Score: 0

      Ahem. Calling people imbeciles when it's fairly obvious you haven't a clue what you're talking about makes you look like... Well, take a wild guess.

  8. Knockout by Anonymous Coward · · Score: 0

    I use knockout.
    Much simpler.
    http://knockoutjs.com/

    1. Re: Knockout by TimMD909 · · Score: 1

      I do as well. Stable. Simple. What's not to love?

  9. Wot? by dohzer · · Score: 1, Interesting

    What is Angluar?

    1. Re:Wot? by Anonymous Coward · · Score: 0

      Some Javascript framework, if I'm not mistaken

    2. Re:Wot? by Mortimer82 · · Score: 0

      A mistype of the word "Angular"?

      Any half competent person in front end web development knows what it is, if you're not in that segment of the software development industry, then it is likely that it is of absolutely no interest to you, in which case feel free to move onto the next story.

      If you're interested in making yourself more generally knowledgeable and finding out more about Angular, Google it, assuming you know what Google is.

    3. Re:Wot? by Anonymous Coward · · Score: 0

      And if you're interested in being a complete douchebag, click on Mortimer82's username and study his posts!

    4. Re:Wot? by Anonymous Coward · · Score: 0

      That depends. Do you mean Angular 1? Or Angular 2?

    5. Re:Wot? by LordLucless · · Score: 1

      It's a MVCish javascript framework. It's main claim to fame is data-binding. You can write all your HTML and decorate it, and use minimal markup to bind data to elements. Then you can do all the computation in abstract models, and the frontend is automatically updated as data changes. Its nifty, but its more for web-apps than websites.

      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
    6. Re:Wot? by PmanAce · · Score: 1

      Why wouldn't websites want to benefit from data-binding? I have worked on large ERP style websites with data-binding and it does work well too.

      --
      Tired of my customary (Score:1)
    7. Re:Wot? by tepples · · Score: 1

      If you have an "ERP style website", it's probably a web application.

    8. Re:Wot? by Anonymous Coward · · Score: 0

      >Any half competent person in front end web development knows what it is
          Insult much?

      >if you're not in that segment of the software development industry, then it is likely that it is of absolutely no interest to you,
          Some people come here to learn, read, and expose themselves to new stuff. Are you not into such things- do you love your custom news feeds, custom ads, and custom tiny-view you've allowed the internet to offer you?

      >in which case feel free to move onto the next story.
          Again, the curse of 'customization'. Will we never be exposed to new stuff? Or relate to our front-end developer friend/family member? Thanks for the warm welcome to your sacred subject matter.

      >If you're interested in making yourself more generally knowledgeable and finding out more about Angular, Google it,
          Ahh yes, the 'ol "look elsewhere for info on exactly what is being discussed here" response. There are others who like to talk about their favorite subjects & others who like to read about them. At your next visit to a restaurant, shall the waitron not tell you the specials of the day since you can read can't you?

      >assuming you know what Google is
          Aaaand the ending insult again. Tell you what, when you've graduated to being human and non-autistic enough to interact with others, we may look up to you as the penultimate authority on your favorite subjects. Until then, don't pretend to sit at the top of the mountain- your ugly rambling to those climbing upwards just show how low you still are on the mountain. You do know what topography is, don't you?

    9. Re:Wot? by Anonymous Coward · · Score: 0

      Thank You LordLucas!
          *(Mortimer82 - take note you lump)

    10. Re:Wot? by angel'o'sphere · · Score: 1

      Do you really want me to point you to Pythagoras and Euclid?
      Here you go ...
      Euclid: https://en.wikipedia.org/wiki/...
      Pythagoras: https://en.wikipedia.org/wiki/...
      Of course there are more in depth considerations about angulars ... e.g. momentum, probably by Newton ...

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    11. Re: Wot? by Mortimer82 · · Score: 1

      Since you don't actually know me, you can be forgiven for your complete ignorance into the irony of your assertions.

      I started off my career as a computer technician but self taught myself to become the professional software developer that I am today.

      Believe it or not it, it was in no small part thanks to Slashdot and by my doing research on technologies mentioned in articles featured here.

      So while some people like to sit and moan as AC on Slashdot, I use it as one of many sources to keep a pulse on what is happening in my industry. If I read about something I haven't heard of before, I research it to at least understand the problem it's trying to solve and to be able to keep it in mind for the future in case I encounter a problem for which it may be an appropriate solution.

      Perhaps I was a bit harsh, or fed a troll, but the comment I replied to was either genuinely trolling or otherwise deserves to be called out on its apathetic nature.

      As a side note, I do not generally work on web front ends and haven't really worked with Angular, I just know of it as it's immensely popular.

    12. Re:Wot? by Anonymous Coward · · Score: 0

      Hey dipshit you're not on reddit anymore. I know your too dumb to notice, but maybe, just maybe, you looking like an ass may make you think and remember next time.

    13. Re:Wot? by PmanAce · · Score: 1

      Now you are just using the semantics card.

      --
      Tired of my customary (Score:1)
    14. Re:Wot? by Anonymous Coward · · Score: 0

      "It's supposed to be good for you."
      "Did you try it?"
      "I'm not gonna try it, YOU try it!"

    15. Re:Wot? by Hognoxious · · Score: 1

      I don't know that. AAAAAAARGH!!!!

      https://www.youtube.com/watch?...

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  10. Welcome to the 21st century. by jellomizer · · Score: 1

    When you jump onto the newest technology for development there is always a risk that it will die out or be rebooted in a new version.
    The problem software development process needs a period of wide usage for people to find where the pain points are. Sometimes those pain parts are part of the root code as they were at the time considered an acceptable trade off, only to later realize it is a big problem.

    If you are learning or playing with the technology rusing v1 is good. If you are trying to make a professional system for long term usage you may want to fall back on the older more established alternatives such as jquery while may not solve the problems the same way as angular it will get the job done and has a long track record.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  11. DUH! by Anonymous Coward · · Score: 0

    A rewrite does not have to be incompatible. It usually does so though. A rewrite could be a rewrite of implementation only while keeping API

    1. Re:DUH! by theNetImp · · Score: 1

      yes you are right it doesn't have to be incompatible, but again we've known it was going to be incompatible for over a year so it's not news.

  12. But is it compatible with SWIFT 2.3?? by Anonymous Coward · · Score: 0

    But is it compatible with SWIFT 2.3??

    I must know!

    1. Re:But is it compatible with SWIFT 2.3?? by Rockoon · · Score: 1

      Only SWIFT 2.3 is compatible with SWIFT 2.3.

      --
      "His name was James Damore."
  13. Title? by cen1 · · Score: 1

    Is this yet another clickbait title? The real news here is that final release is out but the title is about compatibility which was known for 2 years? What the hell!

    1. Re:Title? by Luthair · · Score: 1

      I suspect you'll find most people wouldn't have known about it, I didn't until earlier this year and have been using Angular 1 for an enterprise application for 5-years. I can't see us re-writing the application so we'll be sticking with 1.x, and if we do eventually then why would we choose Angular 2? Fool me once....

  14. Re:Typescript aka embrace, extend, extinguish by erikkemperman · · Score: 0

    Um, yeah, that's not how it works. It's all open source. And actually, from my personal point of view, TypeScript might very well be the first MS-developed tool I've had on my machines in, oh, 15 years. And it is actually very nicely done.

    --
    Gosh, thanks. That must be why the other ships call me Meatfucker -- GCU Grey Area (Eccentric)
  15. The way the web works by Anonymous Coward · · Score: 1

    Everything on the web is always a complete rewrite. It is like each year a bunch of new CS grads turn up who are hell bent on 'fixing the internet' by creating a new unifying platform. There is even a sort of cyclical way in which we go through imperative -> OO -> functional and back again as the magical way in which every app ever conceived could be written better. Same happens for design patterns, test strategies, and whatever is the latest model-view-whatever thing. My favorite is when scripting programmers discover pointers and low level memory management and act like they have reached enlightenment.

    The whole thing is like groundhog day with different terminology if you stay in the industry for more than a generational cycle, which I guess might be a contributing factor to why most programmers don't last that long.

    1. Re:The way the web works by Anonymous Coward · · Score: 0

      What I love is all the fancy new NoSQL database technologies, that are really just copies of 60's tech like ISAM and IDS!

      And then they discover things like transactions! Partioning! Clustering!

      At least databases seem to have a 50-year cycle, huh?

      dom

    2. Re: The way the web works by prefec2 · · Score: 1

      Web systems are reactive systems. Therefore, you have events which trigger functions/transformations wich modify data and returns an reply. This can best be realized with functional programming style and object types. But, yes, technology stacks go in circles instead forward. And with JavaScript it can cycle back. Using a duck typed language is a nightmare for software evolution. Fortunately, Google advices to use TypeScript which fixes this issue. Again.

  16. Thick client JS frameworks are the new Flash by Kethinov · · Score: 1

    I've been aghast at the broad adoption of thick client JS frameworks on the open web and a growing open hostility towards progressive enhancement, as if it's somehow not possible to build a single page app without totally breaking everything that makes the web a great platform.

    There is a reasonable argument to be made that the vast majority of websites should not be using one of these, as the majority of these frameworks are incompatible with progressive enhancement and progressive enhancement is still the best way to build most sites. I firmly believe vanilla JS should be everyone's default. There are exceptions, but those exceptions are very narrowly tailored. I think this article which outlines those exceptions should be required reading for every web developer.

    It seems like a lot of people these days don't realize you can build single page apps using progressive enhancement. And when you do, they perform better and are more fault tolerant while avoiding an unnecessary hard JS dependency. This whole stereotype you hear from people about single page apps being the future and progressive enhancement being the past is the most annoying false dichotomy ever. You can do both so long as you consider choices other than big, largely badly designed frameworks. It seems like most people who use Angular just want to make websites that don't reload the page when you click links. Maybe consider using a client-side router library instead of a giant monoframework. Way less code that has to be dumped on the user.

    I'm not saying it isn't possible to use the big monoframeworks responsibly. The article above outlines good use cases for them. If you're building a client-only Electron app for instance, then go nuts with React or whatever if you like it. But seeing people design regular websites on the open web that are mostly just text, forms, and images using things like Angular and React is the biggest, most depressingly popular cargo cult antipattern we've seen since the days of Flash sites.

    --
    You're right, I wouldn't steal a car. But if it were possible, I sure as hell would download one!
    1. Re:Thick client JS frameworks are the new Flash by Ken+D · · Score: 3, Insightful

      Where can I download this "progressive enhancement" framework that you speak of?

    2. Re:Thick client JS frameworks are the new Flash by zifn4b · · Score: 1

      It's not out yet but you can grab the beta with NPM using npm install angular2: https://www.npmjs.com/package/...

      --
      We'll make great pets
    3. Re:Thick client JS frameworks are the new Flash by gustygolf · · Score: 1

      One web site I used to use apparently introduced Angular to its codebase.

      With it, there came a super-long CSS rule that says display: none to pretty much everything. Every single page is completely blank to me now. (I'm a NoScript user.)

      Here's the rule, at line 2248 (out of 2713) in angular-material.min.css:

      @media (min-width:1280px) and (max-width:1919px){.hide-gt-md:not(.show-gt-xs):not(.show-gt-sm):not(.show-gt-md):not(.show-lg):not(.show),.hide-gt-sm:not(.show-gt-xs):not(.show-gt-sm):not(.show-gt-md):not(.show-lg):not(.show),.hide-gt-xs:not(.show-gt-xs):not(.show-gt-sm):not(.show-gt-md):not(.show-lg):not(.show),.hide-lg:not(.show-lg):not(.show-gt-md):not(.show-gt-sm):not(.show-gt-xs):not(.show),.hide:not(.show-gt-xs):not(.show-gt-sm):not(.show-gt-md):not(.show-lg):not(.show){display:none}

      (There are three or four such identical rules, for different device widths.)

      --
      "Slow Down Cowboy! It's been 58 minutes since you last successfully posted a comment" -- slashdot, driving users away.
    4. Re:Thick client JS frameworks are the new Flash by Anonymous Coward · · Score: 0

      I'm sure some business douche decided that would be a good idea, in the same way that DRM is a good idea to business douches. You have to have Javascript running to reveal the web site content... which also conveniently allows them to inject advertising for monetization. Luckily there are plenty of plugins out there that allow you to set custom styles on a per-site basis.

    5. Re:Thick client JS frameworks are the new Flash by bluefoxlucid · · Score: 1

      For anything non-trivial, your argument is essentially, "Don't do any planning, ignore all architecting, and spend 90% of your time refactoring unnecessarily, all while creating endless bugs and breaking anything."

      For trivial, 15-line stop-gaps that are going to be thrown out for a real solution in 4 months, your argument is valid.

    6. Re:Thick client JS frameworks are the new Flash by Anonymous+Brave+Guy · · Score: 5, Informative

      I think you have to start by running

      npm install knowledge skill wisdom

      They have a common dependency on experience, so it can be a bit time-consuming to get them all, maybe a few years. Also, depending on your environment, some of them may fail to install.

      The good news is that you've got them, it's very quick to set up other useful things like stability, future-proofing, and even progressive-enhancement, with minimal dependencies on other JS packages.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    7. Re:Thick client JS frameworks are the new Flash by gustygolf · · Score: 1

      It was actually a hobby paid-out-of-one's-pocket web site, not a business-run one. No advertisements that I've noticed.

      I should've foreseen that something like this would happen when they said they were looking for "UX experts" about a year ago.

      --
      "Slow Down Cowboy! It's been 58 minutes since you last successfully posted a comment" -- slashdot, driving users away.
    8. Re:Thick client JS frameworks are the new Flash by __aaclcg7560 · · Score: 1

      My solution to this problem is to convert dynamic websites to static websites. Script kiddies hate static websites as there is nothing to hack into.

    9. Re:Thick client JS frameworks are the new Flash by Anonymous Coward · · Score: 0

      They might go oldskool and bruteforce the FTP you used to transfer the static files.

    10. Re:Thick client JS frameworks are the new Flash by __aaclcg7560 · · Score: 1

      They might go oldskool and bruteforce the FTP you used to transfer the static files.

      They can try if they can get around the two-factor authentication.

    11. Re:Thick client JS frameworks are the new Flash by gustygolf · · Score: 1

      Well, it seems I was wrong here. It was not that CSS rule that was at fault. It was the one on line 1155, called "ng-cloak". Apparently its inclusion "prevents flicker on page load", according to w3schools.

      The mistake I did is understandable when you are dealing with 308 KB of CSS minified to a single line. (The line numbers I mentioned came from manually line-breaking the file.)

      --
      "Slow Down Cowboy! It's been 58 minutes since you last successfully posted a comment" -- slashdot, driving users away.
    12. Re:Thick client JS frameworks are the new Flash by Kethinov · · Score: 1

      The argument that "my app is too complex for PE" is intuitive and popular, but the trouble here is people tend to project far more complexity on to their projects than is actually there. The vast majority of web applications are simple CRUD with some UI polish, but the authors of many such apps think they're building some crazy complex thing that's incompatible with PE. Rarely is that ever the case. I worked on some of the most complex web applications ever written in Silicon Valley and I can say from personal experience the majority of them didn't need a thick client JS framework. The ones that were using them would've been better codebases if they were vanilla JS + a collection of small single purpose modules. Almost all single page apps can and should be built with PE and very few wouldn't benefit from it. There are exceptions, but they're very, very rare.

      --
      You're right, I wouldn't steal a car. But if it were possible, I sure as hell would download one!
    13. Re:Thick client JS frameworks are the new Flash by bluefoxlucid · · Score: 1

      Complexity is a matter of how many moving parts you have and how they fit together. If you have non-trivial pieces that someone else built, it's worth eliminating the risk of creating new bugs by using something that's been tested widely.

      If your application is 6 megabytes of code, or 0.8 megabytes and some libraries, maybe you should bring in the external code. This is the same reason we have GTK, libsockets, and OpenSSL instead of a bunch of custom implementations of just the bits you need.

  17. Anyone can have 50 versions... by mschaffer · · Score: 2

    Anyone can have 50 versions, but let's see if Apple and Google can get 50 versions that are incompatible with the previous one and still have anyone want to use it.

    1. Re:Anyone can have 50 versions... by Anonymous Coward · · Score: 0

      Seems to have been working fine for Microsoft all these years.

  18. Déjà vu, all over again. by mschaffer · · Score: 1

    Ok everyone, turn the crank one more time!

  19. "the challenges faced by today's application devs" by Viol8 · · Score: 3, Interesting

    .. are partly the constantly mutating APIs! Irony, much??

  20. Also in the news by Anonymous Coward · · Score: 0

    blunderbuss shot is not compatible with an M20 rifle

  21. Last version by 110010001000 · · Score: 1

    This is the last version of Angular. A year from now Google will drop it in favor of Jula 1. Angular was soooo boring. Hope you didn't put much effort into learning it!

    1. Re:Last version by Anonymous Coward · · Score: 0

      This is the last version of Angular. A year from now Google will drop it in favor of Jula 1. Angular was soooo boring. Hope you didn't put much effort into learning it!

      This is the last version of Angular. A year from now Google will drop it in favor of Jula 1. Angular was soooo boring. Hope you didn't put much effort into learning it!

      You might be more right than even your sarcasm can handle. /sarcasm

  22. Re: "the challenges faced by today's application d by Anonymous Coward · · Score: 0

    yeah.

    even more irony is that you kind of lose all benefits of node by piling shit on top of it. might just as well made the whole shit as it's own vm.

  23. Angular is obsolete by Anonymous Coward · · Score: 0

    react is where it's at. Even google uses it.

  24. Re:Chelsy Manning by Anonymous Coward · · Score: 0

    off topic, sure, but I wonder how much of this was pre planned.

    Manning wanted to change genders,but didn't have the funds.

    Plan:
    1) Release sensitive data
    2) get caught
    3) Transition in prison on Gov dime.

  25. Painful to read this word salad by ilsaloving · · Score: 3, Insightful

    Angular 1 first solved the problem of how to develop for an emerging web,"

    *What* "emerging web"? The web has been around for decades now. The only thing that's changed is the fact that there are now even more unnecessary layers of javascript on top of everything than there was before.

    "Six years later, the challenges faced by today's application developers, and the sophistication of the devices that applications must support, have both changed immensely."

    Yeah, because asshats like you keep reinventing the wheel and forcing everyone to relearn what they already knew, throwing away hard won lessons in the process, and resulting in poorer quality code overall because no particular language or API seems to last long enough anymore for people to become proficient enough in it to deal with all the inevitable bugs.

    Why even call it Angular if it's completely incompatible with the previous version?

    1. Re:Painful to read this word salad by Anonymous Coward · · Score: 0

      Yeah, because asshats like you keep reinventing the wheel and forcing everyone to relearn what they already knew, throwing away hard won lessons in the process, and resulting in poorer quality code overall because no particular language or API seems to last long enough anymore for people to become proficient enough in it to deal with all the inevitable bugs.

      Why even call it Angular if it's completely incompatible with the previous version?

      Imagine in C had been as short-lived as some of these web development frameworks. Linus would have resorted to developing the Linux kernel using assembly language and all the GNU utilities would have been obsoleted.

    2. Re:Painful to read this word salad by Anonymous Coward · · Score: 0

      Why even call it Angular if it's completely incompatible with the previous version?

      You can ask the same question about Python 2 and Python 3.

    3. Re:Painful to read this word salad by Anonymous Coward · · Score: 0

      I completely agree. Google should call Angular 2 something else.

    4. Re:Painful to read this word salad by Anonymous Coward · · Score: 0

      I don't know what the emerging web means, but Angular 1.x and Backbone were huge in changing the way the frontend is developed. These frameworks brought the templates meant for a browser out of backend and closer to the javascript. The "extra layer" is great if it helps facilitate teams of developers and provide an efficient means to unit test code.

      As far as Angular2 goes, it's not exactly solving anymore problems than React already has, and React just does it better. I personally see Angular 1.x sticking around for awhile even without official Google support, it'll just be picked up by the already massive community.

    5. Re:Painful to read this word salad by angel'o'sphere · · Score: 1

      *What* "emerging web"? The web has been around for decades now.
      I beg to differ!

      Last night, very early, I opened my kitchen window. To let cold air in.
      This morning, relatively late, I went to the bath, but closed the kitchen window first.

      The Web was not there the night before!!!! I swear!!!

      (As a side note, it was impressive that the single spider thread going at least 2m through the room caused enough physical force on my forearm that I noticed it ... and even moving like 50cm did not break it ... it still was completely invisible.

      Probably an AGW invasion species of super silk producing Mongolian invading mini spiders. I hope it does not break into the fridge and eats myyyy fooooood!!!

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    6. Re:Painful to read this word salad by Anonymous Coward · · Score: 0

      LOL. Angular absolutely solves problems React doesn't. Angular is a very opinionated MVC which provides 2 way bindings, routing, networking, etc. React is a rendering library.

      IMO the reason React garnered so much interest is because it doesn't actually do much which is perfect for engineers who don't really understand the problems of commercial software development (maintenance, readability, etc).

    7. Re:Painful to read this word salad by ilsaloving · · Score: 1

      Never. Visiting. Your. House. Ever.

      *shudder*

    8. Re:Painful to read this word salad by ilsaloving · · Score: 1

      You can ask the same question about Python 2 and Python 3.

      You're absolutely right. That's why I don't use Python for anything large or involved either. There's no point writing anything larger than a few basic scripts when a language is going to pull the rug out from under you in almost every major version.

    9. Re:Painful to read this word salad by Anonymous Coward · · Score: 0

      I was comparing Angular2 to React. I understand Angular 1.x provides two-way binding out of the box but to some that is considered a problem with applications of scale. ReactJS and Angular2 take it away and let the developer explicitly control the data flow. I love Angular 1.x and ReactJS for their own reasons, however, they are in different leagues. A2 is closer to React's league and is too little too late.

    10. Re:Painful to read this word salad by angel'o'sphere · · Score: 1

      Well, I could not find the spider yet.

      So to be on the save side, I wont invite you ;D

      Oki?

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  26. Shebang lines vs. extensions by tepples · · Score: 1

    Install most linux distros and run 'python'. Odds are overwhelming that it will be python 2.

    But at least on UNIX and Linux, you don't have the problem where the part of the filename after the last period determines which interpreter is used. Instead, you have the executable bit, which causes the OS to read the first line of the file to find the interpreter:

    #!/usr/bin/env python3

    This means use the env program and have it search the PATH for an interpreter called python3.

    One reason Python 3.0 through 3.2 didn't gain popularity so fast is that on Windows, .py was still associated to Python 2. It took until 3.3 for the Python team to add the PEP 397 launcher, which looks at the first line to determine which interpreter to use UNIX-style. This way side-by-side installations of Python 2 and 3 work as expected.

    1. Re:Shebang lines vs. extensions by Junta · · Score: 1

      Also, prior to 3.3, unicode strings couldn't be written in a python 2/3 agnostic way. Of course dealing with binary data as strings is a pain in 2/3 agnostic code still, but I can't see personally how they could have done it better than they did.

      In any event, the fact that there is discomfort changing the 'python' to be a python 3 verifies that things aren't exactly rosy. If there *were* no mess, there wouldn't be so much fretting about concurrent installs and python3 and python2.

      As a python developer in the real world, I still frequently have to fret about making sure my code does contortions to run in python2 and python3 concurrently. If I were writing internal tools, I wouldn't have to care so much as I could choose the one and only version to support. However, as an owner of pypi content and supporting customers that want to use whatever python interpreter they have installed already, it's a headache.

      With some other languages, I could target the oldest reasonable version and testing is required, but rarely is there an issue that needs accommodation. In python terms, today that would be targeting python 2.6 (There are a *lot* of RHEL6/CentOS6 users out there). In practice, I only support 2.6, 2.7, 3.4, and 3.5, and generally have to continually develop against 2.6 and 3.4 (2.7 and 3.5 generally don't need such continual explicit attention beyond what is given 2.6 and 3.4)

      --
      XML is like violence. If it doesn't solve the problem, use more.
  27. The latest fad by Tony+Isaac · · Score: 1

    Developers have been WAY too eager to jump onto the latest development fad. Google has been well-known for creating products and dropping them. Why should they behave differently when it comes to open source projects?

    Microsoft may have its own issues, but at least they stay committed to preserving (most) legacy code. You can still run a lot of c. 1985 software on today's Windows machines! As a .NET developer, I'm pretty sure my source code is still going to work when Version 5 comes out.

    1. Re:The latest fad by Anonymous Coward · · Score: 0

      The kids didn't know that, they haven't been alive long enough, and certainly don't spend anytime on history. In my experience developers who do know the history push back and managers side with the kiddies.

    2. Re:The latest fad by pseudorand · · Score: 1

      Uh..fanboy much? Did we forget silverlight? (Yes, I know they've committed to security bug fixes until 2021, but still...)

      This is why commercial software is just plain bad -- we buy because we hope to get something near perfect and avoid this type of stuff. But alas, free or commercial, developers have always had the same struggles with an ever-shifting landscape. At very least with FOSS you can take up maintenance of a library yourself if you have to. And a relatively small effort to fix a critical bug or missing feature can pay off big when it brings new users and developers.

      Commercial licenses should have a provision that if the vendor ever decides to discontinue future development, they are required to open-source the whole thing for free.

    3. Re:The latest fad by bytestorm · · Score: 1

      I'd say it is warranted to credit MS with making serious effort to maintain backward compatibility. A win32 binary (not driver) which if implemented to spec on Windows XP w/ VC++6.0 probably still runs in Windows 10, at least until they kill off win32 in favor of UWP. Win32 and COM's fanatical (and much appreciated) adherence to ABI versioning means most software packages will run for a very long time via MS's compatibility shims. How many commercial or FOSS projects can you think of which provide those kinds of version compatibility shims? The only one I can think of is glibc and very few projects appear to target versioned symbols. Microsoft's backwards-compat-OCD exceeds what is possible with static linking.

    4. Re:The latest fad by Tony+Isaac · · Score: 1

      Perhaps you didn't realize that .NET has itself become a FOSS project, as has Visual Studio. And wow, support until 2021 for a product that never went anywhere. That's pretty solid commitment!

      I've written software for Mac, Linux, Unix, and Windows, and other platforms you've probably never heard of. I've written for Borland OWL, MFC, ATL, .ASP (old and new), MVC, jQuery, Bootstrap, and Angular. I've seen it all, and nobody creates developer tools and platforms like Microsoft. I guess you could say I'm a fanboy, but that loyalty was earned, and I'd move on if that trust was broken. So far, Microsoft has done a great job of keeping its developers happy.

      So Google broke Angular 1.x. It's open source. So how is that working out for Angular 1.x developers?

    5. Re:The latest fad by pseudorand · · Score: 1

      Okay, I relent and agree. MS actually is pretty f-ing amazing in terms of supporting stuff for the long haul. Sorry, Bill. I apologize. .NET is still a PITA that I don't enjoy coding in though.

  28. this is great! by Anonymous Coward · · Score: 0

    I'm glad I didn't take the time to learn this horse shit. I feel bad for all the poor assholes who did.

    Google used to be about speed, compatibility and awesomeness.

    Now they are just another cocksucker, in a very long list of cocksuckers.

    1. Re:this is great! by Anonymous Coward · · Score: 0

      Yeah, I'm glad I didn't learn C. I feel bad for all the assholes who did, now that there's C++, C# and Java.

  29. typical google by Anonymous Coward · · Score: 0

    google have very little respect for keeping their APIs established. they deprecate everything and you can hardly depend on any google API to not change. android is a complete disaster because of this. their UI framework and advertising services hardly stay the same for more than a year.

  30. Semantic Versioning by crashcodesdotcom · · Score: 1

    Flipping the major version number should be enough to communicate it is a breaking / not backwards compatible version.

  31. Up next: the Wheel by Lauriy · · Score: 1

    Soon Angular will be as powerful as any decent web framework from 15 years ago.

    function service(name, constructor) {
       return factory(name, ['$injector', function($injector) {
           return $injector.instantiate(constructor);
       }]);
    }

    Such elegance.

  32. Re: Aurelia by allen.joslin · · Score: 1

    I used Angular 1 for two years, the glimpses I had of A2 were scary! Then I read that Rob had left to start a new framework, and he made it to 1.0 before A2 did I love it, I've used it for 3 projects now and it's so sweet! Clean as can be and ES6 thru and thru. They even give you app skeletons that work with webpack so that your production builds are done without you having to do more than switch from: npm start to: npm run build:prod https://github.com/aurelia/ske... They also hook up babel for you, so that you can write ES6 and run as ES5 -- and they support Typescript as a first class citizen if you're into that There's a site here: http://builtwithaurelia.com/ that can let you look at source code for different things pretty quickly Anyway, I can't say enough good things about it - try it, you'll like it !!