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. Has any programming language ever affected your thought process in real life?

Has any programming language ever affected your thought process in real life?

Scheduled Pinned Locked Moved The Lounge
c++comhelpquestiondiscussion
84 Posts 55 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.
  • V Vikram A Punathambekar

    Rage wrote:

    Even never made an analogy such as "Yes, in programming, this would be a base class, these would be derived from it, and you could access the whole through this interface. In your case, the interface would be this and this...." ?

    OK, slowly step away from the computer, and pull the plug in one quick motion. If-else branching: existed long before computers, doesn't count. Looping: OK, excusable in the real world. Inheritance: You need help. ;P

    Cheers, Vikram. (Cracked not one CCC, but two!)

    L Offline
    L Offline
    leonej_dt
    wrote on last edited by
    #57

    Vikram A Punathambekar wrote:

    If-else branching: existed long before computers, doesn't count. Looping: OK, excusable in the real world. Inheritance: You need help.

    Template metaprogramming? I'm not joking, my girlfriend was talking to me about how hard it is to determine the genre of a movie, and I switched the conversation to talking about how hard categorization is. template <typename _Category, typename _Element> _Category Categorize(const _Element &e) { //... } //... somewhere else Movie m(...); Genre g = Categorize<Genre,Movie>(m);

    If you can play The Dance of Eternity (Dream Theater), then we shall make a band.

    1 Reply Last reply
    0
    • L leonej_dt

      Fortunately, I internally use error codes which the caller functions tend to ignore.

      If you can play The Dance of Eternity (Dream Theater), then we shall make a band.

      N Offline
      N Offline
      nistrum404
      wrote on last edited by
      #58

      Brilliant, I'll have to try that.

      Coffee Brain::MakeCoffee() {

      Fridge fridge = Home.Current.GetFridge();

      if(!fridge.ContainsMilk) {
      throw new NoMilkException();
      }
      // ... //
      }

      Matt Dockerty

      1 Reply Last reply
      0
      • P PIEBALDconsult

        I'm tempted to use parentheses for clarity in (ordinary communication) instances. One of the things that bugs me is the "Malicious Software Removal Tool"; where do the parentheses go? 0) (Malicious Software) Removal Tool 1) Malicious (Software Removal Tool)

        L Offline
        L Offline
        leonej_dt
        wrote on last edited by
        #59

        I use brackets, as parentheses usually mean their contents are secondary ideas.

        If you can play The Dance of Eternity (Dream Theater), then we shall make a band.

        1 Reply Last reply
        0
        • L leonej_dt

          Hello, everybody: First of all, excuse me for this extremely weird thing I'm going to say. I have the following problem: My favorite programming language, C++, is affecting the way I think in real life. I tend to assume other people have the ability (not to mention the willingness) to make huge abstractions when I talk to them. I expect them to be able to distinguish between a thing being referred and the reference itself. My ability to communicate my thoughts to the people I live, work and am supposed to have fun with is severely impaired by the fact most of these thoughts are "constructed" using concepts understandable only to C++ lawyers. Has anybody experienced a similar thing (not necessarily with C++)? Do I have to go to a psychologist or a psychiatrist? Is my problem beyond repair? Thanks in advance, Eduardo León

          If you can play The Dance of Eternity (Dream Theater), then we shall make a band.

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

          I've started driving towards Redmond several times with the intention of choking the living sh*t outa whoever is in charge of WPF, so yeah, I guess it has affected my thought process.

          .45 ACP - because shooting twice is just silly
          -----
          "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." - J. Jystad, 2001

          L 1 Reply Last reply
          0
          • L Lost User

            Java rots my brain.... :laugh: Sorry. I don't suppose that's what you meant. :)

            O Offline
            O Offline
            Owen37
            wrote on last edited by
            #61

            Ohhh, if you want to talk about a language that ROTS the brain: it's gotta be COBOL! X| I've had a couple of jobs that required COBOL programming. Don't EVER want to do that EVER again!

            F 1 Reply Last reply
            0
            • O Owen37

              Ohhh, if you want to talk about a language that ROTS the brain: it's gotta be COBOL! X| I've had a couple of jobs that required COBOL programming. Don't EVER want to do that EVER again!

              F Offline
              F Offline
              Francine DeGrood Taylor
              wrote on last edited by
              #62

              Huh. Try spending six months doing UI apps in Dataflex, the language that did not do function calls. It's the only langauge I have ever programmed in that I loathed more every single day I used it.

              1 Reply Last reply
              0
              • V Vikram A Punathambekar

                leonej_dt wrote:

                First of all, excuse me for this extremely weird thing I'm going to say.

                Since when did weirdness have to be excused in the Lounge? ;P

                leonej_dt wrote:

                Has any programming language ever affected your thought process in real life?

                No.

                Cheers, Vikram. (Cracked not one CCC, but two!)

                F Offline
                F Offline
                Francine DeGrood Taylor
                wrote on last edited by
                #63

                Ah, but we're not excusing it, we're celebrating it ;)

                1 Reply Last reply
                0
                • L leonej_dt

                  Hello, everybody: First of all, excuse me for this extremely weird thing I'm going to say. I have the following problem: My favorite programming language, C++, is affecting the way I think in real life. I tend to assume other people have the ability (not to mention the willingness) to make huge abstractions when I talk to them. I expect them to be able to distinguish between a thing being referred and the reference itself. My ability to communicate my thoughts to the people I live, work and am supposed to have fun with is severely impaired by the fact most of these thoughts are "constructed" using concepts understandable only to C++ lawyers. Has anybody experienced a similar thing (not necessarily with C++)? Do I have to go to a psychologist or a psychiatrist? Is my problem beyond repair? Thanks in advance, Eduardo León

                  If you can play The Dance of Eternity (Dream Theater), then we shall make a band.

                  E Offline
                  E Offline
                  ecooke
                  wrote on last edited by
                  #64

                  I've sat at stop signs waiting for an event to fire to tell me to go....to bad the event never fired.

                  Those who are too smart to engage in politics are punished by being governed by those who are dumber. - Aristotle

                  1 Reply Last reply
                  0
                  • M Miroslav Bucko

                    Teacher: Write "I will not make paper airplanes in the classroom" 50 times on the board. Student:

                    for(int counter = 0; counter <=50; counter++ )
                    {
                    Console.Writeline("I will not make paper airplanes in the classroom ");
                    }

                    :) :)

                    U Offline
                    U Offline
                    User 3318913
                    wrote on last edited by
                    #65

                    That's 1 too many. ;P

                    M 1 Reply Last reply
                    0
                    • L leonej_dt

                      Hello, everybody: First of all, excuse me for this extremely weird thing I'm going to say. I have the following problem: My favorite programming language, C++, is affecting the way I think in real life. I tend to assume other people have the ability (not to mention the willingness) to make huge abstractions when I talk to them. I expect them to be able to distinguish between a thing being referred and the reference itself. My ability to communicate my thoughts to the people I live, work and am supposed to have fun with is severely impaired by the fact most of these thoughts are "constructed" using concepts understandable only to C++ lawyers. Has anybody experienced a similar thing (not necessarily with C++)? Do I have to go to a psychologist or a psychiatrist? Is my problem beyond repair? Thanks in advance, Eduardo León

                      If you can play The Dance of Eternity (Dream Theater), then we shall make a band.

                      P Offline
                      P Offline
                      patbob
                      wrote on last edited by
                      #66

                      Ditto here too. Anyone else look at those communication failures as a problem with their own communication skills to be solved? I do, and apply.. you guessed it.. my abstraction and OO problem solving skills. Over the years, I've gotten fair to middling at communicating that sort of thinking to those non-programmers in my life :)

                      patbob

                      1 Reply Last reply
                      0
                      • U User 3318913

                        That's 1 too many. ;P

                        M Offline
                        M Offline
                        Miroslav Bucko
                        wrote on last edited by
                        #67

                        Not total copy :) printf != Console.Writeline. Although they do the same thing.

                        1 Reply Last reply
                        0
                        • L leonej_dt

                          Hello, everybody: First of all, excuse me for this extremely weird thing I'm going to say. I have the following problem: My favorite programming language, C++, is affecting the way I think in real life. I tend to assume other people have the ability (not to mention the willingness) to make huge abstractions when I talk to them. I expect them to be able to distinguish between a thing being referred and the reference itself. My ability to communicate my thoughts to the people I live, work and am supposed to have fun with is severely impaired by the fact most of these thoughts are "constructed" using concepts understandable only to C++ lawyers. Has anybody experienced a similar thing (not necessarily with C++)? Do I have to go to a psychologist or a psychiatrist? Is my problem beyond repair? Thanks in advance, Eduardo León

                          If you can play The Dance of Eternity (Dream Theater), then we shall make a band.

                          S Offline
                          S Offline
                          Sterling Camden independent consultant
                          wrote on last edited by
                          #68

                          You need to start using Ruby.

                          1 Reply Last reply
                          0
                          • L Lost User

                            Java rots my brain.... :laugh: Sorry. I don't suppose that's what you meant. :)

                            M Offline
                            M Offline
                            Member 1709723
                            wrote on last edited by
                            #69

                            java also rots the pipes the internet runs through....

                            Opium is my business. The bridge mean more traffic. More traffic mean more money. More money mean more power. Speed is important in business. Time is money. You said opium was money. Money is Money. Well then, what is time again? icalburner.net

                            1 Reply Last reply
                            0
                            • L leonej_dt

                              Hello, everybody: First of all, excuse me for this extremely weird thing I'm going to say. I have the following problem: My favorite programming language, C++, is affecting the way I think in real life. I tend to assume other people have the ability (not to mention the willingness) to make huge abstractions when I talk to them. I expect them to be able to distinguish between a thing being referred and the reference itself. My ability to communicate my thoughts to the people I live, work and am supposed to have fun with is severely impaired by the fact most of these thoughts are "constructed" using concepts understandable only to C++ lawyers. Has anybody experienced a similar thing (not necessarily with C++)? Do I have to go to a psychologist or a psychiatrist? Is my problem beyond repair? Thanks in advance, Eduardo León

                              If you can play The Dance of Eternity (Dream Theater), then we shall make a band.

                              F Offline
                              F Offline
                              Fernando Deutsch
                              wrote on last edited by
                              #70

                              Interesting question, I have to say that Object Oriented Programming paradigm have influence myself in the way I analyse and understand certain daily life activities. The language in particular is Smalltalk which was the one I used when I learn OOP.

                              L 1 Reply Last reply
                              0
                              • M Miroslav Bucko

                                Teacher: Write "I will not make paper airplanes in the classroom" 50 times on the board. Student:

                                for(int counter = 0; counter <=50; counter++ )
                                {
                                Console.Writeline("I will not make paper airplanes in the classroom ");
                                }

                                :) :)

                                M Offline
                                M Offline
                                Member 1709723
                                wrote on last edited by
                                #71

                                why did the teacher had you write that on the board? lack of attention to detail?

                                Opium is my business. The bridge mean more traffic. More traffic mean more money. More money mean more power. Speed is important in business. Time is money. You said opium was money. Money is Money. Well then, what is time again? icalburner.net

                                M 1 Reply Last reply
                                0
                                • M Member 1709723

                                  why did the teacher had you write that on the board? lack of attention to detail?

                                  Opium is my business. The bridge mean more traffic. More traffic mean more money. More money mean more power. Speed is important in business. Time is money. You said opium was money. Money is Money. Well then, what is time again? icalburner.net

                                  M Offline
                                  M Offline
                                  Miroslav Bucko
                                  wrote on last edited by
                                  #72

                                  No, that was long time ago, before .NET

                                  1 Reply Last reply
                                  0
                                  • L leonej_dt

                                    Hello, everybody: First of all, excuse me for this extremely weird thing I'm going to say. I have the following problem: My favorite programming language, C++, is affecting the way I think in real life. I tend to assume other people have the ability (not to mention the willingness) to make huge abstractions when I talk to them. I expect them to be able to distinguish between a thing being referred and the reference itself. My ability to communicate my thoughts to the people I live, work and am supposed to have fun with is severely impaired by the fact most of these thoughts are "constructed" using concepts understandable only to C++ lawyers. Has anybody experienced a similar thing (not necessarily with C++)? Do I have to go to a psychologist or a psychiatrist? Is my problem beyond repair? Thanks in advance, Eduardo León

                                    If you can play The Dance of Eternity (Dream Theater), then we shall make a band.

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

                                    For me it was definitely smalltalk back in 1994. I had been programming for about 15 years by then and thought I knew what object oriented programming was all about. Then I had the opportunity to use smalltalk combined with proper object oriented methodology training from some of the best people money could buy. The result was like a religious experience. The light just came on and "I got it". You can fake object oriented development in most languages, but not in smalltalk. There's a wonderful ecosystem of languages out there! Most of the good ones seem to be built around one or two central concepts. Learn the language and you master the salient concepts of that language. These are skills that can be transferred and used in other languages. Over the years I've been lucky work with something like 30-50 different languages / environments. Each one of these has made me a better thinker and developer; yes, even cobol. I think that the current VB/C#/Java monoculture may be harmful to the industry in the long term.

                                    L F 2 Replies Last reply
                                    0
                                    • L leonej_dt

                                      Hello, everybody: First of all, excuse me for this extremely weird thing I'm going to say. I have the following problem: My favorite programming language, C++, is affecting the way I think in real life. I tend to assume other people have the ability (not to mention the willingness) to make huge abstractions when I talk to them. I expect them to be able to distinguish between a thing being referred and the reference itself. My ability to communicate my thoughts to the people I live, work and am supposed to have fun with is severely impaired by the fact most of these thoughts are "constructed" using concepts understandable only to C++ lawyers. Has anybody experienced a similar thing (not necessarily with C++)? Do I have to go to a psychologist or a psychiatrist? Is my problem beyond repair? Thanks in advance, Eduardo León

                                      If you can play The Dance of Eternity (Dream Theater), then we shall make a band.

                                      A Offline
                                      A Offline
                                      Andrey Bronx
                                      wrote on last edited by
                                      #74

                                      It would be !false to assert : you're an exception; try to throw problems of this class out of your scope, otherwise your lifetime will be short.

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        For me it was definitely smalltalk back in 1994. I had been programming for about 15 years by then and thought I knew what object oriented programming was all about. Then I had the opportunity to use smalltalk combined with proper object oriented methodology training from some of the best people money could buy. The result was like a religious experience. The light just came on and "I got it". You can fake object oriented development in most languages, but not in smalltalk. There's a wonderful ecosystem of languages out there! Most of the good ones seem to be built around one or two central concepts. Learn the language and you master the salient concepts of that language. These are skills that can be transferred and used in other languages. Over the years I've been lucky work with something like 30-50 different languages / environments. Each one of these has made me a better thinker and developer; yes, even cobol. I think that the current VB/C#/Java monoculture may be harmful to the industry in the long term.

                                        L Offline
                                        L Offline
                                        leonej_dt
                                        wrote on last edited by
                                        #75

                                        mutantdna wrote:

                                        I think that the current VB/C#/Java monoculture may be harmful to the industry in the long term.

                                        The fact the VB/C#/Java monoculture sucks is actually worse than the fact it's a monoculture. I hate their proponents' let's play safe, don't try to be too smart attitude.

                                        If you can play The Dance of Eternity (Dream Theater), then we shall make a band.

                                        1 Reply Last reply
                                        0
                                        • F Fernando Deutsch

                                          Interesting question, I have to say that Object Oriented Programming paradigm have influence myself in the way I analyse and understand certain daily life activities. The language in particular is Smalltalk which was the one I used when I learn OOP.

                                          L Offline
                                          L Offline
                                          leonej_dt
                                          wrote on last edited by
                                          #76

                                          The only significative drawback that I have found in the way OOP makes me think is that all actions are expressed as having a single subject: pSomeObj->SomeMethod(); or no subject at all: CSomeClass.SomeStaticMethod();. There's no object-oriented way to say two objects are jointly performing an action.

                                          If you can play The Dance of Eternity (Dream Theater), then we shall make a band.

                                          F 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