r/itsaunixsystem • • Jun 03 '16

[Supergirl] Python 6

http://imgur.com/SJ6Iars
1.2k Upvotes

100 comments sorted by

View all comments

Show parent comment

133

u/yoshiK Jun 03 '16 edited Jun 03 '16

To be fair, the entire

 ai.setbenevolent(value=false)

disaster made people reconsider updating their codebase.

42

u/kirakun Jun 03 '16

Dude, use property decorator already so that this line reads better as

ai.benevolent = False

21

u/[deleted] Jun 03 '16

print ( )

no, not gonna happen

15

u/jiminiminimini Jun 06 '16

I used to program in java and c++ and typed print() out of habit. I forced myself to type print without parentheses for the sake of style, then as soon as it become a habit we moved to python 3. now i am a mess, I can never be sure what i type is right or wrong :(

10

u/[deleted] Jun 06 '16

im using qwerty at home and qwertz at work. I know how being in a limbo state feels :(

4

u/Muzer0 Jun 07 '16

Try learning something like Dvorak for home. I use Dvorak myself and have no issues switching to QWERTY; I suspect it'll be a lot easier switching between Dvorak and QWERTZ than QWERTY and QWERTZ.

(Doesn't have to be Dvorak, Colemak or whatever takes your fancy work too)

1

u/[deleted] Jun 07 '16

thought about picking up colemak but the hotkey problem seems to big of an issue. any other layout than qwerty/qwertz would significantly slow me down. there must be 100s of hotkeys that i remember only by muscle memory (blender, inkscape, chromium, i3 .....) i would have to relearn them all.

2

u/pessimistic_platypus Jun 20 '16

Make a custom keyboard layout that acts as Colemak, but switches to QWERTY when you press any modifier besides Shift.

Don't ask me how.

2

u/[deleted] Jun 20 '16

that is simple. my russian layout works exactly like that.

hit capslock фываыффа hit ctrl+shift 日本語

but its not the same

1

u/pessimistic_platypus Jun 20 '16

Hm...

Isn't Colemak the one that has only a few switches from QWERTY, so you can incrementally make the switch? Then you'd have time to get used to the new layout.

3

u/sad-larry Aug 05 '16

I use QWERTY at home and a mop at work, so can relate

2

u/KSFT__ Jun 04 '16

Don't worry; they made it its own statement again in 4.2. They went back to parentheses for 4.7, but since 5, it's back to like it was in Python 2.

2

u/eduardog3000 Jul 23 '16

Of course not, you don't put a space after print,

1

u/[deleted] Jul 23 '16

works fine

1

u/eduardog3000 Jul 23 '16

It works, but so does printing Hello World one letter at a time.

2

u/RageNorge Jul 26 '16

... People... don't... do that?