Hi guys, I've spent quite some time in the past using the Roslyn API, in an internship and during the Google Summer of Code 2015. Thought I'd be a great idea to present it here. The .NET Compiler Platform, known by the name of Roslyn, was made available to the public as an extension to… Continue reading A better tomorrow for source code with Roslyn
Since Push requires stacks to manipulate its data, we need an implementation of this data structure. There is of course a .NET implementation, however, it is not a “functional” data structure, in a sense that it is mutable. It is easy enough to implement our own, purely functional, immutable stack.
F# list is a logical choice for an underlying implementation. It derives from Seq (i.e. implements all IEnumerable flavors), has a useful length property which we would like to have for our stack as well:
What remains is to implement basic operations, which are all static members of the Stack module.
These are pretty straightforward. pop function has a slight quirk: we would like to return both the value of the head of the stack as well as “the rest” of the stack. So the return type in this case is a tuple.
Another slight irregularity: stack functions work on…
View original post 270 more words
Hey guys, So this week I worked on a small code kata. The purpose of this project is to simply be able to format text into a bullet point like any text editor allows you to do it. To complete this challenge, I decide to use F# since it's so great for prototyping and get… Continue reading Bullet points formatter
Hey guys, I'll start by wishing you readers an happy new year. Lots of things are changing for me this year. I'll go a quick review of last year I was a full-time intern at Genetec working as Software Developer from Jan to April I gave a tech talk in my local .NET meetup concerning… Continue reading Goals for 2017
Hey guys, So, professional shaped skills... What's that. Basically, it's the form your skills take concerning your expertise in your individual field(s). This form will depend on both depth and broadness. Trying to learn as many things as possible will lead to little depth and a large broadness of skills. The exact opposite leads to… Continue reading Shaping your profesional skills structure
Hey guys Today, I'm here talking about how to better ourselves us developers. We're always learning while working and that's bad. We should instead learn in our own time and practice before trying to use our tools to resolve the bugs in the software and the features requests from the clients. Learning on the job… Continue reading Become better, learn better, do code katas !
Hey guys, In spirit of my withdraw from the Google Summer of Code program this summer, I thought I'd do a piece of the project I successfully completed last summer. So what brought me to the program last year ? I spent a few weeks on working on a new thing in .NET called Roslyn.… Continue reading GSOC 2015 : From NRefactory 6 to RefactoringEssentials