r/itsaunixsystem • • Jun 03 '16

[Supergirl] Python 6

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

100 comments sorted by

View all comments

0

u/[deleted] Jun 03 '16

[deleted] — view deleted 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)

→ More replies (4)

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.

→ More replies (4)

26

u/Astrokiwi Jun 03 '16

Dude I still use Fortran

21

u/metaobject Jun 03 '16

By 2145, I wonder if there'll be more Fortran 77, Fortran 90, or Fortran 95 code in existence?

25

u/Astrokiwi Jun 03 '16

Hopefully people will have started using Fortran2003 by then.

12

u/metaobject Jun 03 '16

Wow, TIL about fortran 2003. I do some work with weather models and other fortran-based code (mostly looking at the code, writing C-interfaces, and post-processing output) and I don't believe I've heard about anything after fortran 95.

11

u/Astrokiwi Jun 03 '16

Yeah, you can do OOP now.

0

u/[deleted] Jun 03 '16

[deleted] — view deleted comment

11

u/Astrokiwi Jun 03 '16

Fortran can actually be pretty decent. Cobol looks scary though.

12

u/FezMaster Jun 03 '16

COBOL, please. Capitalization matters...

13

u/Astrokiwi Jun 03 '16

This is how you can tell Fortran is more modern than COBOL. When they updated from FORTRAN-77 to Fortran90, the name was officially changed to have lower case letters, like an actual word.

→ More replies (1)

2

u/ansatze Jun 03 '16

I like Fortran thanks

2

u/[deleted] Jun 03 '16

I mean, technically it's still being updated.

3

u/Astrokiwi Jun 03 '16

Yeah, I don't think it's dying anytime soon.

→ More replies (2)

0

u/[deleted] Jun 08 '16

[deleted] — view deleted comment

6

u/[deleted] Jun 08 '16

it'll be forked and you know it

→ More replies (4)

7

u/gpmidi Jun 03 '16

So true, so true

2

u/deevandiacle Jun 04 '16

Yum still hasn't been fixed, eh?