login about faq


I'm not a begginer at all, but I have not made any application for a year, so I think I must have forgotten most of what I knew. I'm used to code under visual environment (Visual Basic, for instance). What programming language is the best for me to re-start?

Thanks in advance

asked Nov 27 '10 at 17:39

Oscar%20Cisneros's gravatar image

Oscar Cisneros
306626572

closed Nov 29 '10 at 00:44

Seb's gravatar image

Seb
(suspended)

The question has been closed for the following reason "Duplicate Question" by Seb Nov 29 '10 at 00:44


I would recommend Python. It's a great language and since it's simple, it's easy to learn. The documentation is amazing! (It's also cross-platform and open source)

Some example code for you (will run in both 3.x and 2.x) :

import random

my_variable = random.randint(0, 100)

if my_variable > 42 :
    print("The world will now explode. Please panic")
elif my_variable < 42 :
    print("The world will still explode.")
else :
    print("YOU WIN!!")

or

# This is a comment
while True :
    print("duh")

Although there are a lot of different IDEs, I would recommend Notepad++ if you're on Windows. On Linux (which I use) I would highly recommend Geany.

If you do choose Python, I think the hardest decision to make is between version 2.7 and 3.1. It's weird because both are supported. To decide which one to choose, you must first decide what you're going to do. Older python libraries are usually incompatible with 3.x, so you'll need to use 2.x. Some of the bigger libraries under active development now run on 3.x. 3.1 has new features, but things just "work" on 2.7. More info here on the Python wiki.

answered Nov 27 '10 at 18:00

UncleNinja's gravatar image

UncleNinja
163

I just prefer using idle to program in python, quick to run modules afterward.

(Nov 27 '10 at 23:54) recck recck's gravatar image

Good point! I like the IDLE for testing out built-in functions.

On Ubuntu I just have a custom keyboard shortcut that opens up a Python interpreter (gnome-terminal --command="python"). I hate Command Prompt and Windows keyboard shortcuts are very confusing, so I use the IDLE when I'm on Windows.

Not that the IDLE isn't good or anything, I just haven't used it much for anything other than syntax-highlighted tinkering. :)

(Nov 28 '10 at 19:28) UncleNinja UncleNinja's gravatar image

Java is relatively easy once you know the basics

answered Nov 28 '10 at 22:14

FilipinoPower's gravatar image

FilipinoPower
13.0k135219313

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported


Join Us in the Chat Room

Tags:

×1,937
×222
×44
×41

Asked: Nov 27 '10 at 17:39

Seen: 1,410 times

Last updated: Nov 29 '10 at 00:44