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. Should Devs know how maths works?

Should Devs know how maths works?

Scheduled Pinned Locked Moved The Lounge
sharepointquestiondiscussion
95 Posts 45 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.
  • R Rage

    Eddy Vluggen wrote:

    the difference between a directory and a folder.

    Interesting. Is this ironical or is there any difference between a directory or a folder ? I thought these were exchangeable.

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

    Rage wrote:

    is there any difference between a directory or a folder ? I thought these were

    A directory is a file system concept, whereas a folder is a Windows Shell concept (includes libraries, printers, USB devices, etc). If you run Windows without explorer.exe (yep, that's perfectly possible) or other Shell applications, you would not have access to folders but the directories would still be there.

    utf8-cpp

    1 Reply Last reply
    0
    • D Danny Martin

      Hi Guys, I am doing a bit of research and was just wondering... How many programmers know how a computer does math? We take it for granted that those beige boxes (or white, shiny ones in my case :o) know that 2 + 2 = 4, but how many devs know how they work it out? How many care? Should we know? If you know, how did you find out, and when / under what circumstances etc. I learned Boolean Logic in the nineties while working with 68k assembler, and it was a real eye opener. What are the teams thoughts? Danny

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

      What Every Computer Scientist Should Know About Floating-Point Arithmetic [^]

      utf8-cpp

      N D 2 Replies Last reply
      0
      • L Lost User

        Danny Martin wrote:

        but how many devs know how they work it out?

        Ideally a dev would learn to do additions in a different representation than decimal.

        Danny Martin wrote:

        How many care? Should we know?

        It's not required knowledge for the average LOB-app. One can work with dates for years without knowing what an epoch is, or the difference between a directory and a folder.

        Danny Martin wrote:

        If you know, how did you find out

        The Library :)

        Bastard Programmer from Hell :suss:

        H Offline
        H Offline
        Hans Dietrich
        wrote on last edited by
        #19

        Eddy Vluggen wrote:

        One can work with dates for years without knowing what an epoch is

        Not to mention a lustrum.

        Best wishes, Hans


        [Hans Dietrich Software]

        1 Reply Last reply
        0
        • I Iain Clarke Warrior Programmer

          Danny Martin wrote:

          nineties while working with 68k assembler

          Whippersnapper! Early 80s, z80 & 6502. Ah, the days of knowing 1's and 2's complement, and hexadecimal... Iain.

          I am one of "those foreigners coming over here and stealing our jobs". Yay me!

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

          Iain Clarke, Warrior Programmer wrote:

          Whippersnapper!

          Mewling infant! Mid 60s on this machine[^]; I'm not in any of the photos but the dark haired guy in the first picture was my shift leader.

          The best things in life are not things.

          B S 2 Replies Last reply
          0
          • L Lost User

            Are you in any way related to our intern? He can't even test a binary flag in a flag word, but is quite sure that you don't need to know about such oldfashioned stuff anymore. His proof for that? There are no classes or methods for this in the framework, so it can't possibly be important.

            "I just exchanged opinions with my boss. I went in with mine and came out with his." - me, 2011 ---
            I am endeavoring, Madam, to construct a mnemonic memory circuit using stone knives and bearskins - Mr. Spock 1935 and me 2011

            S Offline
            S Offline
            Slacker007
            wrote on last edited by
            #21

            CDP1802 wrote:

            Are you in any way related to our intern?

            No, are you? I assure you that in my situation knowing binary math is not very important and has never, ever, been needed.

            -- ** You don't hire a handyman to build a house, you hire a carpenter. ** Jack of all trades and master of none.

            R 1 Reply Last reply
            0
            • D Danny Martin

              Hi Guys, I am doing a bit of research and was just wondering... How many programmers know how a computer does math? We take it for granted that those beige boxes (or white, shiny ones in my case :o) know that 2 + 2 = 4, but how many devs know how they work it out? How many care? Should we know? If you know, how did you find out, and when / under what circumstances etc. I learned Boolean Logic in the nineties while working with 68k assembler, and it was a real eye opener. What are the teams thoughts? Danny

              P Offline
              P Offline
              PIEBALDconsult
              wrote on last edited by
              #22

              Danny Martin wrote:

              How many programmers know how a computer does math? How many care?

              x, where x represents the good ones.

              Danny Martin wrote:

              Should we know?

              Yes. You should also know how to change the oil in your car even if you usually have someone else do it.

              Danny Martin wrote:

              how did you find out

              College.

              Danny Martin wrote:

              when

              Late 80s, VAX 11-780. I very much enjoy learning about the innards, theory, and history of computers. Recommended reading: http://www.amazon.com/Code-Publisher-Microsoft-Charles-Petzold/dp/B004PWAJGE/ref=sr_1_3?ie=UTF8&s=books&qid=1306933749&sr=8-3[^] And I have a copy of this on the way: http://www.amazon.com/Most-Complex-Machine-Computers-Computing/dp/1568811284/ref=wl_it_dp_o?ie=UTF8&coliid=I2R3T7I71OLEKI&colid=334ZUB8PULBXG[^]

              1 Reply Last reply
              0
              • N Nemanja Trifunovic

                What Every Computer Scientist Should Know About Floating-Point Arithmetic [^]

                utf8-cpp

                N Offline
                N Offline
                NormDroid
                wrote on last edited by
                #23

                Pure bliss and not for the faint hearted, those with a weak consitution should turn away :)

                Software Kinetics - The home of good software

                1 Reply Last reply
                0
                • D Danny Martin

                  Hi Guys, I am doing a bit of research and was just wondering... How many programmers know how a computer does math? We take it for granted that those beige boxes (or white, shiny ones in my case :o) know that 2 + 2 = 4, but how many devs know how they work it out? How many care? Should we know? If you know, how did you find out, and when / under what circumstances etc. I learned Boolean Logic in the nineties while working with 68k assembler, and it was a real eye opener. What are the teams thoughts? Danny

                  C Offline
                  C Offline
                  Chris Maunder
                  wrote on last edited by
                  #24

                  They should also know how a computer works, and how the VM or runtime they are targeting works.

                  cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                  N D L 3 Replies Last reply
                  0
                  • S Slacker007

                    CDP1802 wrote:

                    Are you in any way related to our intern?

                    No, are you? I assure you that in my situation knowing binary math is not very important and has never, ever, been needed.

                    -- ** You don't hire a handyman to build a house, you hire a carpenter. ** Jack of all trades and master of none.

                    R Offline
                    R Offline
                    Rage
                    wrote on last edited by
                    #25

                    Slacker007 wrote:

                    knowing binary math

                    There are 10 kinds of people: those who know binary maths, and those who don't. OK OK, exptected.

                    S 1 Reply Last reply
                    0
                    • C Chris Maunder

                      They should also know how a computer works, and how the VM or runtime they are targeting works.

                      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                      N Offline
                      N Offline
                      NormDroid
                      wrote on last edited by
                      #26

                      What about the keyboard and mouse, I bet some developers even struggling with input devices.

                      Software Kinetics - The home of good software

                      1 Reply Last reply
                      0
                      • L Lost User

                        What will be the next question, then? Perhaps you could ask some fishermen if they regard knowledge about fish and steering a boat as important. Or ask your reverend wether or not anything written in the Bible is important to him :) Seriously, I was almost moved to tears when our intern (Mr. Framework himself) looked at a hex dump and saw no connection at all to that '1 and 0 stuff'.

                        "I just exchanged opinions with my boss. I went in with mine and came out with his." - me, 2011 ---
                        I am endeavoring, Madam, to construct a mnemonic memory circuit using stone knives and bearskins - Mr. Spock 1935 and me 2011

                        S Offline
                        S Offline
                        Slacker007
                        wrote on last edited by
                        #27

                        Not everyone is like you. What you think should be important may not be important to me or the next guy. I do very well for myself in my profession (on all levels). To slight me because I don't get off on 0's and 1's is lame. Instead of talking smack about your intern and crying about it, why don't you take the time to show this person the connection between the 1's and 0's and why they are important.

                        -- ** You don't hire a handyman to build a house, you hire a carpenter. ** Jack of all trades and master of none.

                        L U 2 Replies Last reply
                        0
                        • N Nemanja Trifunovic

                          What Every Computer Scientist Should Know About Floating-Point Arithmetic [^]

                          utf8-cpp

                          D Offline
                          D Offline
                          Danny Martin
                          wrote on last edited by
                          #28

                          Nemanja Trifunovic wrote:

                          What Every Computer Scientist Should Know About Floating-Point Arithmetic

                          :omg: I am SO glad I'm not a Computer Scientist... My knowledge of this is totally binary - I only know a 'bit'. ;) Danny

                          J 1 Reply Last reply
                          0
                          • R Rage

                            Slacker007 wrote:

                            knowing binary math

                            There are 10 kinds of people: those who know binary maths, and those who don't. OK OK, exptected.

                            S Offline
                            S Offline
                            Slacker007
                            wrote on last edited by
                            #29

                            Rage wrote:

                            those who don't.

                            That's me. I have a two story house, a cabin in the mountains, two cars, and a bitchin' retirement plan and I did it all without knowing binary math. Who would of thunk it? :)

                            -- ** You don't hire a handyman to build a house, you hire a carpenter. ** Jack of all trades and master of none.

                            1 Reply Last reply
                            0
                            • S Slacker007

                              Although "knowing" how a computer does stuff (math, calculations, etc..) is nice, unless you need to know this stuff it doesn't really mean anything to the average developer/programmer. I learned a lot of this in College but have forgotten most of it over the years because I have never needed it...at all. I think "knowing" this stuff is on a personal level...do you care to know it. My thoughts on the subject. :)

                              -- ** You don't hire a handyman to build a house, you hire a carpenter. ** Jack of all trades and master of none.

                              G Offline
                              G Offline
                              GenJerDan
                              wrote on last edited by
                              #30

                              Slacker007 wrote:

                              I learned a lot of this in College but have forgotten most of it over the years because I have never needed it...at all.

                              Betcha you learned subnetting, too. I've yet to walk into a place having to know any of that...and if, by chance, I ever do have to design a network, I'll use a calculator. Certainly won't try to do it in my head.

                              Never give aversion therapy to a masochist. The results are unpredictable. My Mu[sic] My Films My Windows Programs, etc.

                              S 1 Reply Last reply
                              0
                              • C Chris Maunder

                                They should also know how a computer works, and how the VM or runtime they are targeting works.

                                cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                D Offline
                                D Offline
                                Danny Martin
                                wrote on last edited by
                                #31

                                Chris Maunder wrote:

                                They should also know how a computer works, and how the VM or runtime they are targeting works.

                                Amen to that... Danny

                                1 Reply Last reply
                                0
                                • G GenJerDan

                                  Slacker007 wrote:

                                  I learned a lot of this in College but have forgotten most of it over the years because I have never needed it...at all.

                                  Betcha you learned subnetting, too. I've yet to walk into a place having to know any of that...and if, by chance, I ever do have to design a network, I'll use a calculator. Certainly won't try to do it in my head.

                                  Never give aversion therapy to a masochist. The results are unpredictable. My Mu[sic] My Films My Windows Programs, etc.

                                  S Offline
                                  S Offline
                                  Slacker007
                                  wrote on last edited by
                                  #32

                                  :thumbsup:

                                  -- ** You don't hire a handyman to build a house, you hire a carpenter. ** Jack of all trades and master of none.

                                  1 Reply Last reply
                                  0
                                  • D Danny Martin

                                    Hi Guys, I am doing a bit of research and was just wondering... How many programmers know how a computer does math? We take it for granted that those beige boxes (or white, shiny ones in my case :o) know that 2 + 2 = 4, but how many devs know how they work it out? How many care? Should we know? If you know, how did you find out, and when / under what circumstances etc. I learned Boolean Logic in the nineties while working with 68k assembler, and it was a real eye opener. What are the teams thoughts? Danny

                                    M Offline
                                    M Offline
                                    Mark_Wallace
                                    wrote on last edited by
                                    #33

                                    Danny Martin wrote:

                                    We take it for granted that those beige boxes (or white, shiny ones in my case :O ) know that 2 + 2 = 4

                                    Trouble is that they don't. They might know that 010 + 010 = 100, but not the 2 + 2 = 4.

                                    I wanna be a eunuchs developer! Pass me a bread knife!

                                    D N 2 Replies Last reply
                                    0
                                    • D Danny Martin

                                      Hi Guys, I am doing a bit of research and was just wondering... How many programmers know how a computer does math? We take it for granted that those beige boxes (or white, shiny ones in my case :o) know that 2 + 2 = 4, but how many devs know how they work it out? How many care? Should we know? If you know, how did you find out, and when / under what circumstances etc. I learned Boolean Logic in the nineties while working with 68k assembler, and it was a real eye opener. What are the teams thoughts? Danny

                                      M Offline
                                      M Offline
                                      Mel Padden
                                      wrote on last edited by
                                      #34

                                      For my part, it was the first thing I learned when I started program, but I have not had to use my knowledge of binary or hex since 2001. I doubt I could pick it up quite so easily now, and as it stands, I'm not particularly worried. I don't plan on writing any code at THAT level anytime soon. But, BUT it would be nice to know I could.

                                      Smokie, this is not 'Nam. This is bowling. There are rules. www.geticeberg.com http://melpadden.wordpress.com

                                      1 Reply Last reply
                                      0
                                      • D Danny Martin

                                        Hi Guys, I am doing a bit of research and was just wondering... How many programmers know how a computer does math? We take it for granted that those beige boxes (or white, shiny ones in my case :o) know that 2 + 2 = 4, but how many devs know how they work it out? How many care? Should we know? If you know, how did you find out, and when / under what circumstances etc. I learned Boolean Logic in the nineties while working with 68k assembler, and it was a real eye opener. What are the teams thoughts? Danny

                                        E Offline
                                        E Offline
                                        Eric Goedhart
                                        wrote on last edited by
                                        #35

                                        Hi, I have a book called ["Elements of Programming"] and when I was reading your post and question I thought about the back cover of this book were Martin Newell (Adobe Fellow) wrote this: "As a mechanical, structural, or electrical engineer how far they would get without a heavy reliance on a firm mathematical foundation, and they will tell you, 'not far'. Yet so-called software engineers often practice their art with little or no idea of the mathematical underpinnings of what they are doing. And then we wonder why software is notorious for being delivered late and full of bugs, while other engineers routinely deliver finished bridges, automobiles, electrical appliances, etc,, on time and with minor defects" I think we should care and should know about how we can use math algorithms correct and efficient to write better and more reliable software, or at least give it a try

                                        With friendly greetings,:) Eric Goedhart

                                        N D 2 Replies Last reply
                                        0
                                        • M Mark_Wallace

                                          Danny Martin wrote:

                                          We take it for granted that those beige boxes (or white, shiny ones in my case :O ) know that 2 + 2 = 4

                                          Trouble is that they don't. They might know that 010 + 010 = 100, but not the 2 + 2 = 4.

                                          I wanna be a eunuchs developer! Pass me a bread knife!

                                          D Offline
                                          D Offline
                                          Danny Martin
                                          wrote on last edited by
                                          #36

                                          Mark Wallace wrote:

                                          They might know that 010 + 010 = 100, but not the 2 + 2 = 4.

                                          Not strictly true... '010' is as abstract as '2' if you're going to be picky - but I get your point. ;P

                                          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