Re:Expand Your Programming Vocabulary (for Beginners)
by iopq on Friday February 05, 2016 @05:51AM
(#11040670)
OK, that Angular example triggered me. This is exactly why I couldn't make heads or tails of my Angular caching issue - because all answers on SO were like this.
[ Parent
| on HN ]
Re:Expand Your Programming Vocabulary (for Beginners)
by kidmenot on Friday February 05, 2016 @06:18AM
(#11040763)
And indeed the Angular documentation does not help at all. It's awfully abstract, and I always had the impression it's trying its best to avoid telling you what you actually need to do in order to achieve X, for most values of X.
This kind of non-documentation, coupled with the fact that Angular is IMO overengineered, drives me crazy.
Re:Expand Your Programming Vocabulary (for Beginners)
by k__ on Friday February 05, 2016 @06:32AM
(#11040795)
That's why it's always a good idea to look into other frameworks and languages :)
I had to do some Java stuff in university so I knew the concept of dependency injection. But in JavaScript it isn't used that often.
Probably because "classes" are simply functions there and you can store a function in a variable and pass it around without thinking about its "real" name, which already decouples things quite nicely.