r/angularjs • u/tuesdaysaintnothing • Oct 18 '16
100 days of Angular 2
http://www.netinstructions.com/100-days-of-angular-2/6
Oct 18 '16
Very in-depth! Amazing, so many articles skip over the "easy" stuff which is obviously relative.
1
-2
Oct 19 '16
The frowny face at YOUR PARTICULAR favourite editor not supporting syntax highlighting OUT OF THE BOX is where I stopped reading.
2
u/netinstructions Oct 19 '16
That's silly. I have no favorite editor. I switched to VS Code on the second day, but I use Atom / Sublime / VS Code / Eclipse depending on the day and my projects' needs.
1
Oct 20 '16
Which is why that remark was even sader. You know very well (or should know) that installing support for TypeScript in Atom is Ctrl+Shift+P (much like in VS Code or Sublime) and few types away. I don't use or particularily like Atom, yet that whiny comment in the article which was baseless, useless and quite frankly, painted you in a very "entitled, whiny, why isn't it all working for me out of the box" kinda way, totally ruined the reading experience for me. I literally cringed upon reading that.
I did lie partially, I've actually skimmed that and the rest of the articles and while I don't agree with all your choices it's still going to obviously be useful for people dipping their toes in ng2.
1
u/netinstructions Oct 20 '16
I'm not sure how a sad face translated to "I'm a entitled, whiny, why isn't it all working for me out of the box?" kinda way that totally ruined the experience for you. I noted it and moved on. In the wrap up at the end I wrote:
There isn't great Typescript support for Atom out of the box, so I'll need to find a good plugin or switch to a different editor.
BUT if you really want some whining, I'll go into detail what happened the last time I tried to install an Atom plugin:
Find a well supported or official plugin (not always the first one that comes up in the search box)
Troubleshoot the first installation error: SSL certificate problem: unable to get local issuer certificate (in this case due to proxy settings).
Troubleshoot second installation error: npm ERR! install:
node-gyp rebuildnpm ERR! Exit status 1 (in this case a myriad of build dependencies were missing)...which ended up taking a few hours to identify and resolve :)
13
u/hans_l Oct 18 '16
No love for the Angular-CLI? It would have done what you did in 5 days (including tree shaking) in under a day. And you would have just coded Angular the whole time, no messing around stuff like build systems and other stuff that's not your project's code. It's really that simple.
Disclaimer: I'm the lead of the Angular CLI project.