3 ms·
No problem. People like you have to stick with the old stuff because of this mindset. I mean WTF is bugging you? It's just code you have to write in order to ge
by SeriousM 10y ago
No problem. People like you have to stick with the old stuff because of this mindset.
I mean WTF is bugging you? It's just code you have to write in order to get the thing running.
You could also complain about the empty object in the angular1 method.
- livus 10y agoFrom a limited perspective, writing code in angular can be a little jarring process. Compared to js in the browser and node, js in ng comes in the way of the thought process.
- paganel 10y ago> I mean WTF is bugging you? Not the OP, but having to write four lines of code instead of one does not look that good. Less is more. Code bloat should be called out.
- Bahamut 10y agoThe code blocks written don't tell the whole story - the analog to the .Class is the controller in Angular 1, which one would have to specify a controller name or define it right in the component, therefore giving equivalent lines for the most part. It sounds like the person is awfully resistant to TypeScript as well, as the syntax for a component in TS is just @Component({ }) class Foo { }
- deleted 10y ago[deleted]
- merb 10y agoActually I'm not resistant to TypeScript. I just don't want it. Reasons are: - Google changes their mind so freaking often that it's simple not a good idea to follow them there. (Just look at GWT, good project however the direction is more and more confusing especially the communication is really really akward. - Why changing to Angular 2 and TypeScript when there are way many other frameworks that are either in JavaScript or just a little bit better suited for some things? - Why can't I upgrade in a slow path with small deprecations? (i.e. emberjs, react) That are the most reasonable. Actually there are some others which has more something todo with our internal things and that ScalaJS < = > Scala is so good at the current stage.