I see a lot of hate for OOP especially for Java and some for C++. But why do people recommend Python, which is an overly disgusting, forced indented, object oriented programming language, whenever a rookie asks what programming language to start with?
people recommend Python
You must be new here. back to /g/, please.
Name:
Anonymous2012-09-20 12:55
I am Sam
Sam I am
That Sam-I-am!
That Sam-I-am!
I do not like that Sam-I-am!
Do you like
Python and ham?
I do not like them, Sam-I-am.
I do not like
Python and ham.
Would you like them
here or there?
I would not like them
here or there.
I would not like them anywhere.
I do not like
Python and ham.
I do not like them, Sam-I-am.
Would you like them in a house?
Would you like them with a mouse?
I do not like them
in a house.
I do not like them
with a mouse.
I do not like them
here or there.
I do not like them
anywhere.
I do not like
Python and ham.
I do not like them,
Sam-I-am.
Would you eat them
in a box?
Would you eat them
with a fox?
Not in a box.
Not with a fox.
Not in a house.
Not with a mouse.
I would not eat them
here or there.
I would not eat them anywhere.
I would not eat Python and ham.
I do not like them, Sam-I-am.
Java/C# are very confining languages, they occupy middle ground between dynamic scripting languages and static compiled languages. Even though I think Java is the best language to learn OO on, I would hate to have to program in it. Thankfully we have Scala now which has implemented most the improvements that were planned for Java. Java still holds a niche in enterprise programming in that its static typing and forced OO makes it a very safe and scalable language, I doubt even Scala will make a dent against Java in that area.
C++ is just a hateful language. Trying to use OO without garbage collection is just a nightmare as inheritance adds a whole new level of type checking and memory management that no sane person should do by hand. C++ should have been replaced by D 10 years ago, people use C++ simply on reputation.
btw, I met Walter Bright last night, he ignored me. You deserve to be poor and alone Walter you autistic asshole.
Name:
Anonymous2012-09-20 15:29
btw, I met Walter Bright last night, he ignored me. Le Reddit AMA Request
Name:
Anonymous2012-09-20 15:41
>>10 C++ is just a hateful language. Trying to use OO without garbage collection is just a nightmare
Just use smart-pointers.
Name:
Anonymous2012-09-20 15:44
>>12
smart pointers is just roll-your-own garbage collection
just use real garbage collection
Name:
Anonymous2012-09-20 15:51
>>11 Le Reddit AMA Request
I think not. There actually are video interviews of Walter, they are a study in autism. The fact that Walter, Andrei and Bartosz cant articulate ideas publicly in a cohesive manner is the major reason D is remains a fringe language.
Name:
Anonymous2012-09-20 16:40
>>11 Le Reddit AMA Request
keep dreaming Walter, you'll always be the unknown kook on Reddit who sneaks in the back door of Microsoft trying to peddle a gimmick wannabe C++ language
Name:
Anonymous2012-09-20 16:49
python is not especially object oriented. It has classes, but you don't really need to use them at all, and most people don't. named tuples suffice for most polymorphism.
>>10 Trying to use OO without garbage collection is just a nightmare
Truth. If you're going to write unmanaged code, just make it procedural and do it in C.
Name:
Anonymous2012-09-20 17:29
is walter bright really autistic?
Name:
Anonymous2012-09-20 18:52
>>18
I use the term autistic because he has the common symptom of high level autism in that he has knowledge, but its overly literal knowledge. He lacks the ability to communicate with non-technical people in general terms. This is a common trait in the science and engineering field which is why people in technical fields are like lost sheep unless they get hired by a big corporation that can channel their talent.
>>17 Truth. If you're going to write unmanaged code, just make it procedural and do it in C.
but the you lose the OO, and like it or not, OO is an entrenched part of the software industry
>>20
I think >>17's point is to avoid native code wherever possible.
Name:
Anonymous2012-09-20 23:34
You recommend Python to people so that they don't fucking ask you how to set up their compilers and IDEs or deal with questions about yet another mysterious SYNTAX ERROR! All you have to do is say, "google dive into python", show them that XKCD comic strip, and maybe they'll actually learn to code. Face it, Python is coding made easy. I've used it and *gasp* I liked it because you can get trivial shit done quicker.
>>26 http://harmful.cat-v.org/software/ ╔═══════════════════════════════╦═══════════════════════════╗
║Things not designed by Rob Pike║Things designed by Rob Pike║
╚═══════════════════════════════╩═══════════════════════════╝
>>30
If I were Rob Pike I'd call the cops. The fact that everything that Uriel seems to want to discuss are things made or said by Rob Pike is starting to give me second-hand creeps.
>>43
It's not. xrange(x, y, z) does the same thing as i for i in range(x, y, z). All i for i in x does is convert some iterable x to a generator which is never necessary. Show me code that does that and I'll show you the right way to do it.
Must be the MIT influence. I saw Python recommendations start rising around the same time 6.001 was laid to rest and replaced with that Python course.
It's a scripting language, meaning that it was designed for short, simple tasks, and that it does not scale well to large systems. All languages with implicit declarations tend to be like that. With a small program it's easy to exercise all the paths either through testing or use, but with a large system there might be code that almost never gets called, and in languages like Python, a simple bug like a misspelled identifier can hide there until it causes strange behaviour, that then takes a long time to find.
66implications that these are not the best quotes99
Fagniggotry.
Name:
Anonymous2012-09-22 10:11
>>47
>6.001 was laid to rest
Why would they do that? That class is essentially a course on wizardry.
Name:
Anonymous2012-09-22 11:26
>>50
To prevent more wizards popping up of course. It's all a big conspiracy by the Big Man to keep us down yo!
Name:
Anonymous2012-09-22 11:35
>>51
Both Sussman and Guido are kikes. What is the fuzz?
Dear Ruby community, it are the Jews who impede advancement of your beautiful language. The kikes at Goggle allied with Guido to enforce his Python over the whole Earth and suppress any competition, including cute Ruby.
>>50
6.001 was a beginner course on wizardry. The idea was to teach would-be wizards just enough to make them feel powerful, without teaching them enough for them to be a real threat. It was laid to rest because too many people were still trying to learn more advanced wizardry after completing 6.001.
Name:
Anonymous2012-09-22 11:46
>>53
6.001 was a beginner course on Judaism. The idea was to teach wannabe Jews just enough to make them feel godchosen, without teaching them enough for them to be a real threat. It was laid to rest because too many people were still trying to learn more advanced Judaism after completing 6.001.
>>24
LPTHW is fucking shit, I don't understand why people recommend it. 15 lessons about printing, 10 about functions and 2 about classes isn't what I'd call a good Python tutorial.