Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Why does everyone hate OOP but not Python?

Name: Trust Me, I'm an Engineer 2012-09-20 7:53

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?

Name: Anonymous 2012-09-20 7:55

>>1
At least it's not Java or C++.

Name: Anonymous 2012-09-20 8:06

/polecat kebabs/

Name: Anonymous 2012-09-20 8:11

>>1
Probably because inventor of Python, Gudo van Rossum, is Jewish, while inventor of Ruby is goyim. Everyone loves Jews for some reason.

Name: Anonymous 2012-09-20 8:11

Because unlike Ruby or Java, it doesn't force a thousand object oriented dicks down your throat.

http://www.youtube.com/watch?v=o9pEzgHorH0
http://news.ycombinator.com/item?id=3718215

Name: Anonymous 2012-09-20 8:34

/polecat kebabs/

Name: Anonymous 2012-09-20 12:46

people recommend Python
You must be new here.
back to /g/, please.

Name: Anonymous 2012-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.

Name: Anonymous 2012-09-20 13:11

>>1
Because you read too much reddit.
Or not enough, you should probably just go back there.

Name: Anonymous 2012-09-20 15:10

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: Anonymous 2012-09-20 15:29

btw, I met Walter Bright last night, he ignored me.
Le Reddit AMA Request

Name: Anonymous 2012-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: Anonymous 2012-09-20 15:44

>>12
smart pointers is just roll-your-own garbage collection

just use real garbage collection

Name: Anonymous 2012-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: Anonymous 2012-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: Anonymous 2012-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.

Name: Anonymous 2012-09-20 16:59

>>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: Anonymous 2012-09-20 17:29

is walter bright really autistic?

Name: Anonymous 2012-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.

Name: Anonymous 2012-09-20 18:53

>>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

Name: Anonymous 2012-09-20 19:05

>>20
It's not OO anyway. The only really popular OO language is JS.

Name: Anonymous 2012-09-20 22:53

>>20
I think >>17's point is to avoid native code wherever possible.

Name: Anonymous 2012-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.

Name: Anonymous 2012-09-21 1:38

>>7
Read LPTHW.

Name: Anonymous 2012-09-21 2:04

>>23
Still waiting, Leah.

Name: Obscure Ornamented Progeria 2012-09-21 6:12

Again...
http://www.parashift.com/c++-faq-lite/big-picture.html
http://harmful.cat-v.org/software/OO_programming/

tl;dl
You get x5 of the same shit you do not need, thus you get more hidden bugs.

Forget optimization, you are not getting it.

Name: Anonymous 2012-09-21 9:56

tl;dl
too long, didn't long?

Name: Anonymous 2012-09-21 10:07

Terrible!

Name: Anonymous 2012-09-21 10:15

>>27
too long, didn't last.

Name: Anonymous 2012-09-21 11:19

>>26
http://harmful.cat-v.org/software/
╔═══════════════════════════════╦═══════════════════════════╗
║Things not designed by Rob Pike║Things designed by Rob Pike║
╚═══════════════════════════════╩═══════════════════════════╝

Name: Anonymous 2012-09-21 12:20

>>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.

See:
http://news.ycombinator.com/submitted?id=luriel

http://news.ycombinator.com/threads?id=luriel

http://www.reddit.com/user/uriel

Name: Anonymous 2012-09-21 13:07

stalking rob pike for fun and profit.

Name: Anonymous 2012-09-21 14:43

>>31
Unless Uriel is Rob Pike's self-promotional sock-puppet...!

Name: Anonymous 2012-09-21 14:57

>>30
Rob Pike
Plan 9, Go
Yeah go on, keep giving attention to a man who did an useless OS and programming language..

Name: Anonymous 2012-09-21 15:16

Is Rob Pike Jewish?

Name: Anonymous 2012-09-21 15:17

>>34
Don't forget his useless text editor(s).

Name: Anonymous 2012-09-21 15:18

>>35
Pike rhymes with kike, so yes.

Name: Anonymous 2012-09-21 15:19

>>35
Bell Labs seemingly had some Jewish influence and the C/C++ successor is named in Hebrew: http://en.wikipedia.org/wiki/Alef_%28programming_language%29

Name: Anonymous 2012-09-21 18:19

>>38
``Limbo" is not Hebrew.

Name: Anonymous 2012-09-21 18:38

Because Python is easy to setup, easy to use, has great libraries, and has great documentation.

If Ruby had better libraries I'd recommend it. (I can dream, can't I?)

Name: Anonymous 2012-09-21 18:45

i for i in range
What the fuck, Pythonistards?

Name: Anonymous 2012-09-21 20:26

>>41
xrange

Name: Anonymous 2012-09-21 20:31

>>42
i for i in
This should not be necessary.

Name: Anonymous 2012-09-21 21:02

>>43
It isn't.

Name: Anonymous 2012-09-21 21:46

>>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.

Name: Anonymous 2012-09-21 21:52

>>45
https://www.google.com/search?q="i+for+i+in+xrange"
About 115,000 results

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-09-22 7:26

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.

Name: Anonymous 2012-09-22 8:18

>>47
Shalom, Hymie!

Name: Anonymous 2012-09-22 8:20

66implications that these are not the best quotes99

Fagniggotry.

Name: Anonymous 2012-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: Anonymous 2012-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: Anonymous 2012-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.

Name: Anonymous 2012-09-22 11:42

>>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: Anonymous 2012-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.

Name: Anonymous 2012-09-22 14:10

read the protocols of zion

Name: Anonymous 2012-09-22 16:29

>>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.

I'd rather read SICP Anti Cudder version.

Don't change these.
Name: Email:
Entire Thread Thread List