• Why am I programming games in Python?
    17 replies, posted
Am I dumb or is this something that is just sickening? I'm taking a "game programming" class and we are using python to make games.
[QUOTE=ana-r3x3a;34713112]Am I dumb or is this something that is just sickening? I'm taking a "game programming" class and we are using python to make games.[/QUOTE] Python's a pretty great language for beginners and it's absolutely fine for making games with.
[QUOTE=Chris220;34713318]Python's a pretty great language for beginners and it's absolutely fine for making games with.[/QUOTE] It seems to be a terrible language to learn. I keep getting indent errors for no fucking reason. I'm mad, I'd rather be using some other language that doesn't have indent errors like this.
[QUOTE=ana-r3x3a;34713573]It seems to be a terrible language to learn. I keep getting indent errors for no fucking reason. I'm mad, I'd rather be using some other language that doesn't have indent errors like this.[/QUOTE] Then you're indenting your code wrong.
[QUOTE=ana-r3x3a;34713573]It seems to be a terrible language to learn. I keep getting indent errors for no fucking reason. I'm mad, I'd rather be using some other language that doesn't have indent errors like this.[/QUOTE] Strict formatting rules will help you form good habits in the future. Also, make sure you're not mixing TAB characters with spaces, as this screws up the indentation parser. In conclusion, it's your fault you're getting these errors, and bashing on Python simply because it's Python is unacceptable. [editline]15 February 2012[/editline] "I'd rather be using some other language that doesn't have indent errors like this." If you need to be spoon-fed / can't use a language with particular rules then you shouldn't be programming.
[QUOTE=danharibo;34713615]Then you're indenting your code wrong.[/QUOTE] Well, I mean it's easy shit to indent. It's just whenever I use my professors code that he has on our harddrives it litterally ALWAYS seems to have indent errors.
[QUOTE=ana-r3x3a;34713654]Well, I mean it's easy shit to indent. It's just whenever I use my professors code that he has on our harddrives it litterally ALWAYS seems to have indent errors.[/QUOTE] "My professor provided us with code that had errors in it, therefore the language is dumb" ? If it's really an issue, take it up with the professor. Either he intended for you to practice fixing the errors or (more likely) he made an honest mistake and will be happy to help you correct it.
[QUOTE=calzoneman;34713682]"My professor provided us with code that had errors in it, therefore the language is dumb" ? If it's really an issue, take it up with the professor. Either he intended for you to practice fixing the errors or (more likely) he made an honest mistake and will be happy to help you correct it.[/QUOTE] Well its annoying as piss and to fix it, it seems like I have to do EVERYTHING in the world.
[QUOTE=ana-r3x3a;34713710]Well its annoying as piss and to fix it, it seems like I have to do EVERYTHING in the world.[/QUOTE] 1. As I stated before, if you have an issue with the code provided to you, take it up with your professor. The developers of Python have absolutely fucking nothing to do with what your professor gives you. 2. If you can't deal with having to "do stuff" then programming isn't for you. And to be honest, Python does quite a bit for you that you'd have to do yourself in C 3. I'm not telling you you can't be frustrated, I've been frustrated by bugs and indentation errors in my Python code a number of times, it's simply your attitude that's obnoxious.
[QUOTE=calzoneman;34713734]1. As I stated before, if you have an issue with the code provided to you, take it up with your professor. The developers of Python have absolutely fucking nothing to do with what your professor gives you. 2. If you can't deal with having to "do stuff" then programming isn't for you. And to be honest, Python does quite a bit for you that you'd have to do yourself in C 3. I'm not telling you you can't be frustrated, I've been frustrated by bugs and indentation errors in my Python code a number of times, it's simply your attitude that's obnoxious.[/QUOTE] Or maybe it's because you're just a general ass. I wanted to know simply why indentations matter. Instead of you responding with that you decide to just be a general dick. you cock. [highlight](User was banned for this post ("Flaming" - Orkel))[/highlight]
[QUOTE=ana-r3x3a;34713825]Or maybe it's because you're just a general ass. I wanted to know simply why indentations matter. Instead of you responding with that you decide to just be a general dick. you cock.[/QUOTE] 1. Calling me a dick/cock/ass does not improve your chances of getting an answer 2. If you had simply asked "I'm getting indentation errors, can someone help me?" in the help thread I would have been more than happy to help you. "It seems to be a terrible language to learn. I keep getting indent errors for no fucking reason. I'm mad, I'd rather be using some other language that doesn't have indent errors like this." was a very hostile statement that doesn't entice anyone to help and just makes people like me angry that you're acting ignorantly. If you need help figuring out why IndentationErrors happen, I encourage you to bring it up in the help thread, where I or someone else will help you.
[QUOTE=ana-r3x3a;34713710]Well its annoying as piss and to fix it, it seems like [B]I have to do EVERYTHING in the world.[/B][/QUOTE] lol are we still talking about python?
I don't like python but it is enough to program games. for example eve online is more or less python
Python was the language I created my first text based adventure game in. It had a full inventory system, and I wrote a good deal of it using goto jumps. This was when I was like, 10. Good times. :)
[QUOTE=newbz;34714070]Python was the language I created my first text based adventure game in. It had a full inventory system, and I wrote a good deal of it using goto jumps. This was when I was like, 10. Good times. :)[/QUOTE] I'm like 90% sure Python doesn't have goto. And, @OP, Python is a great language. Not only as an introductory language. It's great for whenever you need to solve a one-time problem quick. It's good for web-dev, and many popular programs are written in (or use) Python. The original (very first) BitTorrent client, for example, was written in Python. If it's not your cup of tea, don't blame the language. It's pretty solid.
[QUOTE=ROBO_DONUT;34714557]I'm like 90% sure Python doesn't have goto. And, @OP, Python is a great language. Not only as an introductory language. It's great for whenever you need to solve a one-time problem quick. It's good for web-dev, and many popular programs are written in (or use) Python. The original (very first) BitTorrent client, for example, was written in Python. If it's not your cup of tea, don't blame the language. It's pretty solid.[/QUOTE] It was some sort of jump mechanism I remember reading about it (because I was creating branches for each scenario). But yeah, it's a pretty good language. I'm looking forward to learning more in my Programming Language class (we're doing lexers and parsers right now). I went: Python -> Java -> C++ -> Assembly and VHDL -> Advanced C++
[QUOTE=ana-r3x3a;34713825]Or maybe it's because you're just a general ass. I wanted to know simply why indentations matter. Instead of you responding with that you decide to just be a general dick. you cock.[/QUOTE] actually, You are the one being the ass. This people are trying to help you, but all you do is complain. And he is right, you can't really complain about "having to do everything" when programming. I suggest learning all the indentation rules, and then carefully looking over your instructor's code before entering it.
Sorry, you need to Log In to post a reply to this thread.