r/programming • • Dec 18 '16

Angular team is planning a major release every 6 months

https://www.infoq.com/news/2016/12/angular-4
417 Upvotes

314 comments sorted by

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

113

u/Stormflux Dec 18 '16 edited Dec 18 '16

Market researcher: "Studies show people are scared to use Angular because they want a stable product that will be supported for years to come. The whole Angular 2 fiasco has them concerned that breaking changes will come out before they can even finish a project. How can we fix this?"

Angular team: "I know! We'll skip version 3, go straight to version 4, and release version 5 six months after that!"

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

6

u/Farobek Dec 18 '16

React with Redux has everything we need so far.

But I thought React was a view system only (while Angular is an MVC framework). How do you deal with controllers and models?

22

u/Something_Sexy Dec 18 '16

That is what redux is for.

→ More replies (2)

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

2

u/BlueRenner Dec 19 '16

If you are using React, the recommendation is to use Flux. My team transitioned to the Flux pattern as implemented by Redux, and added Sagas. Also, we use flow for type checking.

I have a hard time believing this is real.

1

u/PM_ME_UR_OBSIDIAN Dec 20 '16

How do you like Flow? I'm madly in love with TypeScript. I don't know whether to take the time to investigate Flow or not.

Right off the bat, I dislike having to pollute my JavaScript files with // @flow, but that's relatively minor. I could see myself liking Flow if it's put together as well as React is.

→ More replies (1)

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

20

u/dtechnology Dec 18 '16

Guava seems to be pretty stable

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

30

u/[deleted] Dec 18 '16

Protocol buffers jump to mind

3

u/aloisdg Dec 19 '16

libphonenumber is another one.

21

u/theMadcap Dec 18 '16

4

u/Yserbius Dec 19 '16

GWT is still a thing? I thought it's become more or less obsolete with the plethora of JavaScript libraries in recent years that allow you to write Web apps fast and simply.

I guess there's always a place for type safety and a single language stack.

→ More replies (8)
→ More replies (2)

12

u/yesman_85 Dec 18 '16

I'm sorry but that's just crap. What should I rely on then? Facebook for React? Or any other random library that has is built by random strangers on the internet and god knows how long that will last.

30

u/Farobek Dec 18 '16

What should I rely on then?

The DOM. Your only friend.

12

u/tcrypt Dec 18 '16

"Just use JavaScript."

"You mean like just Backbone and Gulp?"

"No, just JavaScript."

"Like just jQuery?!"

8

u/Farobek Dec 18 '16

The DOM is all you need. Append children into its body and you shall have all your employer wants.

3

u/BeepBoopBike Dec 19 '16

Say this to some managers and they think you've struck gold for getting around child labour laws!

3

u/panorambo Dec 19 '16

Append children into its body

Yes, master.

21

u/cc81 Dec 18 '16

Yes, everyone loves starting work at a company where they built their own framework (or equivalent capabilities). It is even more fun when the original creators left the company.

→ More replies (1)

13

u/[deleted] Dec 18 '16

Didn't a large amount of libraries, including React, crash when a contributor pulled his work off GitHub all of a sudden?

11

u/ljcrabs Dec 18 '16

You're probably thinking of leftpad, nothing to do with angular or react.

8

u/Stormflux Dec 19 '16

The leftpad incident undermined confidence in the entire Javascript ecosystem, leading managers to wonder if they should even allow their developers to use Angular or React.

A seriously embarrassing moment for all of us.

→ More replies (2)

7

u/beaverlyknight Dec 18 '16

That was an issue with npm allowing people to delete their packages at will. It has since been fixed, as far as I know.

Side note, I think React is pretty good. Never had any issues with it, at this point I can say that I trust it. Relatively easy to unit test from either the command line or in browser, Facebook deprecates features in a sensible way by giving you notice a major version in advance, and it generally pushes devs towards a sensible architecture layout (having a single source of data through some kind of Flux pattern, and propogating changes in state downwards through "dumb" UI components).

3

u/theHazardMan Dec 19 '16

React has excellent component lifecycle management, which means that in the event that something isn't doing what you think it should be doing, it's usually trivial to figure out why that's happening, and if necessary, make it do what you think it should. That feature alone is worth any "extra work" the dev has to do to set up all the necessary plumbing. Too many frameworks want to hide as much of the functionality as possible, in order to "simplify" things. Problem is, simplicity when making a "Hello World" app is meaningless compared to your ability to hunt down and fix bugs. If Facebook stopped supporting React, or made backwards-compatibility breaking changes, for most purposes I could just not update React and be fine for the foreseeable future.

2

u/dvlsg Dec 18 '16

Not sure on if react specifically broke (it probably did), but that was because npm (node package manager) allowed them to unpublish their work from the registry when other open source packages relied on it.

→ More replies (1)

2

u/tesla123456 Dec 18 '16

None of it. HTML/CSS/JS those are pretty stable and I'm pretty sure they'll stick around for a bit.

→ More replies (1)
→ More replies (2)

25

u/flying-sheep Dec 18 '16

Sanity exists. Check out this talk about architecture (and why react sits at that abstraction level where it does) to regain a little peace of mind

9

u/PM_ME_UR_OBSIDIAN Dec 18 '16 edited Dec 19 '16

React is a fantastic piece of technology. It's based on sound theory sound theory, and the implementation is great.

By contrast, there's not much that's principled about either MVC or two-way data binding (Angular 1, XAML).

20

u/TheFuzzball Dec 18 '16

