JavaScript and its role in Artificial Intelligence, AR, and VR
I've been putting out more JavaScript courses, playing with new technologies, and I got really deep into React and Redux. Been having a lot of fun with those. Redux introduces a more functional approach to JavaScript state management, which is pretty amazing. I've enjoyed building it into my projects, and it has really simplified things like unit testing for your app's state management. I really appreciate the simplicity of Reducers in Redux. If you're not familiar with Redux, the reducers are regular reducer functions for the purposes of app state management. Using reducers for state management has been really amazing and has totally transformed the way I think about building apps, so I've been really happy with it. I've also played with Angular 2 just a little and I've been playing with TypeScript. I have mixed feelings about both of those so far. Angular 2, compared to React and Redux, feels like it has a lot more overhead and not a lot of benefit. Like writing unit tests for the views in Angular 2 is much more complicated than writing unit tests for things like Pure Components in React. Maybe as I use it more I'll start to "feel" it a little more. In TypeScript, I really like the IDE(Integrated development environment) type hinting that it gives you, and I like the Type Inference capability so you don't have to manually annotate everything, which is fantastic ... an amazing feature. I like that more than the type annotations available with Tern.js, but the problem is that since it needs to see how the types flow through the program, sometimes it will infer types that are a little too strict and you have to go in and manually loosen up the type annotations. Sometimes, it's really hard to do that especially if you use any kind of complicated functional programming techniques, which I tend to do once in a while.
Sep-9-2016, 06:40:19 GMT
- Country:
- Europe (0.04)
- North America > United States (0.04)
- Industry:
- Health & Medicine (1.00)
- Information Technology (0.68)
- Technology: