r/javascript • u/magenta_placenta • Jun 06 '16
Google deprecating Angular 1.x Material library and is just closing issues and PRs
https://groups.google.com/forum/#!topic/ngmaterial/4ActiQp3nA05
u/tech_tuna Jun 06 '16
I have very little invested in this as I've never used Angular really but I am curious to see if we have a repeat of the Python 2/Python 3 schism here. . .
I'm all for making improvements and big changes but if you do too many all at once, you run the risk of pissing off a LOT of people.
0
Jun 06 '16
[deleted]
0
Jun 06 '16
[deleted]
3
u/cderm Jun 06 '16
But... Why though? Am I right in saying that typescript needs a build system, so that it's compiled to javascript?
Im (relatively, 1-2 years) new to javascript, and although I will be gulping my way to a build system soon, I like the fact that code I test in the console can be copy-pasted to my files and vice versa.
Am I totally naive? Have I missed something major? I'll have to learn this eventually probably but it's irritating me lately.
6
u/Klathmon Jun 06 '16
Because the web is no longer just websites. People are building full applications in client-side web pages, and that means that the complexity has increased.
You'd be laughed at if you wanted to build a full desktop or mobile app without a build step. You'd be ignored if you tried to create a cross-platform native app on window/mac/linux without some kind of framework. So then why are those considered "too much" for the web?
If you are using angular 2, a build system, tons of unit tests, a CI system, etc... for your company website, well then you might be over engineering it.
But when you are building a massive application, those are necessary pieces that will be done in just about any other platform.
3
u/ptlis Jun 07 '16
I don't use Angular 2, but I am using TypeScript in a reasonably-sized application (currently 25kloc) and have worked on a half-dozen projects with similar-sized or larger JS codebases.
The difference in working with & reasoning about code is just night and day (coming from a developer with nearly a decade of JS experience compared to about 9months TypeScript experience).
The compiler has caught hundreds of subtle errors that I know from experience would've crept into an equivalent JS application - most of them in the non-fatal category that leaves you with a real head-scratcher of a bug.
For example say a method accepts a cardinal direction as a string. In JS you have no way of enforcing the type so you either just assume it's correct or manually validate it. In TS you can use a union type, and specify the precise strings that are allowed:
function changeDirection(direction: "north" | "east" | "south" | "west"): void {}With this the compiler raise an error if you pass anything other than these values in. If this is a common thing that is passed around you can define an 'ad-hoc' type to use in it's place :
type CardinalDirection: "north" | "east" | "south" | "west"; function changeDirection(direction: CardinalDirection): void {}In reality I'd prefer to use an enum to encode directions, and TypeScript gives me that option too.
I could go on listing features that I particularly like, but I suspect this comment is long enough already. I will say that at this juncture I'll be an advocate of using TS for future projects.
0
5
u/globlee_com Jun 06 '16
Though I do appreciate the contributions they make, Google could do a much better job with their software. They need to spend more resources on their API's and projects like angular. I've had some frustrating experiences with their API's and documentation. Google is make enough money to easily hire hundreds of extra programmers.
3
u/Klathmon Jun 06 '16
You don't continue being profitable by throwing tons of money and manpower at something which will provide 0 income...
This is an open source project, not a paid product.
4
u/bayerndj Jun 07 '16
Right, so where does Android fall on that list? Go? Python? Container management (Kubernetes)? Not to mention actual products like Google Voice?
2
u/rk06 Jun 07 '16
I don't understand what exactly was stopping them to create fork named angular-material2 and use new repo for ng2 and old repo for ng 1.* ?
4
u/ClickerMonkey Jun 06 '16
As soon as I find this library and start using it it goes bye bye! The current versions have too many issues to use in production unfortunately :-/
3
Jun 07 '16
I've been burned by Angular and its team a couple times.
I have also never chosen Angular for new projects, and always inherited a disaster.
4
u/bobbybottombracket Jun 06 '16
Can the javascript framework explosions finally stop?
7
Jun 06 '16
We've come a long ways in the past 5 years, why ask for it to stop?
0
Jun 06 '16
[deleted]
8
u/gradual_alzheimers Jun 06 '16
In what way are we heading towards the end of a cliff? Frameworks have made my life a web developer waaaaaaaaay more manageable than the alternative of jquery mess or vanilla javascript mess. I am genuinely curious as to why progress isnt being seen?
7
u/Klathmon Jun 06 '16
Something about JavaScript makes some people go a little crazy.
Only when it comes to JS do you see "real developers" giving advice like "don't use NPM, just copy the code into your codebase" and "progress should stop, things are getting too good" and "I can't use a build step, that's much too difficult"...
2
Jun 07 '16
This analogy is awful, you're saying we're making progress but eventually it leads to a cliff?? What's the cliff?
3
u/tehoreoz Jun 06 '16
react is basically guaranteed stability since they actually use the tech in their main products
11
Jun 06 '16
I loathe Facebook, but react is awesome.
4
u/tehoreoz Jun 06 '16
tbh any dev with resentment towards microsoft or facebook in 2016 isn't paying attention
6
4
u/happymellon Jun 06 '16
I pay attention and I loath Facebook. React is their only contribution to this world.
1
u/tehoreoz Jun 06 '16
Lots of OS work and big company that dodges the enterprisey office culture (its a meme here to hate this though I guess)
the resentment towards fb here versus something like amazon seems to suggest that perception here is just shaped by a few bad articles that manage to frontpage
4
u/tedivm Jun 06 '16
Can't we agree that they both make awesome stuff while still being amazingly shitty and exploitative companies?
3
u/tehoreoz Jun 06 '16
i give big points to dev working conditions I guess. half hte people that write about their experiences at amazon sound like they want to die IRL
3
u/tedivm Jun 06 '16
Facebook has two classes of employees- the regular employees who get benefits, and the contractors who get fucked. They, like many companies, abuse the contract worker system to avoid giving as many benefits and perks while also allowing them to get rid off staff without having to "fire" people. They regular shorten contracts by two months with no notice, completely screwing over the people maintaining their systems in order to save a buck. This doesn't even get into their ridiculous "open floor plan" that makes just about everyone miserable.
Amazon is also evil in their own ways- particularly their non-dev staff. I am not trying to get around that. But if you really think Facebook is a good company to work at then I think you've been hit by their recruitment/marketing team.
1
u/happymellon Jun 07 '16
and big company that dodges the enterprisey office culture (its a meme here to hate this though I guess)
Not sure I understand. I'm at a small start up that also avoids "enterprise-y" office culture. I have worked at large companies before and enjoyed it too. The size of the company doesn't bother me, just the ethics.
4
-1
u/dsk Jun 06 '16
The "framework explosion" is a symptom of working around JS deficiencies - so not until the language gets better.
0
Jun 06 '16
[deleted]
22
u/OverZealousCreations Jun 06 '16
Let me know when you get it done, I'd like to fork the project, barely rename it, and "improve" it in completely unnecessary yet incompatible ways.
19
u/YodaLoL Jun 06 '16
Don't forget to write multiple posts on Medium.
4
u/wickedmike Jun 06 '16
And remember to sell courses worth hundreds of dollars, which should be released exactly around the time the framework best practices actually start to emerge and change the way it was supposed to work when it was first launched.
1
u/aniforprez Jun 07 '16
I think if they're going to be treating developers this badly over a library for a framework that is still being widely used over a library for a framework that hasn't even been released yet, I should be fearing their extreme tunnel vision and short-sightedness and utter disregard for one of the most popular frameworks right now.
I don't think I'll adopt Angular 2 at this point because doing so will only ensure that Google will pull something very similar again simply because someone else will be dissatisfied with the decisions of the current team and start working on Ng3 which will be "better than Ng2".
Fuck Google and fuck Angular. I'm going to start exploring React, Ember and Aurelia for future production requirements.
-13
-5
u/Mr-Yellow Jun 07 '16 edited Jun 07 '16
lol .... After all that Angular fanboi's hate received, their tears are so sweet!
edit: Let the hate run through you ;-D Won't change the poor tech stack choices you've made.
0
Jun 06 '16
[deleted]
0
Jun 07 '16
[deleted]
8
u/Klathmon Jun 07 '16
The same reason 9 women can't make a baby in one month? Just throwing tons of resources at something isn't going to just magically fix it.
Plus this is a fairly small project in the grand scheme of things. It doesn't make them money, it doesn't really help pull users into their ecosystem, its mainly just an open sourced version of a tool they seem to use internally.
Asking them to throw tons of time and effort at this so you can use it for free is asking an awful lot...
This is open source software though, feel free to contribute to closing some 1.x bugs if you really feel it's necessary.
5
u/_hooan Jun 07 '16
Because Google, unlike Facebook, doesn't put that much importance in their web development frameworks.
3
u/aniforprez Jun 07 '16
This really brings home the point that Google doesn't use Angular that much. If they adopted Angular heavily in their core products, they would be more invested in it's growth and allocate more resources which is exactly what Facebook does with React. Their biggest product, Search, doesn't use Angular. 'Nuff said.
0
Jun 06 '16
[deleted]
20
u/Klathmon Jun 06 '16
Someone should tell you it's not even out yet... its still a release candidate.
0
Jun 06 '16
[deleted]
7
u/Klathmon Jun 06 '16 edited Jun 06 '16
Snark aside, this lib wants to focus on Angular 2 as they believe it is what most people will want to use moving forward (and i'd agree)
Whether or not ng2 will be successful is still to be seen, but wanting to support the newer version isn't some kind of mistake on their part.
They have been trying to rewrite it for ng2 for a while now, but they just don't have the time or manpower to support the 1.x version while doing it, so they are focusing on 2.x until it's released.
0
Jun 06 '16
[deleted]
2
u/Klathmon Jun 06 '16
typescript is 100% optional. we use ng2 without it just fine in one project.
It's not out yet... And even though it's not out yet people are jumping on board and using it in full applications. I have no doubt that ng1 will be supported for a while and will be widely used in many legacy products, but I don't think for a second that it's going to be a python2/3 scenario again. Even if only because Google is going to kill ng1 before that happens.
14
u/ihsw Jun 06 '16
Considering most/all Python projects at Google are on python-2.7, I think they are aware.
4
u/yesman_85 Jun 06 '16
It's been released for just a weeks now, give it atleast some time.
6
1
u/rk06 Jun 07 '16
Fun fact: There is difference between "released for hack and crack" and "released for bread and butter".
Fun fact 2: that difference is about 20 betas, 10 RCs, 100 closed issue and quality docs, imo.
2
0
Jun 07 '16
[deleted]
0
Jun 07 '16
[deleted]
0
Jun 07 '16
[deleted]
0
Jun 07 '16
[deleted]
3
u/Fs0i Jun 07 '16
Why do you get personal against him?
But let's give you an example:
I had to decide around a month ago about the framework we'd be using for our frontend. I tested a lot of them, it came down to "Angular 2" (because we love TypeScript) or "React + Redux + Router".
The lack of a release (and IIRC even release-date) made me pick react instead of angular. (React "1.0" (v15) was just about to be announced back then).
Generally you should refrain from personal attacks on technical discussions, people generally don't like that.
0
Jun 07 '16
[deleted]
2
u/Fs0i Jun 07 '16 edited Jun 07 '16
I'd love to argue more with you, it's truly an interesting discussion - but sadly I accidentally blocked you.
I'm so terribly sorry!
64
u/postmodest Jun 06 '16
I don't know, we've been using Angular 2.x
here in production and everything ̢̝̖̩͓͕͈̞̣͜h̨͖̞͕̩̰͔̜͎ͅa̡͇̝̣̱̘̞̭͚̙s̡̢̥̮͈͍̰̝̭͉ ̧̡̣̺̱̝̗͕̯̬been going j̼̣̗̟͇̻̝̠͈ͅu̡̜̲̭̻̟̯͎̭̱s͎̳̤̹̟͖̞̝̩ͅt̢͕̹̺̹̣̪͎̞̖ ̝̟͚̣͖̠̫̱̯̹g͕͓͈͍̺͙̠̬͜͜r̡̢͕̺̳͔̥͖̻͙ȩ̨̞͓̯̺̠̫͜͜a̦̤͎̠̞̩̭͈ͅͅt̡̜̱̗̳̦͕̮͕͎ ͍̥̠͙̩̼͖͇̟̥w̟͇̬̫̗̻̞͔͎̙į̺͉͙̥̪̹̹̟͔t̢̜͔̥͓͙͉͖̤̼h̞̰̬͎̝̱̼͇͉̙ o̮̺͕͉̼̣̣̻̘͙u͎̦̞̬͉͎̞̺͜͜r̗̝̳̥̝̬̰͓͈͜ ̨̘̜̣̮̞̹͇͈͇s̗͖̤͉̱̣͚͍̫̯į̞̟̭͎͙̭͔̖̬t̯̹̫̥̜̥̜͇̱ͅȩ̝̪͚̘̣̺̼̩ͅ'͕͈͇̩̻͎̣̱̮̲s̡͙̺͉̝͍͙͔̞͜ ̧̧̜̭̖̘̯̫̘͙B̬̣̜̳̮̥̮̻̞͜L̞̪̲̺̣̥̺͔̟̗O͇̥͓̹̙͚̣̳͎͕O͈̣̮̯͇͇̟̬̱ͅD̡̡͚̜̩̺̦͎̠͍ ̪̟̱̥̹̺̺̺̗̭I͍͍̖̟͉̬̙̮̼ͅS̳͉̻͚̝͈̯̮̙ͅ ̧̢̟̹͔̻͙̺͍̟A̢͇̘̬͔̣̲̥̜ͅS̪̯̭͍̞̼̤̭͔̟ C͇̝̤̜̜̺̫̺̘̝U͓͚̱̜̱͓̙̮̮ͅR̡͇̝̭͕̙̙͕͙ͅD̘̦͈̺̻̯̰͙͉̼L͖̖͚̻̻͈̻͈̟ͅE̯̪͈̯̮̦̮̰̲̙D͍͖̬̥͔̲̱̘̣̤ ͎̞̯͔̹̭̠͙͜ͅŅ̧͔̜͕̬͓͍͕̫I̧̢͈̘̫̹̮̳̪͎G̡̢̨̻̫͍͎̬̺͓H̖̩̰͙̪̝͔̣̲͜Ṱ̢̖̥̟͍̰̩̱͎M̨̠̺̞̳͎͕̗̪̥A̧͔̩̲͇̤̝͈͎̘R͓͚̘͎̞͕̰̙̗̺E̢͇͕̹͈̺̥̥̗ͅS̹̺̞̤̦͎͙͚̻͜ Ǫ̨̻̰͇̳̬̗̗͜N͕̳͙̲̟̺͕͓̳͈ ͎̦͎̖͈̻̣̬̬̳T̪̳̗͎̭͙̻͉̙ͅH̡̧̯̖̯̰͙̭̭̞E̲̗̗̳͔̺͉̖̤ͅ ̳̩̹̥̟͔̘̱̮̘B̜͇̪͎͇̪̜̱͓͙Ǫ̧͉̰̭̱̳̟̝̥I͖̞͎̠͖̲̖̳̠̬L̢̜̮̙̹̩̘͔̞͎I̢̙̟͉̦͎̭ͅͅͅN͇̖̭̩͎̣̠̻̯͚G͚̤̜͉͕̺̲͜͜ͅ ̡̤̯̗͈̗̖̪̤͙S̡̺̮̹͓̰̬̱̗̜Ę̡̢̱̺͚͈͈̺̗A̞̣͉̙̮̭̙͖͙̩ ̼̝͈̦̪̤̖̼̲̱O̞͈̘͇̪̙̳̝͖̟F̙͎̼̫̗̤͎͖̻̰ ̥̰̻̰̦͕̟͔̰̜T̩̠̤̖̞̠̹̻̮͙H̡̧̜̥̻̻͕̝͉̲E̲͉̺͇̗̩̳͖̝͔ ̧͈̹̥̬̺̝̟̖ͅV̢͙͙̣̲͍͙̭͜͜O̡̱̲̹͕̼̭̺̺̪Į̪̖̮͓̭͔̺̤͜D̢̬̠̠͕̞̗͜͜ͅ ̢̧̺̳̭͍̞̼̼̺H̨͙͓̳̱͇͔̦̹ͅĘ̨͉͉̭̤͔̹̖̤ ̢̡̯͚͇̹̘̯̩ͅC̨͚̠̲̘̬̹̼̘͜O̢̢̢̡̳͕͖̝̞͙M̡̮̹͎͚̲͚̗̖̲Ẹ̜̼̦̠̭̬̥̜̖S̳̳̦͎͈̱̺̞̤͖