React has nothing to do with Functional Reactive Programming. Even the functional parts are optional.

It abstracts DOM interactions as a function of state, which can be considered functional for sure. But FP != FRP.

→ More replies (4)

10

u/rfiok Dec 18 '16

MVC and data binding are thoroughly researched and proven in production for tens of thousand of apps since decades. The issue is not with these, rather the huge setup cost and learning curve for Angular (and them changing everything every few months.)

→ More replies (5)

7

u/fromscalatohaskell Dec 18 '16

Please do not mix react and FRP. Zero intersection.

1

u/arianvp Dec 19 '16

The sound theory it's based on is called Mealy Machines

6

u/eggn00dles Dec 18 '16

welcome to my past three months. it goes on and on

34

u/[deleted] Dec 18 '16

I swear to God, this industry is becoming pathetic and reeks of children dressing up as adults who are incredibly short-sighted.

It's making me stereotype programmers. I hate doing that.

What happened to pragmatism and people who actually knew what the fuck they were doing as opposed to jacking off to webscale and async sauce.

30

u/DaemonXI Dec 18 '16

"What happened to pragmatism and people who actually knew what the fuck they were doing" said every programmer ever when a technology replaced something they used daily

13

u/x86_64Ubuntu Dec 19 '16

But this isn't the simple evolution of tech, this is the JS community waging total war on ideas concernig stability and predictability.

→ More replies (9)

2

u/[deleted] Dec 19 '16

"What happened to pragmatism and people who actually knew what the fuck they were doing" said every programmer ever when a technology replaced something they used daily.

Sometimes it really is beneficial to do that. Typically it's not, though - especially when the cons haven't been thoroughly taken into account.

One of the most fundamental traits of a good business is stability through long term investment.

If you're not willing to think along those lines, or you put using what's sexy at the top of your priority list, you're essentially fucked.

0

u/[deleted] Dec 19 '16

[deleted] — view deleted comment

8

u/[deleted] Dec 19 '16

Probably.

5

u/[deleted] Dec 19 '16

You will. We liked your comment

3

u/LAUAR Dec 19 '16

You misspelled cool.

4

u/nonoifo Dec 18 '16

dressing up as adults

Not all of them.

5

u/sankluj Dec 18 '16

Out of curiosity, how does your company manage its front-ends? Do they use another specific framework?

9

u/[deleted] Dec 18 '16

Not OP but I'm a frontend dev for a global company.

Up until now they had "static" JSP pages with some vanilla JS and a little bit of Angular 1 here and there.

