Has any programming language ever affected your thought process in real life?
-
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!)
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.
-
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.
Brilliant, I'll have to try that.
Coffee Brain::MakeCoffee() {
Fridge fridge = Home.Current.GetFridge();
if(!fridge.ContainsMilk) {
throw new NoMilkException();
}
// ... //
}Matt Dockerty
-
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)
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.
-
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.
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 -
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!
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.
-
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!)
Ah, but we're not excusing it, we're celebrating it ;)
-
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.
-
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 ");
}:) :)
That's 1 too many. ;P
-
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.
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
-
That's 1 too many. ;P
Not total copy :) printf != Console.Writeline. Although they do the same thing.
-
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.
You need to start using Ruby.
-
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
-
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.
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.
-
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 ");
}:) :)
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
-
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
No, that was long time ago, before .NET
-
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.
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.
-
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.
It would be
!false
toassert
: you're an exception;try
tothrow
problems ofthis
class
out of your scope,otherwise
your lifetime will beshort
. -
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.
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.
-
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.
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.