Learning Ruby playing a game

A game I found that will help you learning ruby


So, I was thinking it would be cool if there was a game to learn Ruby. Games are good for learning, because the more interesting the material is, the more likely it will be retained.


Continue reading Learning Ruby playing a game



How to use decimal with mongodb and .NET C#

MongoDB doesn’t support decimal. How can we use it to represent money? This article will explain it to you.


When working with money we need to be concerned with the accuracy of the data as well as the calculations we do. Imagine that you have an ecommerce website with a feature that allows users to have a credit balance on their accounts. One user has 86.25€ and had just spend 86.24€. We expect him to be left with 0.01. But is he?


Continue reading How to use decimal with mongodb and .NET C#


Using Roslyn to validate guard clauses - CodeFixProvider

An example using Roslyn to stop doing if return else statements. It’s bad for maintainability and it is error prone.


In my last post, I showed you how to build an Analyzer to detect inadequate guard clauses. But we can do more with Roslyn API and I’ll show you today how we can give a suggestion to our developers on how can they fix it propertly.


Continue reading Using Roslyn to validate guard clauses - CodeFixProvider


Pagination


© 2017. All rights reserved.

Powered by Hydejack v6.3.0