This year they decided to push for both ReactJS and Angular 2 solutions (its a really big company with multiple departments so it's not a really issue when you use multiple technologies). The architects have already laid out a plan for the next 2-3 years so using stable software is crucial.

5

u/industry7 Dec 19 '16

Angular 2 solution

using stable software is crucial

Does not compute. Seriously though, I just finished a one year contract with a client that was investing in Angular 2. What a waste of time and money. Docs and tooling are a joke. I realize this is constantly improving, but a business has to consider the bottom line. There are plenty of other frameworks out there that already have fantastic docs and tooling.

1

u/[deleted] Dec 19 '16

They hold on with Angular 2 untill it hit a stable version some weeks ago; if you were developing with it for the past year - yeah I heard about all the breaking changes and shit that happened during that time.

12

u/diggr-roguelike Dec 18 '16

The most important technology decisions we can make today are doing what all the cool kids are blogging about and talking about at conferences

Think of it this way: this makes sense, these guys are padding their resume and making a springboard for their next job on the current job's dime. This sort of sociopathic behavior comes from a lack of competent management. (Their boss probably never sees anything more complex or demanding than a powerpoint presentation.)

→ More replies (2)

6

u/Eirenarch Dec 18 '16

Using new tech is not too bad. Not using cool things makes hiring devs significantly harder.

4

u/Radmonger Dec 19 '16

Only problem is the devs you hire will be idiots.

Pay 30% more, develop software that requires 60% less ongoing maintenance. It's the right trade-off for about 90% of companies.

The exceptions are those startups where, if you get to maintain software in five years time, it means you must have already won, and companies in secure niches where a need for maintenance does not imply a need to spend money on it.

3

u/Eirenarch Dec 19 '16

The devs who are interested in new technologies are idiots? Interesting argument.

→ More replies (1)

2

u/Godfiend Dec 18 '16

Man, I wish I had that problem. Our architects and high level managers stopped learning anything new Bout technology the second they got promoted out of dev roles. Most of them only know VB.Net and are vaguely aware JavaScript exists.

Personally, I think there are worse things than trying to be cutting edge. Then again, I have e only experienced this outdated, ignorant-by-choice world.

2

u/[deleted] Dec 19 '16

People think Angular is sexy? I thought the general consensus was that it was a bloated piece of crap that makes it really easy to write bad code.

→ More replies (1)

2

u/weirdoaish Dec 19 '16

SQL databases... definitely not sexy.

**** this so much! ORM's were enough of a PITA as it was but now there is Mongo

3

u/fuzzynyanko Dec 18 '16 edited Dec 18 '16

architects and managers

This has been my experience as well. I wonder if I know where this is

keep us innovative

Nah. If they were innovative, they would make a wrapper script around all of the JavaScript frameworks so that backwards compatibility is maintained!

I think I found out why: Gartner. Most Pointy-Haired-Boss Software Development/IT decisions and discussions are thanks to that group. YOU DO NOT DEFY THE MAGIC QUADRANT! ALL HAIL THE MAGIC QUADRANT!

5

u/npyde Dec 18 '16

I used Angular 1 back in the day. Moved away from it because it was too slow. Recently, I dabbled with Vue.js for a couple of hours. It was a very enjoyable experience. Maybe it is worth a look for you.

3

u/kirbyfan64sos Dec 18 '16

But the article says:

Angular 4 will be as compatible with Angular 2 as much as possible because the team does not want to repeat the breaking experience moving from Angular 1.x to 2.x. “We do not want to make any breaking changes that will break the ecosystem,” added Minar. “We do not want to break existing components that are out there.” So, no breaking changes on existing stable APIs or for those following the common Angular usage patterns. If some new feature turns out to break things up with the ecosystem, and it cannot be fixed, Minar said they will rather take that feature out than risking breaking everything.

So it still seems like it'd be a bit stable.

→ More replies (9)

43

u/cemc Dec 18 '16

Meanwhile in emberland, we already have LTS releases

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

15

u/cemc Dec 18 '16

I've done a react project before. I can only say good things about it. It definitely is a different way of writing js that was very refreshing and fun.

The problem though is that when you gain flexibility you lose portability, and by portability I mean portability across projects and teams. With ember, you can find another ember job or move to another ember project and transfer all your knowldge with you. When you're just using libraries like react/jquery/redux/etc. not every team/project will have the same architecture so you'll always have some learning curve to get over.

It's not about "who's better"; it's about tradeoffs. I prefer to go with a framework and IMO after doing Ember for two years, it's flexible enough for me.

2

u/[deleted] Dec 19 '16

You are describing this (On The Spectrum of Abstraction).

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

19

u/ForSpareParts Dec 18 '16

My team dropped Ember after our last project, actually. We didn't like being locked in to ember-cli for build tooling, having to use both bower and npm for package management, or working with dependency injection magic. Also, for all the constant updates it took Ember ages to land features other frameworks already had -- server-side rendering, for instance, incremental loading of project dependencies, or even performance improvements. Glimmer 2's only just now being released, and it still breaks our 2.x project despite promises it'd be a drop-in replacement. Also, the way Ember's run loop works makes testing a nightmare if your project involves any non-Ember components.

We went to Vue (with Webpack) for the next project and it's been a much smoother experience. It's less opinionated and allowed us to structure our project in a way that fit our needs. And it supported a flexible state-management library (there are a lot of cases Ember's store just doesn't accommodate well). Same benefits would apply to React, or any other view-layer-only library.

tl;dr: Ember is staying off the radar because it's tedious for complicated projects, and because it hasn't kept pace with the competition.

8

u/PM_ME_UR_OBSIDIAN Dec 18 '16

What's the elevator pitch for Ember? I feel like it might be the D of the JavaScript world - decent enough, but unsufficiently salient for people to be interested in switching.

10

u/cemc Dec 18 '16 edited Dec 18 '16

thats because the javascript world is filled with pretentious coders who can't stop re-inventing the same shit and not people with a business sense who like to build something and move on to the next thing, building more business value, more product, etc.

the elevator pitch is that it's practical, simple, highly extensible, very scalable, and doesn't require a ph.d. to understand, unlike angular. it's the Rails of the js world (pretty much because a lot of people work on both projects, so they have a lot in common). it's meant for both personal and enterprise projects.

edit: tl;dr: it just works

14

u/Voidsheep Dec 18 '16

thats because the javascript world is filled with pretentious coders who can't stop re-inventing the same shit

Yeah, MooTools should be plenty for everyone. Anything past that is the same shit anyway.

2

u/midri Dec 19 '16

Prototype bro

2

u/kitsunde Dec 19 '16

I like Ember.js and we've moved all of our projects to use it, but there's nothing uncomplicated by it.

Understanding actions up data down, how to apply computed properties, how to use components, cross component communications, understanding how all the implicit stuff ties together and absorbing the surrounding ecosystem is quite a lot of stuff to take in. When you understand it all, it's pretty magical, but it's not that easy to get into by any means.

3

u/benihana Dec 19 '16

pretty unconvincing. the fact that you think there are no tradeoffs to go with ember ("tl;dr: it just works"), and that the reason it's not popular is that people who don't use it are just too stupid and pretentious to get its pure simplicity is a huge red flag that you haven't really considered the framework from every angle, or you haven't been using it long enough to know the shortcomings.

put another way: i'm very dubious that a javascript famework has finally gotten it perfect and no one bothered to tell anyone.

1

u/benihana Dec 19 '16

I guess if there is nothing to complain about, a framework stays of the radar. Which is rather sad.

you nailed it - let me guess, you just happen to use ember, and there isn't anything to complain about, right? more likely no one is using it, so the shit parts that come about because of real world tradeoffs inherent in any piece of software never get discussed.

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

66

u/Xerxero Dec 18 '16

Same reason you have Chrome 55.

I don't have any issues with an increasing number. But they shouldn't have called it angular 2 in the first place.

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

7

u/am0x Dec 18 '16

From 1 to 2. They knew it needed to change drastically and did it right by doing it early.

Still prefer react and vie however.

6

u/ciny Dec 18 '16

From 1 to 2. They knew it needed to change drastically and did it right by doing it early.

by early you mean introducing breaking changes in release candidates?

5

u/Xerxero Dec 18 '16

Well last time I checkt react 0.15(not 100% sure on the number) had also a major change which rendered all tutorials before that unusable

The amount of 3rd part libs I need in a react project is also net really reassuring.

With angular you have it all from the same outlet.

11

u/ggtsu_00 Dec 18 '16

Angular 1 was a mess. Angular 2 is even a bigger mess. Using non-standard HTML as its markup probably the worst design flaw and they didn't even fix that with 2.0.

15

u/Xerxero Dec 18 '16

Well let's see how things turn out. Angular 1.6 also had breaking changes.

It's part of using a framework that's young and being actively developed.

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

33

u/Xerxero Dec 18 '16

5 - 10 is huge in terms of web. Remember the Web 10 years ago?

On the other side maintaining means updating and fixing the breaking changes. It's not like you have to throw the whole app into the trash each version.

38

u/[deleted] Dec 18 '16

5 - 10 is huge in terms of web. Remember the Web 10 years ago?

Not everything on the web is meant to be on the cutting edge and fancy. The web has become a platform.

For example I see web-based cashier apps in stores. Their interfaces are very humble visually, but highly interactive and stable.

What Angular is saying to these folks is "don't use our framework, unless you don't mind having zero support and the ecosystem abandoning you every 6 months after you update".

But I'm sure Angular 4, 5, 6, 7, 8, 9, 10, 11... will be very, very popular for startups who need to code up a quick landing page asking for your email, and then never launch a product.

30

u/nirataro Dec 18 '16

6 month is no a long time. Suddenly articles/tutorials for version 5 is out of date because version 6 introduces 'better' way to do things. The list of potential problems for this aggressive major release plan is long.

17

u/rubber_duckz Dec 18 '16

Umm, I'm not a fan of the breaking backcompat, I've recently had to deal with an issue where they broke our CI build because they changed something big in a patch version and they didn't lock down their deps on a package referencing it - and we weren't using lockdown (our fault, we couldn't use shrinkwrap and didn't bother looking further)

Having said that - you're just spreading FUD.

For example the breaking change they plan to introduce next is drop support for TypeScript 1.x and support only 2+. This should have 0 impact on most users as you probably want to upgrade to TS 2+ anyway, but it's a breaking change never the less. It will do nothing to the tutorials except maybe introduce better ways to write code with new language capabilities, but the old code will work fine. They explicitly say they don't want to break the ecosystem - and this is a breaking change that doesn't break the ecosystem, and it's a welcome one, I want them to keep up with TS updates, right now you can't use TS 2.1 with AoT - this means we can't use downlevel emit of async/await for ES5 in TS and still need to use Babel which just slows down our builds.

→ More replies (1)

8

u/ggtsu_00 Dec 18 '16

I remember the web 10 years ago. I'm still using jquery the same way I did then back when it was the latest "hot shit" that somehow made web programming across 3 browser platforms tolerable.

→ More replies (2)

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

14

u/rubber_duckz Dec 18 '16

Angular 2 isn't really meant for web pages, it's a framework for writting SPAs. Those were previously written in Flash, Silverlight, Java Applets, GWT, etc. as JS of 5 years ago didn't really scale well past small projects and the browsers you needed to support were horrible (IE6/7/8/9 support was still a releveant factor 5 years ago).

4

u/Astrognome Dec 18 '16

At that point though, why wouldn't you just roll something native?

It's not much more work and it's way more stable.

2

u/weirdoaish Dec 19 '16

At that point though, why wouldn't you just roll something native?

Lets be fair, Google maps (web version) is pretty amazing and better than any phone/tablet version of the app.

→ More replies (1)
→ More replies (1)

3

u/[deleted] Dec 18 '16 edited May 29 '17

deleted 0.6009 What is ^^^this?

4

u/Xerxero Dec 18 '16

Funny thing I read somewhere: gmail was somewhat a prove of concept that you could build a whole website in JavaScript. Laying the foundation of today's SPA.

2

u/Omikron Dec 18 '16

My current enterprise web product is already 7 years old, I'd also never use one of these libraries. I get a lot of shit from that decision. But I'll stick with more stable basic technologies. It's not as flashy or fun but it's stable and I'm not rewriting stuff every 3 months because someone decided to break 1/3rd of the functionality in their library.

2

u/[deleted] Dec 18 '16

5 years is a long time. But some of us make actual products - with a web front-end. We generally want to make new stuff, not debug the breakage from yet another major release of the frameworks we use.

→ More replies (2)

1

u/industry7 Dec 19 '16

Remember the Web 10 years ago?

Not only do I remember it, but I regularly work on software that was running on the web 10 years ago. And guess what, it's still running today! Turns out, it's actually really easy to keep web software running smoothly year after year. If you just pick mature stable libraries to begin with, then you don't have to rewrite your software every fucking year when a new shiny lib comes out.

→ More replies (10)

3

u/Hero_Of_Shadows Dec 18 '16

What are you using instead if I may ask ?

3

u/angrydeanerino Dec 18 '16

You could always just not update it

2

u/csulok Dec 18 '16

Sure it does. For a while now - and I think this will continue - they have been removing APIs from HTTP (ie no SSL) like geolocation or webrtc. Thats a breaking change if you operate an http site and counted on it.

What the angular team is saying this will happen at most twice a year. Chrome also announces these well in advance, so it's very similar to the angular idea in this sense.

1

u/metarmask Dec 19 '16

Chrome's major version number must increase if user data isn't backwards compatible so it has some meaning.

4

u/remy_porter Dec 18 '16

They shouldn't have called it Angular. While there's a distinct lineage, they're such wildly different products.

→ More replies (5)

101

u/nirataro Dec 18 '16

How do you stay innovative, agile and bug free if you don't upgrade your JS UI framework every 6 months? I found your lack of faith with Google deeply disappointing.

→ More replies (5)

15

u/VGPowerlord Dec 18 '16

If you have auto-updating software, it's sometimes OK.

However, this isn't software. It's a library, which is used to make software.

Oh, and the 6 months thing isn't even the best part. Google is planning on releasing new patch versions weekly.

If your libraries are so buggy you need to do weekly bugfix releases, you need to stop designing software.

→ More replies (2)
→ More replies (1)

97

u/Sionn3039 Dec 18 '16

This sub has a raging hard-on for hating on Angular

73

u/[deleted] Dec 18 '16

Based on the experience from decades of maintaining production code, I'm sure.

92

u/Jafit Dec 18 '16

>decades
>Angular

Found the recruiter!

27

u/niuzeta Dec 18 '16

decades of maintaining production code

Not angular specifically.

Seeing a framework announcing a major release that likely includes breaking change would scary many maintainers.

12

u/CrazedToCraze Dec 18 '16

The word Angular doesn't appear once in his comment

10

u/Jafit Dec 18 '16

But in order to make the joke work I had to infer it from the context. Which I did.

→ More replies (2)

28

u/kahnpro Dec 18 '16

As someone who has worked with Angular, and whose company has a major internal Angular project, I'd say the raging hard-on is pretty justified.

11

u/redalastor Dec 19 '16

The hours of fun trying to figure out some weird behaviour in an app I was working on to finally discover that Angular treats 't', 'f', 'y', 'n' not as strings but as booleans...

They fixed it eventually but that tripped me for a while. Who even thinks about injecting counter-intuitive bullshit in their framework?

15

u/sd_glokta Dec 18 '16 edited Dec 18 '16

I spent a lot of time learning TypeScript and Angular 2, and I really liked it. But then they changed everything. I'd expected minor updates and improvements, but they replaced the entire API. I had to throw away all my code.

You're damn right I hate AngularN. Never again, Google.

→ More replies (3)

15

u/[deleted] Dec 18 '16 edited Dec 18 '16

I personally think they overestimate the difficulty of picking it up and keeping up with framework churn. ¯_(ツ)_/¯

I think it's very simple and saves a lot of time in specific use cases: when a customer wants fucking everything all in one little page with tons of data relationships.

I do understand the concerns about wanting it to be production stable, but no one is forcing anyone to move from Angular 1 right now.

Then again, I was happily getting shit done easily with Rails and Postgres for years while everyone was running around screaming that it was full of hipsters, and I still love it for more traditional serverside MVC apps.

26

u/Scorpius289 Dec 18 '16 edited Dec 18 '16

I personally think they overestimate the difficulty of picking it up and keeping up with framework churn. ¯_(ツ)_/¯

It's not that hard for a single person to keep up with tech changes.

Try making a whole company do that.
Making sure they understand the new things and use them properly, and that all code affected by the changes is updated.
This, while also doing bugfixes for the current code.
And while also implementing new features that the clients ask for.

→ More replies (2)
→ More replies (1)

5

u/PM_ME_UR_OBSIDIAN Dec 18 '16

I thought Angular 1 was going to be the shit until I tried it. What a disgusting mess.

→ More replies (2)

20

u/[deleted] Dec 18 '16

Great for job security for developers, once a large app will just be ready for production, would be some how legacy in after six months.

Simply give it up completely and admit that you ruined AngularJS

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

11

u/[deleted] Dec 18 '16

In about a year it'll be Angular 5.

→ More replies (2)

21

u/[deleted] Dec 18 '16

And I'm staying on 1.5x for another year...

10

u/4_max_4 Dec 18 '16 edited Dec 18 '16

Same. At least the 3 projects we started this year are running 1.5.X. A new one coming next week will be definitely React. Angular 2 is really a beta on steroids.

Edit: typos.

6

u/[deleted] Dec 18 '16

Yeah, I don't get paid to be a javascript guinea pig!

→ More replies (7)

6

u/Leonnee Dec 18 '16

I think that was one of the reasons the guy from durandal left and created Aurelia

4

u/mkdir Dec 19 '16

Aurelia really doesn't get enough love around here. I think it has a great feature set without being too opinionated.

37

u/RichSniper Dec 18 '16

So there's a possibility (at least 1 confirmed already) of introducing breaking changes every 6 months.

Introducing TypeScript before it was ready was a mistake in my opinion.

Is this whole thing a joke?

29

u/Farobek Dec 18 '16

Introducing TypeScript before it was ready

Elaborate?

34

u/RichSniper Dec 18 '16

Angular loves decorators, which relies on Typescript. Typescript considers decorators an experimental feature that could break anytime. Angular claimed it was stable while relying on this "could be changed anytime" feature of Typescript.

I don't work with Angular so my memory might be a little incorrect but that's the gist of it.

44

u/i_love_cake_day Dec 18 '16

Honestly, Angular2 choosing Typescript was one of the best decisions they made. I'm using React and I wish it would embrace Typescript more.

17

u/PM_ME_UR_OBSIDIAN Dec 18 '16

I think React is embracing Flow, a TypeScript competitor by Facebook. There's probably politics involved in that choice. :(

→ More replies (1)

3

u/[deleted] Dec 18 '16

There is support for React in ClojureScript. Take a look at ClojureScript with Reagent.

3

u/RichSniper Dec 18 '16

My issue isn't them deciding to embrace typescript: it's just the method, speed and apparent lack of care regarding update schedules that bothers me.

→ More replies (2)

6

u/worldDev Dec 18 '16

This is true, but it may not be as big of a deal as it sounds.

  • first off, its not going to unexpectedly bomb production since those features are transpiled away.
  • if implementation is changed for how decorators are defined, an angular developer will just need to stall TS updating until Angular makes an under the hood patch.
  • If syntax is changed on the usage end, it could be very annoying depending on the change. However, this part I see very very unlikely to change given the context of its purpose being a one line abstraction.

Speculating here, but I think it's labeled that way because there is an official javascript proposal on the feature (of which their decorator features adhere to), and they acknowledge they don't have control over that while their directive is to adhere to standards where defined for JS. If it is to change, it will do so not at the whim of the TS team, but at the cautious pace of ECMA spec progression.

I see at most a few hours of work on the slim chance a breaking change relevant to an angular developer happens. The advantages I've gotten so far using TS and the piece of mind I have for the first time in almost a decade of JS development outweighs the uncertainties I've come across.

Not a decision to take lightly, TS is the first JS transpiler that's passed my shit tests to be used in a commercial project. Still, though, not right for everything / everyone, plenty more situational factors that brought me to use it for that particular project.

8

u/PM_ME_UR_OBSIDIAN Dec 18 '16

Introducing TypeScript before it was ready was a mistake in my opinion.

I mean... TypeScript is ready, it's been ready for a while.

5

u/[deleted] Dec 18 '16

Does this mean backward-incompatible change every 6 months, or just that backwards-incompatible changes are impossible to detect outside of reading every release's changelog?

Either way, this is a bad decision for a library. If I choose a library, I want to know that

  1. I can stay up-to-date without code changes, at least for a while
  2. When something can break in the API, necessitating these code changes, I know immediately just by looking at the version number.

1

u/MontanaAg11 Dec 19 '16

According to the blog post from the Angular team, they won't break any thing from one major version to the next only add deprecation warnings that it will be broken in the next version.

Which from an evergreen perspective it's perfect. Give me a year notice that I have breaking changes and I'm not going be to upset. I can upgrade from 4-5 with no problems but 4-6 I will. Seems reasonable. Especially at that release cadence

→ More replies (1)

11

u/wayne62682 Dec 18 '16

This is why all these new frameworks and stuff are all a fad. It's too much to constantly do whenever Joe Schmoe feels that X is too hard to makes a library/framework to make X easy, and then starts preaching it like it's the second coming. I saw this shit in Rails years ago, where entire things were like how do you do X, oh don't do X by hand go get <library that some Rails guy wrote> to make it easy.

It's ridiculous. Nobody but the hipsters and wannabes are going to get behind something, no matter how cool it is, because of things like this. What sane company is going to bank on something changing ever 6 months?

→ More replies (1)

31

u/ruinercollector Dec 18 '16

I've always the fact that google makes this for "other people" and won't use it internally at all was enough of a red flag. Also, google makes a pretty good search engine/ad platform, but they have a terrible track record with development tools and libraries.

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

9

u/rubber_duckz Dec 18 '16

From what I know their Ad teams are using Angular Dart which is, at this point, a completely separate code base from Angular JS (it was built from same source in the past). Honestly I don't see how Google can justify it's involvement of Angular 2 JS version AFAIK they aren't using it anywhere and they have to have two separate teams maintaining two separate versions of the same framework.

I don't know how they can rationalize implementing stuff like Angular 2 material when they have their internal material design library for Dart that's actually being used on their projects. That's not only spending dev horus on something that doesn't contribute to the bottom line but also spending expertiese that could be contributing to your bottom line in your money making products.

17

u/installation_warlock Dec 18 '16 edited Dec 18 '16

won't use it internally at all was

Is that still true, though? Google seems to use Angular in most (all?) of their simpler web projects released in the recent year at least: https://www.madewithangular.com/#/categories/google

They don't use Angular for their apps (Gmail, Docs, Maps, etc), but those apps aren't written in JS to begin with, but rather transpiled from another (JVM-based?) language.

13

u/wereinthematrix Dec 18 '16

Small correction, but Wave (long abandoned by Google) and AdWords are the only public apps that really used GWT (their transpiled from another JVM language tech you alluded to). As far as I'm aware, most of their other large-scale properties (GMail, Docs, Maps) are built with Closure (their JavaScript library/compiler/optimizer/linter/template system).

4

u/Ranek520 Dec 18 '16

A ton of projects use or used GWT. Out of four teams I've been on, 3 of them were built using GWT. That being said, it's ridiculously slow to compile so all 3 of those teams were working on moving to either Closure or AngularDart.

→ More replies (3)

4

u/[deleted] Dec 18 '16

Is that still true, though?

Hard to judge, but they've already said that next version of YouTube will use Web Components not Angular and they are promoting Polymer a lot more than Angular.

3

u/ergo14 Dec 18 '16

Not sure why that person is claiming that - google uses polymer a lot and it seems the right horse to bet on (seeing that most hard/problematic parts of it/polyfills land directly in the browser). So one ends up with a minimal library that adds sugar and utilities over web standards (polymer is 20 something Kb's). I don't really get why people don't want to use the web platform and build on standards, instead react, vue, riot reinvent their own thing that is incompatible when everything rest - where I even used polymer based web components in a legacy backbone/jquery project.

1

u/weirdoaish Dec 19 '16

Some of those apps look pretty cool though, the YT video manager and that music thing especially caught my eye.

6

u/[deleted] Dec 18 '16

Their whole development console is angular. It sucks and it's slow, but it still uses angular.

→ More replies (2)

3

u/NeverSpeaks Dec 18 '16

Uh... yes they do.

1

u/kaneda26 Dec 18 '16

I was at ngConf last year at the unveiling of ng2 RC (which turned out to be an early beta, IMO). The where lots of questions at this time about support for ng1. The speakers, who where on the angular team, stated that they would continue to support ng1 for as long as it has wide usage, and added that there were literally hundreds of internal projects at Google built in 1.x. I wanted to try and find the video and link it, but have had no luck so far. They were all staged and stored on YouTube, so it's out there somewhere.

1

u/Ranek520 Dec 18 '16

There are actually a number of high profile teams using Angular 2. The new AdWords UI is built using Angular 2, for example.

23

u/[deleted] Dec 18 '16

I think it's really time for everyone to just move on from angular.. like most google things they just throw shit at the wall see if it sticks

9

u/AusIV Dec 18 '16

The thing is, I like Angular as a framework. If they would give us an LTS support it for two to five years, I'd be pretty happy with it. But the way they operate, every few months you have to either stop getting updates or deal with breaking updates. Even going from 1.0 to 1.1 we had a bunch of compatibility issues. Going from 1.x to 2.x didn't even make sense.

I can't really fault any given release, it's just not a release cycle you can count on for stable software.

2

u/sankluj Dec 18 '16

I feel like they're actually trying to simplify the move from one major version to the other by reducing the amount of breaking changes between them, which I personally think is a good thing. They're probably learning from the failure of the Angular 1 -> Angular 2 migration plan...

Also, this kind of release cycle is not incompatible with LTS support if they decided to do that.

→ More replies (7)

3

u/ergo14 Dec 19 '16

This is why more and more teams are switching to polymer - where most of the functionality is now in polyfills that are getting implemented in the browsers themselves, the rest is 20kb of sugar that makes working with custom elements easier. No one will take it from us, no version change or whim of dev team will suddenly make it incompatible because most of it will be browser API based.

Polymer app with components done right looks very similiar to 1.5+ application with components. This is the future - and I think its best for everyone to stick to standards - they are there for a reason.

13

u/GYN-k4H-Q3z-75B Dec 18 '16

This is what I personally call Web Development Singularity. Everybody does it and the community seems to like it. Chrome 55, Firefox 47, a billion frameworks incompatible and major releases every week. I have stopped investing time in this area because trying to stay up to date is pointless here. People complain how Perl is a write only language but so are JavaScript and all these web projects. The latest isn't always the greatest.

5

u/ForSpareParts Dec 18 '16

Somebody pointed this out above, but those frequent browser releases don't generally break backwards compatibility.

I attribute the frequency of breaking changes to the fact that (IMO) nobody's figured out the best practices for frontend web development yet. I did backend development with Python for a few years, and things changed incrementally and with a lot of careful consideration. It was great.

Frontend, well... people keep trying new things because that's how we weed out ideas that don't work in the long run. I would guess that in 5-10 years the frontend framework churn will be a lot less intense than it is now.

Having said all that: none of this is intended to be a defense of Angular or their release schedule. It doesn't bother me when a bunch of new frameworks come out promising the next big thing -- but when you've released and you've got developers depending on you? You absolutely need to plan around that.

2

u/BeepBoopBike Dec 19 '16

Yeah I'm in the same boat, plus I love me some heavy duty back end engineering. When I apply for a job that needs a specific front end proficiency I just learn it. Rather than learning all of the versions, I'll pick them up as they're needed.

0

u/[deleted] Dec 18 '16

[deleted] — view deleted comment

12

u/jking13 Dec 18 '16

I prefer the term dumpster fire myself.

→ More replies (2)

2

u/cheezballs Dec 18 '16

Will it be backwards compatible? Or are we gonna have Angular 3 that isnt compatible with Angular 2 code?

8

u/npyde Dec 18 '16

With the release of Angular 2 the Angular devs said they would use semantic versioning. Now that they basically skip from major version to major version every 6 months, they can introduce breaking changes every half year and still say they use semantic versioning because technically it is true. What is semantic versioning good for if you introduce breaking changes so rapidly anyways? Yeah, I can update from 2.0.0 to 2.1.0 and know nothing will break. But the next release is 4.0.0 so there will be breakage. Angular is a playground for bored Google devs. They don’t care about users of their library.

7

u/nirataro Dec 18 '16

There is no Angular 3. They jump to Angular 4 for the next release.

There will be breaking changes. How bad? Nobody knows really.

12

u/npyde Dec 18 '16

Serious question: Is this a joke? I cannot tell. ... Which says quite a lot about the Angular devs.

5

u/redalastor Dec 18 '16

It's no joke. Angular 4 is scheduled for March 2017 and there will be no Angular 3.

→ More replies (6)
→ More replies (7)

2

u/mactavish88 Dec 19 '16

Isn't this a sign Angular's trying to be too all-encompassing? The more features you try to pack into a web framework, naturally, the more rapidly it's going to evolve because the web (and all its associated paradigms) is constantly evolving and shifting.

I'm going back to Vanilla-JS.

2

u/tjeannin Dec 19 '16

I checked that we were not April 1st

2

u/DecentOpinions Dec 19 '16

It sounds like Angular 2 is trying to matching versioning with its router which is just stupid (that's why they're skipping Angular 3, to get the major numbers in line with each other). I hate that system... they should be versioned completely separately.

Effectively that means Angular 2+ is supposedly following SemVer, but the router couldn't possibly be if it has to match the main library. I can foresee them now putting breaking changes into minor or patch releases of the router since they can't update the major version like they should in those cases (otherwise its version will be misaligned).

7

u/vine-el Dec 18 '16

Google doesn't even use Angular. They build almost everything with Closure. Do you really think they'd build GMail on top of a framework that makes breaking changes every 6 months?

Stop blindly adopting technology just because it says Google on the box.

26

u/gonzofish Dec 18 '16

Internal projects are on Angular, including AdWords, which is an application that probably makes more money than any other in the world

→ More replies (2)

14

u/IICVX Dec 18 '16

Maybe Angular is secretly a Google honeytrap, intended to slow down every other webapp developer that adopts it :)

8

u/npyde Dec 18 '16 edited Dec 18 '16

Great conspiracy theory! :)

