logo

Is syntax holding back functional programming?

While looking through many programming languages over the years, I have come to appreciate the ones which are based around the theory of functional programming. I find they are a joy to write and allow for some very expressive code in few characters. However, when looking at the popularity of many of these languages I’ve noticed their popularity seems to be low. As you may have guessed from the title, I think a large part of this is down to syntax and I’d like to try and explain why I think this may be.
8 minutes to read

Dotnet Interop: C# and F# Pt. 3

So over the last couple of posts, we’ve looked at what does work well in C# from F#, and most of it seems to go pretty smoothly. But there are occasions where the languages refuse to play nice with each other. That’s what we’ll be discussing in this final post. Options Option in F# are a way to get around the idea of null by providing two ‘sub-types’ called Some and None.
4 minutes to read

Dotnet Interop: C# and F# Pt. 2

Continuing on from where we left off last time, we will try to cover off the rest of F#’s features that play really well and simply when being consumed from a C# codebase. Values F# can have values places directly inside modules, almost ‘global’ values in the module. See an example below :- module FunctionalParadigms let aNumber = 5 As we know from the last post, modules expose themselves as static classes in C#.
3 minutes to read

Dotnet Interop:- C# and F#

What makes F# special? In the Dotnet world, F# stand out as being the Functional based language. This might sound strange, and I on’t have time to go into the full difference between Function and Object-Oriented languages and paradigms here, please do a google if you wish to learn more. Some of the main features of F# that are relevant to this series are as follows:- Higher Order Functions Modules Records Sequences Discriminated Unions Options I put them in this order for a reason.
4 minutes to read

Dotnet Interop:- C# and Visual Basic

This is Part 1 in my series of Blog Posts on DotNet interop. Why Visual Basic? I decided to use visual basic as my first way to show Interop as C# and Visual Basic both share the same programming paradigm of object orientation. A sample of the languages! Below I have snippets of two classes which are mirrors of each other in both Visual Basic and C#. Visual Basic C# (Those more astute of you will have notice Visual Basic’s superiority with a lack of Semi-Colons and Brackets …)
3 minutes to read

Dotnet Interop

What is DotNet? DotNet is a whole stack. It can get very confusing when talking about .NET and what it is. The main part which actually makes all of the following possible is the .NET runtime. What this runtime is in simple terms, is a layer which takes the compiled code, and runs it on the machine. It managed to do this as it reads what is know as Intermediate Language (IL) and translates this to be ran natively on the machine.
2 minutes to read

Xamarin Shell for Web Developers

Coming from web development, I have become very used to and familiar with the MVC architecture for development. It allows for good decoupling of components and also allows for excellent use of Dependency Injection (DI). Having moved to start teaching myself mobile app development through Xamarin Forms , I found the view centric approach to navigation very odd and strange. It was tightly coupled to the framework and I spent hours trying to come up with the perfect navigation service that was generic enough to use.
4 minutes to read

Can contributing to open source be easy?

A very leading question in the title and the answer is, of course! Nobody said you had to commit code to be part of an open source project, many people commit changes to documentation and this is where my second open source pull request(PR)/ commit lies. I was recently working on a project which is using the Prism Library (https://github.com/PrismLibrary ) , a MVVM Framework for Xamarin Forms and WPF (Windows Presentation Foundation).
2 minutes to read

My First Open Source Pull Request

I always thought open source would be a scary world and the start of it was. I was shown a nice little website named First Timers Only ( https://www.firsttimersonly.com/ ), and this was my entry point. This lead me to the UpForGrabs page and I started filtering by what I knew, .NET. (Yes I skipped first contributions, if I don’t know how to do a pull request after working in industry for a year, I may be in the wrong profession)
3 minutes to read

Remove Cached Report Data Ssrs

I was working with a SQL Server Reporting Services (SSRS) Report the other day and found myself trying to work with some data changes while writing the report to ensure the report was behaving as expected. Initially, nothing on the report changed even though I had changed the data, I found this odd and thought I might’ve been pointing at the wrong database. After a bit of googling, I found that report data get cached after the first run of previewing a report.
2 minutes to read