James Hickey's Blog

Looking At Software Related Ideas Using Short And To The Point Code Samples :)

Menu Close

Page 2 of 2

Functional Programming With C#: Simple Use Case

Update: I created a YouTube video based on this post, if you are interested….

During the past year and a half I have been making a point to learn about and develop my skills in functional programming. For the majority of this experience, I have been using JavaScript and TypeScript. After moving onto another project at work, I was brought back to “C# and SQL world.” Long story short, I noticed the way I was thinking about software problems in C# were totally different than before.
Read more

TypeScript Decorators: Bind Constructor Parameters Automagically

The more I use TypeScript the more I realize how powerful it really is. TypeScript decorators are one of those fantastic features that let you do things like automate common tasks and create isolated modules that can be reused. TypeScript constructor decorators allow you to do some really fancy stuff. Keep reading.
Read more

Using TypeScript Decorators To Clean-Up Mixins

Lately (at the time of publishing this article) I’ve been migrating a JavaScript framework I built over to TypeScript. The core UI components are built using mixins. One issue I ran into is trying to clean up code that builds creates objects by combining mixins. By using TypeScript decorators I was able to clean this up to my liking. 🙂

Read more

© 2018 James Hickey's Blog. All rights reserved.

Theme by Anders Norén.