Posts for tag: javascript

React and Redux

For the longest time after React was released I had difficulty really understanding how it was supposed to be used. Coming from years of MVC/MVVM experience in Java, C#/WPF, and Angular, React seemed strange. The basic tutorials and examples showed 'how' you do something, but never why, and there was pretty much no separation between view and controller logic.
Eventually I sat down and wrote something using React and Redux, following the 'best practices', so I could understand the decisions that went into the frameworks and how they could be used.

Monty Hall Puzzle

Wikipedia has an excellent article on the “probability puzzle” know as the Monty Hall problem. It’s based around the concept of a game show where a contestant must pick one of three doors. Behind one of the doors is the prize. When the contestant picks the door, the host opens one of the other doors that doesn’t have the prize and then asks the contestant if they want to switch their choice. The question: Do you switch or not?

Basic Animation

In my day job, I spend a lot of time coding core business logic applications. What do you do with data A in situation B kind of logic. So when I work on something code related in my off time, I like to putz with technologies outside of that bubble. With that in mind, I'm going to talk about animation.