after learned PowerShell script, what makes sense to learn, C# or F# ?


  • I have couple years of PowerShell scripting experience and started to be interested into programming language again.

    I did some homework if I should go for C# or F# next.  Granted PowerShell was written in C#. However, the pipeline and functions are totally cool for F#.  F# is newer than C#. F# is better suit for data manipulation. C# is more structured and it is the legitimate "father" to PowerShell.  

    Also, I am in my late 30s, i figured I may work another 30 years. So, learning F# seems to be a better bet because it is newer language and started to gain more popularity.  However, C# is currently more dominate (widely used) than F#.

    With all this situation, what do you think the best language to pick between C# and F#?

    Note: this is by far purely based on your opinions, there is no wrong or right answer. 


    Thursday, February 16, 2017 9:40 PM


  • As you say, what you choose is purely a matter of personal preference.

    For me, I like C# better because of it's huge user base, prevalence of publicly available solutions and help, and is closely related to other dominant programming languages like Java and C++, making skills more transferable and solutions more adaptable. 

    I know enough PowerShell to be dangerous and if dialect between C# & PowerShell are similar, then it's easier for me sharpen (pun intended) both skills at the same time, during my learning process.

    ...but that's just me.


    Phil Streiff, MCDBA, MCITP, MCSA

    Thursday, February 16, 2017 10:04 PM