Python programmers program in the future
1
Name:
Anonymous
2007-12-18 12:14
Floor division (X // Y), new in 2.2, always truncates fractional remainders. Classic division (X / Y) truncates integer division results in 2.2 but will be changed to true division (always keeping remainders) in 3.0. In 2.2, use from _ _future_ _ import true_division to make the / operator return true division result (e.g., 1/2 is 0.5).
2
Name:
Anonymous
2007-12-18 13:59
3
Name:
Anonymous
2007-12-18 14:30
4
Name:
Anonymous
2007-12-18 18:59
Fatal error! Message could not be posted.
Please post threads less often!
5
Name:
Anonymous
2007-12-19 1:18
from _ _future_ _ import true_division is now a meme.
6
Name:
Anonymous
2007-12-19 1:20
from __future__ import death_of_abelson
7
Name:
Anonymous
2007-12-19 2:51
from __future__ import braces
8
Name:
Anonymous
2007-12-19 4:48
from __future__ import __future__
OH GOD
9
Name:
Anonymous
2007-12-19 5:58
import __future__ from __future__
10
Name:
Anonymous
2007-12-19 5:59
from __future__ import antigravity
11
Name:
Anonymous
2007-12-19 6:08
>>10
Climb a wall of dick, unfunnyfag.
12
Name:
Anonymous
2007-12-19 13:47
future __future__ future __future__
13
Name:
Anonymous
2007-12-19 14:28
from _____________________________________________future__________________________________________________
Seriously, how ugly can you get?
14
Name:
Anonymous
2007-12-19 14:41
15
Name:
Anonymous
2007-12-19 14:44
>>13
Worse than the shitCase, seriously.
16
Name:
Anonymous
2007-12-19 16:30
>>14
Is that supposed to make you funnier? Now you're unfunny
and derivative.
17
Name:
Anonymous
2007-12-19 16:59
Xkcd is more expert programmer then anyone here.
18
Name:
Anonymous
2007-12-19 17:04
>>17
Oh yeah, that guy was using PERL before PYTHON. How expert is that? How
enterprise is that?
19
Name:
Anonymous
2007-12-19 17:09
>>18
It's better than your QuickBasic shit.
20
Name:
Anonymous
2007-12-19 17:11
[(a,b) | a <- [1..5], b <- [1..5]]
Now how do I make an analogical permutation without repetition?
21
Name:
Anonymous
2007-12-19 17:58
>>20
Forget it, that problem is in NP-C.
22
Name:
Anonymous
2009-03-18 2:51
I feel the need, the need for weed!
Marijuana MUST be legalized.
23
Name:
2010-10-23 2:54