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
question
63 Posts 33 Posters 2 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.
  • R realJSOP

    What does F# give you that either C# or VB.Net doesn't already give you? Since they're all .Net languages, and they all compile to the same level, there are no optimizations that could possibly make learning F# a "good idea". I know there are some Pascal.Net implementations, as well as Cobol, but other than allowing the programmer to use old code with minor changes, there's no reason to use those languages on new projects. Unless F# closely resembles the language used in critical LOB apps, it's merely a curiosity. EDIT ========= Voting this post a 1 isn't going to change my views.

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

    modified on Friday, April 8, 2011 4:34 PM

    R Offline
    R Offline
    RichardM1
    wrote on last edited by
    #53

    So you program in IML? after all, C# and VB.NET give you nothing you can't get in IML, right? It is all in how you are able to represent the problem and the solution, it is a different type of abstraction than you get with procedural/OO/declarative languages.

    Opacity, the new Transparency.

    R 1 Reply Last reply
    0
    • K Kevin Marois

      Thanks. That's good to know, but it didn't answer my question. I'm curious about how popular the language is and is anyone taking it seriously?

      Everything makes sense in someone's mind

      V Offline
      V Offline
      vikku3305
      wrote on last edited by
      #54

      Every new thing would have some new features with it, so it better to learn this, what did you thing?

      1 Reply Last reply
      0
      • N Nemanja Trifunovic

        John Simmons / outlaw programmer wrote:

        Since they're all .Net languages, and they all compile to the same level, there are no optimizations that could possibly make learning F# a "good idea".

        It is not about optimizations. Some problems can be solved much easier with a language like F# than C#/VB.NET.

        utf8-cpp

        R Offline
        R Offline
        realJSOP
        wrote on last edited by
        #55

        Cite a problem that is "easier" to solve with F# than with C#.

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

        R 1 Reply Last reply
        0
        • R RichardM1

          So you program in IML? after all, C# and VB.NET give you nothing you can't get in IML, right? It is all in how you are able to represent the problem and the solution, it is a different type of abstraction than you get with procedural/OO/declarative languages.

          Opacity, the new Transparency.

          R Offline
          R Offline
          realJSOP
          wrote on last edited by
          #56

          No single .net language provides anything more or less than any other language when you get down to the IML. The only reason for picking one over the other (assuming you're starting a brand new app with no mandates for language use) is comfort with said language. Fortran had its benefits, Cobol had its benefits, Pascal, C, C++, etc. With .Net, those benefits are pretty much gone because the compiler optimizes the source the same way. That's what I'm trying to say. Unless F# closely resembles another language that you're already comfortable with (like C# and Java/C++, or VB with vb.net), it's just a curiosity.

          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
          -----
          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
          -----
          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

          R R 2 Replies Last reply
          0
          • R realJSOP

            Cite a problem that is "easier" to solve with F# than with C#.

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

            R Offline
            R Offline
            Rei Miyasaka
            wrote on last edited by
            #57

            Parsers. Edit: Domain-specific languages, iterative evaluation (there aren't many practical REPL evaluators in C#), implementing mathematical equations as code -- generally, any kind of structured data translation.

            modified on Friday, April 8, 2011 6:14 PM

            1 Reply Last reply
            0
            • R realJSOP

              No single .net language provides anything more or less than any other language when you get down to the IML. The only reason for picking one over the other (assuming you're starting a brand new app with no mandates for language use) is comfort with said language. Fortran had its benefits, Cobol had its benefits, Pascal, C, C++, etc. With .Net, those benefits are pretty much gone because the compiler optimizes the source the same way. That's what I'm trying to say. Unless F# closely resembles another language that you're already comfortable with (like C# and Java/C++, or VB with vb.net), it's just a curiosity.

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

              R Offline
              R Offline
              Rei Miyasaka
              wrote on last edited by
              #58

              Try running a well-written F# program through Reflector and disassemble it to C#. It won't even come close to being readable. You really don't know what you're missing out on if you think imperative languages are comparable to functional languages just because they're both turing complete. It's apples and oranges.

              1 Reply Last reply
              0
              • R realJSOP

                No single .net language provides anything more or less than any other language when you get down to the IML. The only reason for picking one over the other (assuming you're starting a brand new app with no mandates for language use) is comfort with said language. Fortran had its benefits, Cobol had its benefits, Pascal, C, C++, etc. With .Net, those benefits are pretty much gone because the compiler optimizes the source the same way. That's what I'm trying to say. Unless F# closely resembles another language that you're already comfortable with (like C# and Java/C++, or VB with vb.net), it's just a curiosity.

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                R Offline
                R Offline
                RichardM1
                wrote on last edited by
                #59

                The issue is that different languages are better able to express different concepts. Once you have the concept, you can often go back to the old language and express the concepts. The same way you can express OO ideas in c, or Z80 or PIC assembler, though they don't support it native. The real point of a new language is what you are NOT familiar with, since that is the part that expands your concept space. You learn it, not for the new syntax that express old ideas, but for the new idea parts. Then, having learned it, you can figure out how to use the ideas in your native language, and add that power. So obviously, all the power of every language abstraction is available in as low a level microprocessor machine code as you care to hash out the 0s & 1s for. Everything else, from assembler, even ILM, to C# and VB, to whatever the current fad language is, are just curiosities that let us write machine code using different viewpoints.

                Opacity, the new Transparency.

                1 Reply Last reply
                0
                • R realJSOP

                  What does F# give you that either C# or VB.Net doesn't already give you? Since they're all .Net languages, and they all compile to the same level, there are no optimizations that could possibly make learning F# a "good idea". I know there are some Pascal.Net implementations, as well as Cobol, but other than allowing the programmer to use old code with minor changes, there's no reason to use those languages on new projects. Unless F# closely resembles the language used in critical LOB apps, it's merely a curiosity. EDIT ========= Voting this post a 1 isn't going to change my views.

                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                  -----
                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                  -----
                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                  modified on Friday, April 8, 2011 4:34 PM

                  R Offline
                  R Offline
                  RichardM1
                  wrote on last edited by
                  #60

                  Whoever voted you one is new. I up voted you and it went up to 4 point something. I don't agree with you, but I don't think you are hard trolling or doing personal attacks, so screw the uni-vote.

                  Opacity, the new Transparency.

                  1 Reply Last reply
                  0
                  • A Albert Holguin

                    I've never used it... there's always a latest and greatest, its a headache to try and keep up with every single language... :wtf:

                    R Offline
                    R Offline
                    Rei Miyasaka
                    wrote on last edited by
                    #61

                    Keeping up to date is part of your job description as a software developer...

                    A 1 Reply Last reply
                    0
                    • R Rei Miyasaka

                      Keeping up to date is part of your job description as a software developer...

                      A Offline
                      A Offline
                      Albert Holguin
                      wrote on last edited by
                      #62

                      i'm an engineer, not a software developer, but maybe you didn't read all the posts before commenting

                      R 1 Reply Last reply
                      0
                      • A Albert Holguin

                        i'm an engineer, not a software developer, but maybe you didn't read all the posts before commenting

                        R Offline
                        R Offline
                        Rei Miyasaka
                        wrote on last edited by
                        #63

                        My bad.

                        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