A conspiracy theory I want to put forward: Google sucks up all developers it can find to starve competitors. To keep all those developers busy, Google let’s them do whatever they want. Bonus points: Competitors use those workers’ projects because they do not have enough developers themselves but the projects have quality problems and bog the competitors down even further.

3

u/IICVX Dec 18 '16

That's not so much a conspiracy theory as it is literally what certain divisions of some larger companies are for.

Take Microsoft Research, for example - some of the best and brightest (and most likely to start game-changing companies) developers go in, and nothing of use ever comes out. They only take that division and apply it to practical problems when they're seriously in the hole, like what happened with C#.

5

u/Recursive_Descent Dec 18 '16

That's an insane tinfoil hat theory. Research divisions are about coming up with new ideas, maybe up to proof-of-concept. Other divisions are meant to find practical applications for their research.

In most cases, how would you even know if a project started in research?

2

u/IICVX Dec 18 '16

I mean, here's a question for you: name some Microsoft product, that has roots in Microsoft Research.

There's basically the Kinect and some parts of C#. That's about it.

Sure, they publish a paper every now and again, or do a flashy demonstration, but pretty much nothing of note ever escapes the gilded cage that is MSR.

2

u/Recursive_Descent Dec 18 '16

I think that's just how research works. I'm sure a lot of projects have roots in research and we don't really know.

Your argument seems to be that Microsoft is hiring strong computer science PhDs who would otherwise be making compelling products, and then putting them into a division of the company which is stifled.

This doesn't really make sense as a strategy. If you are going to hire the best and brightest, isn't it in your interest to apply them to something?

It makes sense to hire smart, motivated, people with vision. So that part is probably true.

It is also possible that the research division is not easily able to get their ideas into shipping products (for non-technical reasons). But those non-technical reasons are almost certainly bureaucracy, not conspiracy.

1

u/psankar Dec 19 '16

Obviously you have never heard about Jim Gray, James Hamilton, Leslie Lamport etc. or their works.

1

u/AnotherLurkerHere Dec 20 '16

2 projects launched in 2016. Windows Subsystem for Linux and. SQL Server for Linux were born out of an MSR project. Microsoft recently blogged about this and it was on ArsTechnica too.

4

u/Fylwind Dec 18 '16

nothing of use ever comes out

Have you read any of their papers? They submit plenty of stuff to the CS journals regularly.

What they do is largely basic research and as a result you can't expect game-breaking discoveries to fall out on a regular basis.

2

u/IICVX Dec 18 '16

Sure, papers are useful. They don't bring in revenue though.

Here's a question: about how much money do you think MSR has made for Microsoft?

Because that's a question someone at Microsoft is asking, every single quarter. And what answer are they getting?

