F# Is The Best Coding Language Today
source link: https://danielbmarkham.com/fsharp-is-the-best-programming-language-today/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
F# Is The Best Coding Language Today
If you want to personally pick up a programming language in order to become a better coder in whatever other languages you use, F# is the best overall teaching/coding language you can find.
I make that claim based on three assumptions:
- Programming languages are much more than simply a list of features and rules. In the modern era, they're probably much better thought of as an interactive video game where the IDE, extensions, REPL, compilation speed, and lots of other things give an overall developer experience. This experience is a big part of what keeps coders engaged in personal projects and learning (or not)
- Most coders are interested in learning how to code in a purely functional manner, but don't know how to do so. (This can be true even of programmers who have been coding in FP for years) Languages that provide a wide range of styles from OO/Imperative all the way to Pure FP allow coders to code "where they are" and then learn to be better coders by cleaning up what they have.
- Libraries and the size/temperament of the development community play a big role in the SO/REPL loop, where coders get temporarily stuck and others are able to help them out
If these three assumptions are true, then F#, being a sort of bastard child between Microsoft and OCaml, allows programmers to play in a world where they can learn and change their programming style over time.
// Learn more about F# at http://docs.microsoft.com/dotnet/fsharp
open System
// Define a function to construct a message to print
let from whom =
sprintf "from %s" whom
[<EntryPoint>]
let main argv =
let message = from "F#" // Call the function
printfn "Hello world %s" message
0 // return an integer exit code
Most of the time, when we rank programming languages, we talk about rules, syntax, features, and whatnot. If that's your thing, then my first assumption does not hold true and my entire argument falls apart.
Many programmers want to look at languages simply in terms of external characteristics: the licensing provided, the number of jobs available, and so forth. If your goals aren't also internal, with gradual learning, and being able to move across paradigms, assumption #2 does not hold.
There are those who are strictly DIY. Many libraries are suboptimal for them. Honestly, I don't know many of these folks, but if that's you, assumption #3 fails.
Note: I'm not saying F# is the best language to code in professionally. I'm not saying F# is the best language for all problems. I'm doing my best not to make grandiose claims and instead narrow down the superlative of the title with more nuance. My point is that if you want to personally pick up a programming language in order to become a better coder in whatever other languages you use, right now F# is the best overall teaching/coding language you can find.
Share:
Recommend
-
158
-
61
Welcome! The SOUL project is currently at a very early stage in its evolution! We're hard at work on a native API which we aim to release in Q4 2019. In the meantime, we wanted to let people explore th...
-
32
If you are a student who starts learning programming, Java, ask yourself several questions. What are the main benefits of learning Java as the first programming language? How hard is it to learn Java? When students are ju...
-
8
Why Python is the Most Beginner-Friendly Coding LanguageHello, World! - Why Python is the Most Beginner-Friendly Coding Language by@aswinbarath
-
4
Editorial Reviews From the Back Cover Gain all the skills required to dive into the fundamentals of the Raspberry Pi hardware architecture and how data is stored in the Pi’s mem...
-
15
Raspberry Pi Assembly Language Programming see more bene...
-
2
Home News Apple introduces free Today at Apple coding session ...
-
7
October 28, 2022 /
-
1
Secure Coding – A critical skillin today’s threat landscape Feb 22, 2024 OffSec...
-
4
GalaChain Hackathon: The Game-Changing Coding Marathon begins today!
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK