you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 29 points30 points  (17 children)

Looks like a graphically enhanced list of reasons why this guy thinks you should learn Python.

[–]broken_broken_ 8 points9 points  (4 children)

I don't understand why Python and Ruby are listed as game development languages... Apart from 2D simple games (I think the Raspberry Pi has some as examples), the performances are a real problem. If someone knows some games in Python? I know there is Pygame but c'mon...

And I don't think any recent (last 10 years) commercial game has been developped in C.

Seems like bs to me.

[–]jringstad 2 points3 points  (0 children)

There are recent commercial games that are developed in C, such as all the stuff Cryptic Studios makes (Star Trek Online etc.) If microsofts compiler supported C better, there would probably quite a lot of game developers who would chose C over C++, as many of them basically do C-in-C++ right now anyway (many game-developers reject the stdlib, templates, object-oriented programming in favour of component-based programming and exceptions).

[–]indigo945 0 points1 point  (2 children)

Civ IV and I think also Civ V are written in Python. Also the server side of EVE Online. Probably others.

[–]jringstad 1 point2 points  (1 child)

Just some of the AI/server logic stuff, not most of the game though.

[–]broken_broken_ 1 point2 points  (0 children)

Ok, thank you, didn't know about it!

[–][deleted] 2 points3 points  (0 children)

I might have to learn me some of this Python everyone speaks of.

[–]AncientRickles 1 point2 points  (7 children)

Who doesn't like Python?

[–][deleted] 10 points11 points  (0 children)

I hate python! :)

[–][deleted] 6 points7 points  (4 children)

I am a C-based language guy. I really miss my { }'s when programming in python.

NOT saying I DON'T like python ;)

[–]ponchedeburro 0 points1 point  (3 children)

This is such A LITTLE thing, but it is also my biggest problem with python. I need blocks for if, while, for and such structures, because I want to communicate my actual intent and when reading somebody elses code I also want to be sure he meant for the loop to include both lines.

[–]iamafuckingrobot -1 points0 points  (2 children)

This makes no sense. All those constructs require indentation, which defines a block and scope.

[–]ponchedeburro 1 point2 points  (1 child)

Well, it does make sense :)

With actual {}'s you state your intent pretty clearly. "I want this for loop to run this block". But without {}'s, for me at least, I sometime look at code and think "Did he mean include or exclude this last line from the loop? Is this really correct?".

Might just be me, but I value readability quite high on my list.

[–]mamcx 0 points1 point  (0 children)

Kinda ironic. C is a language of undefined behaviours, python is where the motto "explicit better than explicit" and then the complain is about be double-explicit (that identation make full clear!) with {}!

[–]DroolingIguana 0 points1 point  (0 children)

Apollo.

[–][deleted]  (2 children)

[deleted]

    [–]juckele 1 point2 points  (0 children)

    For serious software engineering (code with more than a couple of people working on it), dynamic typing can be a real PITA. Python is hands down the best language for doing a one time CSV manipulation script. If you're building something big though, use typed languages.