Need advice about which tool to choose?Ask the StackShare community!

F#

362
415
+ 1
346
Hack

120
133
+ 1
28
MATLAB

607
528
+ 1
28
Advice on F#, Hack, and MATLAB
Needs advice
on
Kotlin
F#
and
C#

Hi there. I want to expand my coding toolset. So I want to learn a second backend language besides Kotlin. Kotlin is fantastic. I love it in every aspect, and I think I can never return to Java. And also why should I? It is 100% interoperable with java and can co-exist in every project.

So my question here is. Which language do you think will bring me more joy? I think F#; it is more like Kotlin. Then C# (it's more or like 100% java). But, let's say I learn F#. Is it 100% interoperable like Kotlin? can they live side by side? Can I, then, apply to .NET jr jobs after a while, for example, or is C# the holy cow? I would like to learn .Net.

If it is the worst and only C# is acceptable, then which language should I learn? Dart? Go?

See more
Replies (3)
Recommends
C#

animefanx1,

First let's get your questions sorted: Which language do you think will bring me more joy?

This you will have to decide for yourself, I am a long time C# developer and have seen it grow into a very compelling platform. The language and I'd compare it more to Kotlin than Java (by a long margin). More on .NET in a bit.

say I learn F#. Is it 100% interoperable like Kotlin?

You can have 100% interop with a caveat, your F# libraries have to implement certain guidance in order to be referenced from C#. Some (dare I say most) of the differences between F# and C# are predicated on language constructs that are not available in C#. For instance F# functions that return Unit.

can they live side by side?

Yes.

Can I, then, apply to .NET jr jobs after a while, for example, or is C# the holy cow?

I don't know if I take your meaning, but let me say this: Learning either C# or F# will likely force you to understand concepts such as garbage collection, primitive types, etc. which apply to all .NET languages, thus a lot of the effort you put into .NET is bound to pay off regardless of your choice.

If it is the worst and only C# is acceptable, then which language should I learn? Dart? Go? You can't go wrong with any of these and I venture to say whether you select C#, F#, Dart or Go as your next adventure, your willingness to learn will take you to try other languages, some which mey not even exist yet!

PS1: .NET is an end to end environment now. With the introduction of Blazor and Razor pages one does not need JavaScript or other browser scripting languages, it even interops with JavaScript. PS2. Microsoft is working on unifying .NET. Soon there will be only one version: .NET 5! Caveat: Some features such as WinForms will still be specific to the windows environment but all of those are likely things you don't need in Mac or Linux

See more
Recommends
Kotlin
C#

Exceptional decision to go with Kotlin. For the other story, go full with C#. "is C# the holy cow? Yes it is.". Specially now when netCore is crossplatform and you can build asp.net core applications on Windows, Linux and macOS via Visual Studio Code which is also multiplatform. Nothing will beat C# in the near future. Also, at the end of 2021 Microsoft will release Net 6.0 which will include MAUI.

"For those new to .NET MAUI (standing for .NET Multi-platform App UI), Microsoft says it's "the evolution of Xamarin.Forms extended from mobile to desktop scenarios with UI controls rebuilt from the ground up for performance and extensibility."

So, C# all the way sire!

See more
Recommends
Go

I think you can learn go instead C#. C# is cool, but Golang also cool. It can run on any OS without specific software. C# can run on linux too but it's only the .NET Core as I know. But golang is flexible. So try it and decide what do you think about Golang

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of F#
Pros of Hack
Pros of MATLAB
  • 50
    Pattern-matching
  • 38
    Makes programming fun again
  • 35
    Type providers
  • 29
    Delightful
  • 28
    Frictionless
  • 23
    Static type inference
  • 19
    Composable
  • 17
    REPL
  • 16
    Ml syntax
  • 15
    Succinct
  • 8
    Making invalid states impossible
  • 8
    DDD
  • 6
    WebSharper
  • 6
    Great community
  • 5
    Language support for units of measure
  • 4
    Powerful
  • 4
    Open source
  • 4
    Less bugs
  • 4
    Functional Programming
  • 3
    Allow use JS and .NET libraries
  • 3
    Computation Expressions
  • 3
    Functional paradigm
  • 3
    Fun to write
  • 3
    Compact
  • 3
    Productive
  • 3
    Multiplatform
  • 3
    Beautiful Code
  • 3
    Object oriented features
  • 6
    Open source
  • 6
    Interoperates seamlessly with php
  • 5
    Backed by facebook
  • 4
    HHVM
  • 2
    Great documentation
  • 2
    Generics
  • 2
    PHP like
  • 1
    Used by facebook
  • 0
    Great type system
  • 0
    Fast
  • 0
    Easy to learn
  • 14
    Simulink
  • 5
    Functions, statements, plots, directory navigation easy
  • 3
    S-Functions
  • 2
    REPL
  • 2
    Model based software development
  • 1
    Simple variabel control
  • 1
    Solve invertible matrix

Sign up to add or upvote prosMake informed product decisions

Cons of F#
Cons of Hack
Cons of MATLAB
  • 2
    Microsoft tend to ignore F# preferring to hype C#
  • 1
    Hype
  • 1
    Interop between C# can sometimes be difficult
  • 1
    Type Providers can be unstable in larger solutions
    Be the first to leave a con
    • 1
      Parameter-value pairs syntax to pass arguments clunky
    • 0
      Does not support named function arguments
    • 0
      Doesn't allow unpacking tuples/arguments lists with *

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is F#?

    F# is a mature, open source, cross-platform, functional-first programming language. It empowers users and organizations to tackle complex computing problems with simple, maintainable and robust code.

    What is Hack?

    Hack provides instantaneous type checking via a local server that watches the filesystem. It typically runs in less than 200 milliseconds, making it easy to integrate into your development workflow without introducing a noticeable delay.

    What is MATLAB?

    Using MATLAB, you can analyze data, develop algorithms, and create models and applications. The language, tools, and built-in math functions enable you to explore multiple approaches and reach a solution faster than with spreadsheets or traditional programming languages, such as C/C++ or Java.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use F#?
    What companies use Hack?
    What companies use MATLAB?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with F#?
    What tools integrate with Hack?
    What tools integrate with MATLAB?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to F#, Hack, and MATLAB?
    Haskell
    It is a general purpose language that can be used in any domain and use case, it is ideally suited for proprietary business logic and data analysis, fast prototyping and enhancing existing software environments with correct code, performance and scalability.
    OCaml
    It is an industrial strength programming language supporting functional, imperative and object-oriented styles. It is the technology of choice in companies where a single mistake can cost millions and speed matters,
    Scala
    Scala is an acronym for “Scalable Language”. This means that Scala grows with you. You can play with it by typing one-line expressions and observing the results. But you can also rely on it for large mission critical systems, as many companies, including Twitter, LinkedIn, or Intel do. To some, Scala feels like a scripting language. Its syntax is concise and low ceremony; its types get out of the way because the compiler can infer them.
    Python
    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
    Clojure
    Clojure is designed to be a general-purpose language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language - it compiles directly to JVM bytecode, yet remains completely dynamic. Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system.
    See all alternatives