Author Topic: Beginning programming language  (Read 4898 times)

0 Members and 1 Guest are viewing this topic.

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Beginning programming language
« on: December 20, 2010, 12:04:45 am »
My friend is getting into programming. She wants to make games, and asked a family friend, who suggested using Python. My question is: is that really the best choice? I noticed it has a weird syntax, but good documentation. Any opinions? Any other suggestions of languages?
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Beginning programming language
« Reply #1 on: December 20, 2010, 12:09:27 am »
Python is usually a pretty good beginning language. Java might be hard to grasp with all the object-oriented crap involved, but if she's willing to spend 2-3 months on just learning OOP, it'll be easy there on out. C/C++ i wouldn't suggest because of pointers and their tendency to not be easily understood. GML i tried and hated, but that's because it was confusing to me. i voted java, but i'd say java or python are your best bets.

edit: actually, if she's a complete beginner i'd get her to program in TI-Basic. and then once she can make pong, snake or another simple game, get her started on a computer language.
« Last Edit: December 20, 2010, 12:12:10 am by nemo »


Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Beginning programming language
« Reply #2 on: December 20, 2010, 12:13:07 am »
I am very proficient in GML and Java, and have talked to her about some of the OOP stuff before. My main concern with Python is that it would be a hard shift to any other standard programming language.
EDIT: The same goes for TI-Basic, hard transition
« Last Edit: December 20, 2010, 12:13:54 am by Binder News »
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Beginning programming language
« Reply #3 on: December 20, 2010, 12:13:09 am »
Python is definitely the best beginner's language. If she wants to do games, then there's always Pygame. As far as the best language overall, C or ASM would be the best.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Beginning programming language
« Reply #4 on: December 20, 2010, 12:16:29 am »
I agree with the best lang overall. I still think GML would be better, but I'll take a look at the libs for Python and PyGame. The other thing is that my friend and I were hoping she could help us with our game, but it's all in GML.
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Beginning programming language
« Reply #5 on: December 20, 2010, 12:20:34 am »
transitioning from Python probably won't be bad. if you know GML well though, go with that and then transition into a C variant or Java. Or just mess with her and make her learn Haskell or Clean.


Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Beginning programming language
« Reply #6 on: December 20, 2010, 12:25:44 am »
Ok. I'll still look at the Python libs, as it might give me another challenge to learn Python (that's what I do when I'm bored or can't sleep)
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Beginning programming language
« Reply #7 on: December 24, 2010, 03:14:30 pm »
Python is good for a complete beginner.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Beginning programming language
« Reply #8 on: December 24, 2010, 03:17:58 pm »
Python is good for a complete beginner.

The best I must say, it's what I started with:

Code: [Select]
a = "Hello"
print a
b = raw_input()
if b = "World":
    print "Correct Answer"
else:
    print "Wrong Answer"
raw_input()

Really simple code, perfect for scripts :)

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Beginning programming language
« Reply #9 on: December 24, 2010, 04:11:16 pm »
Yeah, I'd say Python is good for a complete beginner.

However, that does not mean it's a language only for beginners. I don't see a reason why you'd "need" to transition to another language.

Though, maybe you'd want to learn C, because you'd learn more about programming (it's at a lower level).

Unless you actually needed to know another language for a specific reason (i.e. you're trying to program on a platform only supporting one language, or you're trying to modify something written using another language), you really don't "need" to move to Java or C++.

But that's just the opinion of someone who dislikes Java and C++ and does most of his programming in Python, C, and VB .NET. :P



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Beginning programming language
« Reply #10 on: December 24, 2010, 04:14:09 pm »
Yeah, I'd say Python is good for a complete beginner.

However, that does not mean it's a language only for beginners. I don't see a reason why you'd "need" to transition to another language.

Though, maybe you'd want to learn C, because you'd learn more about programming (it's at a lower level).

Unless you actually needed to know another language for a specific reason (i.e. you're trying to program on a platform only supporting one language, or you're trying to modify something written using another language), you really don't "need" to move to Java or C++.

But that's just the opinion of someone who dislikes Java and C++ and does most of his programming in Python, C, and VB .NET. :P

I would say that starting with Python is great, but movind to another language is very important. C and Java are the most popular.
Then there's .NET (C# and VB) you should also try.

The first non-Python language I learnt was Java, I hated it. I thought it was too hard. So, go from Python to C (something easier) and only then to .NET and/or Java :D