In terms of actual products people buy, MSR's output is nearly zero. In terms of revenue for the company, MSR is almost certainly a net loss. Which means they must be providing value to Microsoft in some other way.

Like, maybe, keeping people who would otherwise create companies and build products that compete with Microsoft off the market.

→ More replies (1)

1

u/[deleted] Dec 19 '16

Unless Igor is lying here Google uses it internally a lot.

4

u/lunisce Dec 18 '16

Who's ready for more breaking changes and less backwards compatibility

3

u/ellicottvilleny Dec 18 '16

So in Angular3 is typescript gone?

6

u/Sergiow13 Dec 18 '16

There won't be an Angular3, they're going straight to 4!

5

u/jl2l Dec 18 '16

Why stop at 4, 10 is obviously better.

2

u/Askee123 Dec 18 '16

My vote's for 9000

2

u/jl2l Dec 18 '16

It slices, it dices, it breaks six months after release.

→ More replies (2)

1

u/Stormflux Dec 18 '16

Version 10? What is this, November? It's December now, everyone's already 5 versions past that.

1

u/mkdir Dec 19 '16

These go to eleven.

1

u/roffLOL Dec 19 '16

haven't you paid attention? 'one' is the new next version of everything 'cool'.

2

u/ellicottvilleny Dec 18 '16

I think I'll start a new framework and call it Angular 3, just for shits and giggles.

2

u/npyde Dec 18 '16

“Angular 3 version 1.0.0 released!”

→ More replies (1)
→ More replies (1)

2

u/jpflathead Dec 18 '16

To confront this, I understand React is moving to a 5 month schedule, Vue to a 3 month schedule, Ember to a 9 month schedule, and I have a major release once or twice a week.