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

Why does Python behave like this?

Name: Anonymous 2014-02-27 11:42

>>> a = "Early morning"
>>> a is "Early morning"
False
>>> a = "Early_morning"
>>> a is "Early_morning"
True

Name: Anonymous 2014-02-27 11:42

BECAUSE IT'S SHIT

Name: Anonymous 2014-02-27 12:05

Because that's how God wants it.

Name: Anonymous 2014-02-27 13:47

>>> Python is "shit"
True

Name: Anonymous 2014-02-27 14:20

Implementation can cache string objects if it chooses so. If you really need to compare strings with is (and you don't) do it like this:

>>> a = "Early morning"
>>> a is "Early morning"
False
>>> import sys
>>> sys.intern("Early morning") is a
True

Name: pussy getter 2014-02-27 15:18

NERDS GET A GF

Name: Anonymous 2014-02-27 15:32

>>5
sys.intern(
HORRID BLOAT

Name: Anonymous 2014-02-27 15:38

you shoud be redpilled on python
someone give him the python redpill copypasta

Name: Anonymous 2014-02-28 13:18

>>8
Will do!

Tommorow look for the book "Dive into Python" on the internet. Don't give a flying fuck even if you don't understand anything in it. Then go to python.org and study the standard library front to end. Then memorize, and I mean fucking imprint into your brain the conventions of Python code - PEP8, it must become your second nature. When you write your first imageboard, having coincidentally learnt html+css markup, download and study any Pythonic asynchronous webserver, I recommend Tornado or Gevent. After you rebuild the imageboard to serve at least 5 thousand requests per second, you can go on - there's a wonderful world of high-load, Apache Hadoop, hyperfast asynchronous key-value stores, MapReduce. The pwnage of hikki bastards / just losers like Reifag or sissarp/java cocksuckers who suck dick all life will be not far ahead, and after only half a year you will be making so much money that any chick will get wet from just the mention of your salary.

Name: Anonymous 2014-02-28 20:13

>>5,7
Yes, goyim! Have the interns do it! Make sure they're unpaid so we get free labor!

Name: Anonymous 2014-02-28 20:26

kek'em

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