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. Learning F#

Learning F#

Scheduled Pinned Locked Moved The Lounge
learningcsharpphpwpfcom
50 Posts 23 Posters 7 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.
  • J Offline
    J Offline
    Josh Smith
    wrote on last edited by
    #1

    I've been spending some of my free time trying to learn about F# because it seems really interesting.  The problem is, the existing F# tutorials SUCK.  I think that the language tutorials provided by Microsoft were written by brainiacs in the Microsoft Research group, so it's not really helpful at all.  For example, I read that this:

    int -> int

    ...represents a function which takes and int and returns an int.  The problem is, the author failed to mention which "int" represents the return type and which the parameter type. :|  There's only one F# book out there yet, and all the reviews I've read of it say that it sucks too.  Come on MS, if you're gonna publicly announce[^] that F# is on the rise, at least give us some good introductory material first!! Don't make it so f#ckin hard for us! ;)

    :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

    L D P R M 15 Replies Last reply
    0
    • J Josh Smith

      I've been spending some of my free time trying to learn about F# because it seems really interesting.  The problem is, the existing F# tutorials SUCK.  I think that the language tutorials provided by Microsoft were written by brainiacs in the Microsoft Research group, so it's not really helpful at all.  For example, I read that this:

      int -> int

      ...represents a function which takes and int and returns an int.  The problem is, the author failed to mention which "int" represents the return type and which the parameter type. :|  There's only one F# book out there yet, and all the reviews I've read of it say that it sucks too.  Come on MS, if you're gonna publicly announce[^] that F# is on the rise, at least give us some good introductory material first!! Don't make it so f#ckin hard for us! ;)

      :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      Josh Smith wrote:

      The problem is, the author failed to mention which "int" represents the return type and which the parameter type.

      It's called common sense, aka from 'int' -> (to) 'int'

      xacc.ide
      The rule of three: "The first time you notice something that might repeat, don't generalize it. The second time the situation occurs, develop in a similar fashion -- possibly even copy/paste -- but don't generalize yet. On the third time, look to generalize the approach."

      J O 2 Replies Last reply
      0
      • J Josh Smith

        I've been spending some of my free time trying to learn about F# because it seems really interesting.  The problem is, the existing F# tutorials SUCK.  I think that the language tutorials provided by Microsoft were written by brainiacs in the Microsoft Research group, so it's not really helpful at all.  For example, I read that this:

        int -> int

        ...represents a function which takes and int and returns an int.  The problem is, the author failed to mention which "int" represents the return type and which the parameter type. :|  There's only one F# book out there yet, and all the reviews I've read of it say that it sucks too.  Come on MS, if you're gonna publicly announce[^] that F# is on the rise, at least give us some good introductory material first!! Don't make it so f#ckin hard for us! ;)

        :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

        D Offline
        D Offline
        Duncan Edwards Jones
        wrote on last edited by
        #3

        Josh Smith wrote:

        f#ckin hard

        5.0 for the excellent pun.

        '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

        M 1 Reply Last reply
        0
        • L leppie

          Josh Smith wrote:

          The problem is, the author failed to mention which "int" represents the return type and which the parameter type.

          It's called common sense, aka from 'int' -> (to) 'int'

          xacc.ide
          The rule of three: "The first time you notice something that might repeat, don't generalize it. The second time the situation occurs, develop in a similar fashion -- possibly even copy/paste -- but don't generalize yet. On the third time, look to generalize the approach."

          J Offline
          J Offline
          Josh Smith
          wrote on last edited by
          #4

          leppie wrote:

          It's called common sense, aka from 'int' -> (to) 'int'

          You call that common sense?  I call that conditioning.  Every language I've ever worked with before, all of which are C-based, put the return type on the left side.

          :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

          D J D 3 Replies Last reply
          0
          • J Josh Smith

            leppie wrote:

            It's called common sense, aka from 'int' -> (to) 'int'

            You call that common sense?  I call that conditioning.  Every language I've ever worked with before, all of which are C-based, put the return type on the left side.

            :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

            D Offline
            D Offline
            DavidNohejl
            wrote on last edited by
            #5

            Josh Smith wrote:

            Every language I've ever worked with before, all of which are C-based

            You can't think functions in C. Think functions in math ;) I agree that tutorial should clearly state this.


            [My Blog]
            "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn
            "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

            J 1 Reply Last reply
            0
            • D Duncan Edwards Jones

              Josh Smith wrote:

              f#ckin hard

              5.0 for the excellent pun.

              '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

              M Offline
              M Offline
              Mustafa Ismail Mustafa
              wrote on last edited by
              #6

              ditto, couldn't agree more :) you've got my 5

              "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook "There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib

              1 Reply Last reply
              0
              • L leppie

                Josh Smith wrote:

                The problem is, the author failed to mention which "int" represents the return type and which the parameter type.

                It's called common sense, aka from 'int' -> (to) 'int'

                xacc.ide
                The rule of three: "The first time you notice something that might repeat, don't generalize it. The second time the situation occurs, develop in a similar fashion -- possibly even copy/paste -- but don't generalize yet. On the third time, look to generalize the approach."

                O Offline
                O Offline
                originSH
                wrote on last edited by
                #7

                leppie wrote:

                'int' -> (to) 'int'

                common sense, aka making an assumption. Personally I'd prefer to actually find out what was correct rather than assuming.

                1 Reply Last reply
                0
                • D DavidNohejl

                  Josh Smith wrote:

                  Every language I've ever worked with before, all of which are C-based

                  You can't think functions in C. Think functions in math ;) I agree that tutorial should clearly state this.


                  [My Blog]
                  "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn
                  "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

                  J Offline
                  J Offline
                  Josh Smith
                  wrote on last edited by
                  #8

                  dnh wrote:

                  You can't think functions in C. Think functions in math

                  Hmmm, interesting.  Thanks for the tip!

                  :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                  1 Reply Last reply
                  0
                  • J Josh Smith

                    I've been spending some of my free time trying to learn about F# because it seems really interesting.  The problem is, the existing F# tutorials SUCK.  I think that the language tutorials provided by Microsoft were written by brainiacs in the Microsoft Research group, so it's not really helpful at all.  For example, I read that this:

                    int -> int

                    ...represents a function which takes and int and returns an int.  The problem is, the author failed to mention which "int" represents the return type and which the parameter type. :|  There's only one F# book out there yet, and all the reviews I've read of it say that it sucks too.  Come on MS, if you're gonna publicly announce[^] that F# is on the rise, at least give us some good introductory material first!! Don't make it so f#ckin hard for us! ;)

                    :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                    P Offline
                    P Offline
                    peterchen
                    wrote on last edited by
                    #9

                    from -< to


                    We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                    My first real C# project | Linkify!|FoldWithUs! | sighist

                    J 1 Reply Last reply
                    0
                    • P peterchen

                      from -< to


                      We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                      My first real C# project | Linkify!|FoldWithUs! | sighist

                      J Offline
                      J Offline
                      Josh Smith
                      wrote on last edited by
                      #10

                      peterchen wrote:

                      from -< to

                      Haha.  Stop screwing with my brain! ;P

                      :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                      P 1 Reply Last reply
                      0
                      • J Josh Smith

                        I've been spending some of my free time trying to learn about F# because it seems really interesting.  The problem is, the existing F# tutorials SUCK.  I think that the language tutorials provided by Microsoft were written by brainiacs in the Microsoft Research group, so it's not really helpful at all.  For example, I read that this:

                        int -> int

                        ...represents a function which takes and int and returns an int.  The problem is, the author failed to mention which "int" represents the return type and which the parameter type. :|  There's only one F# book out there yet, and all the reviews I've read of it say that it sucks too.  Come on MS, if you're gonna publicly announce[^] that F# is on the rise, at least give us some good introductory material first!! Don't make it so f#ckin hard for us! ;)

                        :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                        R Offline
                        R Offline
                        Ryan Roberts
                        wrote on last edited by
                        #11

                        I remember that notation from university, but they really need to explain it. Lots of the tutorials assume that you have been taught discrete maths, and over and above that loads of the examples are hairy mathematical functions. MS really need tutorials and examples that don't assume a compsci background if they want to get traction for F#. Many of us know that pure functional programming is going to be a good solution for dealing with multiple cores but find the existing documentation very heavy going, they really need to do some functional programming for business programmers tutorials.

                        J E 2 Replies Last reply
                        0
                        • J Josh Smith

                          I've been spending some of my free time trying to learn about F# because it seems really interesting.  The problem is, the existing F# tutorials SUCK.  I think that the language tutorials provided by Microsoft were written by brainiacs in the Microsoft Research group, so it's not really helpful at all.  For example, I read that this:

                          int -> int

                          ...represents a function which takes and int and returns an int.  The problem is, the author failed to mention which "int" represents the return type and which the parameter type. :|  There's only one F# book out there yet, and all the reviews I've read of it say that it sucks too.  Come on MS, if you're gonna publicly announce[^] that F# is on the rise, at least give us some good introductory material first!! Don't make it so f#ckin hard for us! ;)

                          :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                          M Offline
                          M Offline
                          martin_hughes
                          wrote on last edited by
                          #12

                          Actually, the book isn't that bad.

                          Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

                          J 1 Reply Last reply
                          0
                          • M martin_hughes

                            Actually, the book isn't that bad.

                            Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

                            J Offline
                            J Offline
                            Josh Smith
                            wrote on last edited by
                            #13

                            martin_hughes wrote:

                            Actually, the book isn't that bad.

                            That's good, since I bought it from Amazon and should be receiving it soon! :-D  I figured something is better than nothing.

                            :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                            M 1 Reply Last reply
                            0
                            • R Ryan Roberts

                              I remember that notation from university, but they really need to explain it. Lots of the tutorials assume that you have been taught discrete maths, and over and above that loads of the examples are hairy mathematical functions. MS really need tutorials and examples that don't assume a compsci background if they want to get traction for F#. Many of us know that pure functional programming is going to be a good solution for dealing with multiple cores but find the existing documentation very heavy going, they really need to do some functional programming for business programmers tutorials.

                              J Offline
                              J Offline
                              Josh Smith
                              wrote on last edited by
                              #14

                              Ryan Roberts wrote:

                              MS really need tutorials and examples that don't assume a compsci background if they want to get traction for F#.

                              Absolutely.  I don't have a compsci or math background, so learning an "academic language" is very foreign to and difficult for me.

                              :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                              R 1 Reply Last reply
                              0
                              • J Josh Smith

                                martin_hughes wrote:

                                Actually, the book isn't that bad.

                                That's good, since I bought it from Amazon and should be receiving it soon! :-D  I figured something is better than nothing.

                                :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                                M Offline
                                M Offline
                                Mustafa Ismail Mustafa
                                wrote on last edited by
                                #15

                                I haven't plowed through the book completely, but it doesn't seem bad.

                                "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook "There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib

                                1 Reply Last reply
                                0
                                • J Josh Smith

                                  Ryan Roberts wrote:

                                  MS really need tutorials and examples that don't assume a compsci background if they want to get traction for F#.

                                  Absolutely.  I don't have a compsci or math background, so learning an "academic language" is very foreign to and difficult for me.

                                  :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                                  R Offline
                                  R Offline
                                  Ryan Roberts
                                  wrote on last edited by
                                  #16

                                  Mine is only basic, we were handily never taught functional programming practically either - a huge oversight. I'm waiting on documentation with a different focus too.

                                  1 Reply Last reply
                                  0
                                  • J Josh Smith

                                    I've been spending some of my free time trying to learn about F# because it seems really interesting.  The problem is, the existing F# tutorials SUCK.  I think that the language tutorials provided by Microsoft were written by brainiacs in the Microsoft Research group, so it's not really helpful at all.  For example, I read that this:

                                    int -> int

                                    ...represents a function which takes and int and returns an int.  The problem is, the author failed to mention which "int" represents the return type and which the parameter type. :|  There's only one F# book out there yet, and all the reviews I've read of it say that it sucks too.  Come on MS, if you're gonna publicly announce[^] that F# is on the rise, at least give us some good introductory material first!! Don't make it so f#ckin hard for us! ;)

                                    :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                                    N Offline
                                    N Offline
                                    Nemanja Trifunovic
                                    wrote on last edited by
                                    #17

                                    I had the same problem when I first looked at F# some 2 years ago, but then found that F# is pretty much the same language as OCaml[^], and that one has some decent tutorials[^]


                                    Programming Blog utf8-cpp

                                    J 1 Reply Last reply
                                    0
                                    • J Josh Smith

                                      I've been spending some of my free time trying to learn about F# because it seems really interesting.  The problem is, the existing F# tutorials SUCK.  I think that the language tutorials provided by Microsoft were written by brainiacs in the Microsoft Research group, so it's not really helpful at all.  For example, I read that this:

                                      int -> int

                                      ...represents a function which takes and int and returns an int.  The problem is, the author failed to mention which "int" represents the return type and which the parameter type. :|  There's only one F# book out there yet, and all the reviews I've read of it say that it sucks too.  Come on MS, if you're gonna publicly announce[^] that F# is on the rise, at least give us some good introductory material first!! Don't make it so f#ckin hard for us! ;)

                                      :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                                      realJSOPR Offline
                                      realJSOPR Offline
                                      realJSOP
                                      wrote on last edited by
                                      #18

                                      Josh Smith wrote:

                                      The problem is, the existing F# tutorials SUCK.

                                      They must have been written by the VSS developers, because VSS sucks too.

                                      "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
                                      -----
                                      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                      J 1 Reply Last reply
                                      0
                                      • N Nemanja Trifunovic

                                        I had the same problem when I first looked at F# some 2 years ago, but then found that F# is pretty much the same language as OCaml[^], and that one has some decent tutorials[^]


                                        Programming Blog utf8-cpp

                                        J Offline
                                        J Offline
                                        Josh Smith
                                        wrote on last edited by
                                        #19

                                        Nemanja Trifunovic wrote:

                                        F# is pretty much the same language as OCaml[^], and that one has some decent tutorials[^]

                                        You're the man.  Thanks!!

                                        :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                                        1 Reply Last reply
                                        0
                                        • realJSOPR realJSOP

                                          Josh Smith wrote:

                                          The problem is, the existing F# tutorials SUCK.

                                          They must have been written by the VSS developers, because VSS sucks too.

                                          "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
                                          -----
                                          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                          J Offline
                                          J Offline
                                          Josh Smith
                                          wrote on last edited by
                                          #20

                                          John Simmons / outlaw programmer wrote:

                                          They must have been written by the VSS developers, because VSS sucks too.

                                          I'd be surprised if the people who are creating F# and its documentation also pooped out VSS.

                                          :josh: My WPF Blog[^] Without a strive for perfection I would be terribly bored.

                                          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