Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. F#

F#

Scheduled Pinned Locked Moved The Lounge
csharpcomquestionlearning
20 Posts 12 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Super Lloyd
    wrote on last edited by
    #1

    Sometimes I wonder about F#... I remember a while ago I spent the effort of learning all the syntax and then.. I dropped it.. perhaps because I found it hard to interact with F# and not worth the effort for only fuzzy benefit... Can anyone enlighten me and motivate me to give F# another try?

    A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

    OriginalGriffO K L H C 9 Replies Last reply
    0
    • S Super Lloyd

      Sometimes I wonder about F#... I remember a while ago I spent the effort of learning all the syntax and then.. I dropped it.. perhaps because I found it hard to interact with F# and not worth the effort for only fuzzy benefit... Can anyone enlighten me and motivate me to give F# another try?

      A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      Well, it's three letter "better" than C# ... and that's all I know about it.

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      G 1 Reply Last reply
      0
      • S Super Lloyd

        Sometimes I wonder about F#... I remember a while ago I spent the effort of learning all the syntax and then.. I dropped it.. perhaps because I found it hard to interact with F# and not worth the effort for only fuzzy benefit... Can anyone enlighten me and motivate me to give F# another try?

        A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

        K Offline
        K Offline
        Kenneth Haugland
        wrote on last edited by
        #3

        People that does a lot of math coding seems to like it, as F# give less noisy code.

        1 Reply Last reply
        0
        • S Super Lloyd

          Sometimes I wonder about F#... I remember a while ago I spent the effort of learning all the syntax and then.. I dropped it.. perhaps because I found it hard to interact with F# and not worth the effort for only fuzzy benefit... Can anyone enlighten me and motivate me to give F# another try?

          A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Super Lloyd wrote:

          Sometimes I wonder about F#...

          Sometimes I wonder about F-all. :-D

          1 Reply Last reply
          0
          • S Super Lloyd

            Sometimes I wonder about F#... I remember a while ago I spent the effort of learning all the syntax and then.. I dropped it.. perhaps because I found it hard to interact with F# and not worth the effort for only fuzzy benefit... Can anyone enlighten me and motivate me to give F# another try?

            A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

            H Offline
            H Offline
            honey the codewitch
            wrote on last edited by
            #5

            It's kind of less useful than it once was since C#'s LINQ and lambdas/anonymous methods are pretty mature and together provides functional programming within an imperative language, giving you the best of both worlds, so to speak. F# is geared toward purely functional programming like Scheme or Haskell, and as such is basically a glorified query language. It's great for mathematical style code, or query code, but not much else, honestly. While there's some modicum of state it's not really geared for stateful programming.

            Real programmers use butterflies

            S 1 Reply Last reply
            0
            • H honey the codewitch

              It's kind of less useful than it once was since C#'s LINQ and lambdas/anonymous methods are pretty mature and together provides functional programming within an imperative language, giving you the best of both worlds, so to speak. F# is geared toward purely functional programming like Scheme or Haskell, and as such is basically a glorified query language. It's great for mathematical style code, or query code, but not much else, honestly. While there's some modicum of state it's not really geared for stateful programming.

              Real programmers use butterflies

              S Offline
              S Offline
              Super Lloyd
              wrote on last edited by
              #6

              yeah I had this feeling too... my amin hobby interest is desktop UI app.. and F# seems to bring little here...

              A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

              H 1 Reply Last reply
              0
              • S Super Lloyd

                yeah I had this feeling too... my amin hobby interest is desktop UI app.. and F# seems to bring little here...

                A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                H Offline
                H Offline
                honey the codewitch
                wrote on last edited by
                #7

                yeah it's really not geared for that. You need state.

                Real programmers use butterflies

                1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  Well, it's three letter "better" than C# ... and that's all I know about it.

                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                  G Offline
                  G Offline
                  grralph1
                  wrote on last edited by
                  #8

                  So You must be waiting for A# then.

                  "Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980

                  K J 2 Replies Last reply
                  0
                  • S Super Lloyd

                    Sometimes I wonder about F#... I remember a while ago I spent the effort of learning all the syntax and then.. I dropped it.. perhaps because I found it hard to interact with F# and not worth the effort for only fuzzy benefit... Can anyone enlighten me and motivate me to give F# another try?

                    A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                    C Offline
                    C Offline
                    CPallini
                    wrote on last edited by
                    #9

                    Super Lloyd wrote:

                    Can anyone enlighten me and motivate me to give F# another try?

                    It is simpler than C#. The latter has more alterations in clef.

                    "In testa che avete, Signor di Ceprano?" -- Rigoletto

                    1 Reply Last reply
                    0
                    • G grralph1

                      So You must be waiting for A# then.

                      "Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980

                      K Offline
                      K Offline
                      Kenneth Haugland
                      wrote on last edited by
                      #10

                      What happened to B flat then?

                      G 1 Reply Last reply
                      0
                      • K Kenneth Haugland

                        What happened to B flat then?

                        G Offline
                        G Offline
                        grralph1
                        wrote on last edited by
                        #11

                        Good Point. Devs don't really like the word "Flat" as it has negative connotations. E.G. Flat Tyre and feeling flat. So probably not such a good name for a programming language. Sharp is well accepted as we think that it refers to our minds, our intelligence and our wit. On the other hand, being a rather sedentary job, I noticed that Bb or B Flat is a supposedly an expensive fat burning belly cream that is supposed to flatten your stomach and remove stretch marks. Just looked this up but I don't believe it. In addition I should add that I know what you are doing here. When A# is finally released, just don't tell the Devs that it has equivalence with Bb, else it is doomed.

                        "Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980

                        1 Reply Last reply
                        0
                        • S Super Lloyd

                          Sometimes I wonder about F#... I remember a while ago I spent the effort of learning all the syntax and then.. I dropped it.. perhaps because I found it hard to interact with F# and not worth the effort for only fuzzy benefit... Can anyone enlighten me and motivate me to give F# another try?

                          A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                          S Offline
                          S Offline
                          Stuart Dootson
                          wrote on last edited by
                          #12

                          If [this list of F# attributes](https://fsharpforfunandprofit.com/series/why-use-fsharp/) looks interesting, it might be worth your while giving it another go - otherwise probably not. For me, the [conciseness of F#](https://fsharpforfunandprofit.com/posts/conciseness-intro/), together with the [rich type system](https://fsharpforfunandprofit.com/series/designing-with-types/) make it the .NET language I prefer (not that I do much .NET programming - C++ is where I normally live).

                          Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                          S 1 Reply Last reply
                          0
                          • G grralph1

                            So You must be waiting for A# then.

                            "Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980

                            J Offline
                            J Offline
                            jsc42
                            wrote on last edited by
                            #13

                            I'm not a musician, but I thought the sequence of sharps in the major scales was 0. (C major) 1. F# (G major) 2. C# (D major 3. G# (A major) 4. D# (E major) 5. A# (B major) 6. E# (F# major) 7. B# (C# major) ... 6000000. (Lee Majors)

                            1 Reply Last reply
                            0
                            • S Stuart Dootson

                              If [this list of F# attributes](https://fsharpforfunandprofit.com/series/why-use-fsharp/) looks interesting, it might be worth your while giving it another go - otherwise probably not. For me, the [conciseness of F#](https://fsharpforfunandprofit.com/posts/conciseness-intro/), together with the [rich type system](https://fsharpforfunandprofit.com/series/designing-with-types/) make it the .NET language I prefer (not that I do much .NET programming - C++ is where I normally live).

                              Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                              S Offline
                              S Offline
                              Super Lloyd
                              wrote on last edited by
                              #14

                              Nice links, thanks! :)

                              A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                              1 Reply Last reply
                              0
                              • S Super Lloyd

                                Sometimes I wonder about F#... I remember a while ago I spent the effort of learning all the syntax and then.. I dropped it.. perhaps because I found it hard to interact with F# and not worth the effort for only fuzzy benefit... Can anyone enlighten me and motivate me to give F# another try?

                                A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                                Sander RosselS Offline
                                Sander RosselS Offline
                                Sander Rossel
                                wrote on last edited by
                                #15

                                I learned Haskell at school. Never did anything with it, but... It gave me another way of thinking about code and that's priceless. Since I've taken that course, my C# code looks different. I've taken out the global variables and reduced side effects by a lot. Most of my code is just thread-safe by default now. And when it isn't, I know it isn't and I know the implications. If that didn't happen to you after learning F# the last time, it may not have landed and you may want to give it another try. C# isn't a functional language, so you may not reap all the benefits of functional programming, but at least all the best ones :D

                                Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                                G 1 Reply Last reply
                                0
                                • S Super Lloyd

                                  Sometimes I wonder about F#... I remember a while ago I spent the effort of learning all the syntax and then.. I dropped it.. perhaps because I found it hard to interact with F# and not worth the effort for only fuzzy benefit... Can anyone enlighten me and motivate me to give F# another try?

                                  A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                                  G Offline
                                  G Offline
                                  Gaston Verelst
                                  wrote on last edited by
                                  #16

                                  Well, shameless self-promotion: [Using an F# DSL to Generate C# code](https://www.codeproject.com/Articles/5301612/Using-an-Fsharp-DSL-to-generate-Csharp-code) For this kind of scenarios F# shines, imo.

                                  Check out my blog at http://msdev.pro/

                                  S 1 Reply Last reply
                                  0
                                  • G Gaston Verelst

                                    Well, shameless self-promotion: [Using an F# DSL to Generate C# code](https://www.codeproject.com/Articles/5301612/Using-an-Fsharp-DSL-to-generate-Csharp-code) For this kind of scenarios F# shines, imo.

                                    Check out my blog at http://msdev.pro/

                                    S Offline
                                    S Offline
                                    Super Lloyd
                                    wrote on last edited by
                                    #17

                                    Interesting sample, will take a deeper look, thanks! :)

                                    A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                                    1 Reply Last reply
                                    0
                                    • S Super Lloyd

                                      Sometimes I wonder about F#... I remember a while ago I spent the effort of learning all the syntax and then.. I dropped it.. perhaps because I found it hard to interact with F# and not worth the effort for only fuzzy benefit... Can anyone enlighten me and motivate me to give F# another try?

                                      A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                                      H Offline
                                      H Offline
                                      H Brydon
                                      wrote on last edited by
                                      #18

                                      My favorite is B#, also known as C.

                                      If pigs could fly, just imagine how good their wings would taste! - Harvey

                                      1 Reply Last reply
                                      0
                                      • Sander RosselS Sander Rossel

                                        I learned Haskell at school. Never did anything with it, but... It gave me another way of thinking about code and that's priceless. Since I've taken that course, my C# code looks different. I've taken out the global variables and reduced side effects by a lot. Most of my code is just thread-safe by default now. And when it isn't, I know it isn't and I know the implications. If that didn't happen to you after learning F# the last time, it may not have landed and you may want to give it another try. C# isn't a functional language, so you may not reap all the benefits of functional programming, but at least all the best ones :D

                                        Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                                        G Offline
                                        G Offline
                                        Gaston Verelst
                                        wrote on last edited by
                                        #19

                                        I took the same course, with exactly the same results :) And F# is a natural extension to it.

                                        Check out my blog at http://msdev.pro/

                                        Sander RosselS 1 Reply Last reply
                                        0
                                        • G Gaston Verelst

                                          I took the same course, with exactly the same results :) And F# is a natural extension to it.

                                          Check out my blog at http://msdev.pro/

                                          Sander RosselS Offline
                                          Sander RosselS Offline
                                          Sander Rossel
                                          wrote on last edited by
                                          #20

                                          I've read part of an F# book years ago, when it just came out (I think it was F# 2.0). I think the language is beautiful and in some respects ahead of C#, but I've never done anything with it since then :laugh: Sometimes I think F# is the playground for new C# features though.

                                          Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups