• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:46
CEST 22:46
KST 05:46
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Code S RO8 Preview: Rogue, GuMiho, Solar, Maru2BGE Stara Zagora 2025: Info & Preview27Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL47Code S RO12 Preview: Cure, Zoun, Solar, Creator4
Community News
BGE Stara Zagora 2025 - Replay Pack0Weekly Cups (June 2-8): herO doubles down1[BSL20] ProLeague: Bracket Stage & Dates9GSL Ro4 and Finals moved to Sunday June 15th13Weekly Cups (May 27-June 1): ByuN goes back-to-back0
StarCraft 2
General
Code S RO8 Preview: Rogue, GuMiho, Solar, Maru BGE Stara Zagora 2025 - Replay Pack Jim claims he and Firefly were involved in match-fixing The SCII GOAT: A statistical Evaluation StarCraft 1 & 2 Added to Xbox Game Pass
Tourneys
[GSL 2025] Code S:Season 2 - RO8 - Group A Sea Duckling Open (Global, Bronze-Diamond) Bellum Gens Elite: Stara Zagora 2025 $3,500 WardiTV European League 2025 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 477 Slow and Steady Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance
Brood War
General
BGH auto balance -> http://bghmmr.eu/ FlaSh Witnesses SCV Pull Off the Impossible vs Shu BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest Will foreigners ever be able to challenge Koreans?
Tourneys
[ASL19] Grand Finals [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET NA Team League 6/8/2025 [Megathread] Daily Proleagues
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Stormgate/Frost Giant Megathread What do you want from future RTS games? Armies of Exigo - YesYes? Nintendo Switch Thread Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Vape Nation Thread European Politico-economics QA Mega-thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
A Better Routine For Progame…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 25815 users

Learning to Program - Page 2

Blogs > micronesia
Post a Reply
Prev 1 2 All
Vilonis
Profile Joined October 2010
United States130 Posts
Last Edited: 2012-02-04 06:17:50
February 04 2012 06:10 GMT
#21
Learn Python.

Writhing python is fun

It is simple, high level (powerful), does tons of stuff, google loves it (and has an awesome class on it that you should watch the videos of, it is only 2-3 hours + exercises), has an awesome community, and is fun

Because you don't need to do anything for a profession, why would you write c++?

Further more, do what Google does with python. Each time you find yourself doing something redundant/boring, write a python script to do it instead. Ex. I wrote a script that pulled data (album, artist, song name, etc) from a music files title moved it into tags, then renamed the file to just be the song name. Then I ran it on 1000 songs. Felt pretty cool.

Oh, and it is lightweight. By that I mean, the time between starting a new script and running it is tiny. You don't need an IDE, you don't compile it, there is no boiler plate code to execute a main function to get the program off the ground.. It is pretty liberating.

Oh, and it's cross platform, including the huge standard library.

Lastly, Majromax recommends it earlier in this thread, so everything he says is more reason to choose python.

Lastly, really this time. Python has an awesome, super helpful and friendly (like TL Friendly) community and lots of resources. Including python's great official documentation and documentation built into the language itself.

As you might be able to guess, I Highly recommend python.


Edit: There are actually even more good things.

Python's most popular web frame work, Django, described as a web frame work for perfectionists with deadlines, is extremely powerful. You can have a simple website up and running, including all database interactions, HTTP crap, etc, in half and hour. Really, there is a tutorial to teach you how, and I have personally done it.

So if you are interested in web programming, Django and Python might be the perfect pair for you.

Want to do some GUI programming? Want it to be cross platform and use the OS's default widgets (so that windows on Windows look like Window's windows, and Linux windows look like Linux windows, etc)? wxPython. Bindings to wxWidgets from c++.

Want to do some low level 3D graphics? pyOpenGL.

Want to do some higher level 2D games? pySFML. Though I admit, the current bindings are, lacking, the bindings for the upcoming SFML 2.0 look much more promising.

Wish python was run-able everywhere java was? Jython, a python interpreter written in java, runs python code anywhere java runs.

Basically, you can do pretty much anything with python.
"Such is the vastness of his genius that he can outwit even himself!" - Iskaral Pust, High Priest of High House Shadow
DrGingertron
Profile Joined December 2010
United States11 Posts
February 04 2012 06:23 GMT
#22
I am doing exactly what the op decided to do. I was in college for 2 years studying to become a programmer. I have a very specific way of learning and I felt like college was holding me back. So i decided this past semester to drop out and sort of figure things out. For fun I go to thenewboston.com and learn different kinds of programming languages to see which I perfer more.
Ive been meeting with local programmers and network admins to see what goes on in their worlds. Its been a lot of fun so far, but am quickly going broke(had no job in college and cant find one now). So as of now, I am getting certified in a few IT areas to become... you guessed it an IT pro. Good luck to you and finding what language u want to learn!
Live today die tomorrow
churbro
Profile Blog Joined January 2012
New Zealand55 Posts
Last Edited: 2012-02-04 06:58:34
February 04 2012 06:57 GMT
#23
Start with Java or C#

Both are the standard OO programming languages these days. Once you know either you pretty much know JavaScript (and other languages, vb.net, python, and even c++) and programming in general will become far more simple.

P.S Don't start with JavaScript, that would be a terrible idea.
TossFloss *
Profile Blog Joined February 2010
Canada606 Posts
February 04 2012 07:25 GMT
#24
First figure out what you want to create then figure out which languages are best suited for the job.
TL Android App Open Source http://www.teamliquid.net/forum/viewmessage.php?topic_id=265090
teamamerica
Profile Blog Joined July 2010
United States958 Posts
February 04 2012 08:07 GMT
#25
Had some long post but never mind - comes down to what TossFloss says. Why are you trying to learn programming? Pick a language that let's you do some project you're interested in, it's way more fun then just picking up a textbook and learning something.

Java has a really really REALLY easy to use API and lots of tutorials and let's you get into Android.
C# also has ease of use like Java, I've never used, but let's you do asp.net (web), games (XNA), and windows programming.
Python - good for web? Idk what standalone apps you make in python and just doing random textbook assignments is pretty boring imo.
Objective C- let's you do iPhone stuff? Always cool to make apps. Need a mac though, as was previously mentioned.
C++ - honestly idk what you'd do in that (not as in there's nothing, I just don't know)
Web stuff - let's you get deliverables out pretty fast, maybe try learning ruby on rails? Seems pretty fun.
RIP GOMTV. RIP PROLEAGUE.
heishe
Profile Blog Joined June 2009
Germany2284 Posts
February 04 2012 08:19 GMT
#26
If you want to start with C++, you're going to need one of the two mainstream compilers (the MSVC compiler or GCC) and an IDE to use it with.

The MSVC compiler is the one that ships with the Visual Studio software, and GCC is actually a compiler collection for all kinds of languages, and it usually ships with all major and even minor distributions of linux.

Then you need an IDE to use it with. There are tons of IDEs out there, so for ease of use I suggest you simply take Visual Studio (the express version is free and, for C++, can be found here.

You just install it, start it, create a new empty C++ project and you're good to go.

In terms of resources to learn from: I suggest you simply google "C++ tutorial" and get to know the basics.

Most online-tutorials teach total and utter crap when it comes to style and details for C++, but that doesn't matter for you now. What matters is that you get to know and use the languages in its most basic form. You can learn about actual good programming later on.

You could also look for some beginners books, but I can't give any advice on that.
If you value your soul, never look into the eye of a horse. Your soul will forever be lost in the void of the horse.
Vilonis
Profile Joined October 2010
United States130 Posts
February 04 2012 16:20 GMT
#27
On February 04 2012 17:07 teamamerica wrote:
Had some long post but never mind - comes down to what TossFloss says. Why are you trying to learn programming? Pick a language that let's you do some project you're interested in, it's way more fun then just picking up a textbook and learning something.

Java has a really really REALLY easy to use API and lots of tutorials and let's you get into Android.
C# also has ease of use like Java, I've never used, but let's you do asp.net (web), games (XNA), and windows programming.
Python - good for web? Idk what standalone apps you make in python and just doing random textbook assignments is pretty boring imo.
Objective C- let's you do iPhone stuff? Always cool to make apps. Need a mac though, as was previously mentioned.
C++ - honestly idk what you'd do in that (not as in there's nothing, I just don't know)
Web stuff - let's you get deliverables out pretty fast, maybe try learning ruby on rails? Seems pretty fun.


For an actual website...
https://www.djangoproject.com/

As far as apps, I don't know if you saw the thread but someone made a web app that ranked pro gamers by attractiveness, the same way girls were ranked in The Social Network (and the same way players are ranked in SCII ladder).

Python is the third most popular language on github, and there are 238 projects that use django hosted. It is a pretty popular way to do web programming.
"Such is the vastness of his genius that he can outwit even himself!" - Iskaral Pust, High Priest of High House Shadow
billy5000
Profile Blog Joined December 2010
United States865 Posts
February 04 2012 21:32 GMT
#28
First year of cs major here. We're learning java and it seems like a good foundation. I've tried to learn python before, but to me it was so simple that it just felt strange, especially the structure of the program. The best part of it is that we're using probably one of the better books than most colleges use: http://introcs.cs.princeton.edu/java/home/. I was in your boat a year back, and I pretty much got similar results: learn either python, java, or c#. Personally, I wouldn't go with python since java and (I'm guessing) c# are fairly easy to begin with.
Tiger got to hunt, bird got to fly; Man got to sit and wonder, 'Why, why, why?' Tiger got to sleep, bird got to land; Man got to tell himself he understand. Vonnegut
emperorchampion
Profile Blog Joined December 2008
Canada9496 Posts
February 04 2012 22:13 GMT
#29
Fortran all the things!
TRUEESPORTS || your days as a respected member of team liquid are over
luxx
Profile Blog Joined July 2010
United States140 Posts
February 04 2012 23:58 GMT
#30
My recommendation is to just get on a project and start building. As long as it is object oriented and you give yourself enough time to learn, you will be able to build some cool stuff, get an awesome job, or at least find out where you want to go next. I personally prefer ruby for its elegant syntax, active community, and a little thing called rails. Don’t get too hung up on the language choices - if you are comfortable using C++ as a starting point, go for it. The fundamentals you learn will be applicable to other languages.

Every application is made up of simple primitives that can be reasoned about, so it is very important to start with something simple enough to be successful at and to build confidence on. For some people that means creating a server of some sort, or a library to read data out of a file, or writing a method to print 1,000 numbers from the Fibonacci sequence, or simply assigning a variable and printing the result. It does not really matter how trivial it may seem, or how worthless you may feel compared to others, just drop down to the smallest unit of code that you can fully understand and control. Start there and inch forward, understanding what is occurring at each step of the way.

It is easy to get stuck early on, so building a network of people who can support you is very important. You can find people on forums, irc, and other places like github, just do as much as you can to get in contact with smart people. Joining an existing project or volunteering is a great way to meet people. My project’s and many others put a big focus on learning and connecting people with mentors. Code reviews are also very helpful.

I would start online once you know what language you are working with. There are a lot of getting started guides, tutorials, screen casts, and the overall quality of online documentation is constantly improving. It is an awesome time to be a developer so have fun with it
Lead Developer Z33K.com
CecilSunkure
Profile Blog Joined May 2010
United States2829 Posts
Last Edited: 2012-02-05 00:14:20
February 05 2012 00:13 GMT
#31
On February 04 2012 15:10 Vilonis wrote:
Learn Python.

Oh man I cannot stress this enough! I program in C and C++ because I'm in school to become a professional programmer for a company like MS, but as hobby programming Python is by far the most fun. The syntax is extremely clean and readable, and there's a lot of documentation and support out there. There's even PyGame, I've spent many hours writing games in PyGame back in highschool!

If you want to be a professional software developer for real-time applications, ground yourself in C, then switch to C++. That's the most solid way according to professionals I talk to. If you want to program more as a hobby and perhaps someday as a profession, Python is perfect.

So you need to let us know what you want to actually program!
ShadowWolf
Profile Joined March 2010
United States197 Posts
February 05 2012 02:48 GMT
#32
At the end of the day, if you're going to be a professional it's almost irrelevant on which language you learn. Being a professional is about having the skills and capability to write maintainable, relevant, and effective code in a reasonable amount of time and adapt to your environment. Starting off learning language X vs. Y will make certain things easier to pick up on, but, in my experience and the people I've seen, there's almost no correlation between the top developers and the bad ones. Not to mention that languages and platforms move, so you'll probably need to have the skills necessary to learn at least 1 more language in your lifetime (probably more!).

Good programmers understand the environment and problem they're solving and solve it in a way that's both effective and maintainable. I've seen "whiz-kids" at work produce some garbage code that does awesome things. Subsequently I've spent all weekend refactoring and rewriting it because it was, again, garbage.

In the end, focus less on the language you learn and more on learning how to be a good programmer.
micronesia
Profile Blog Joined July 2006
United States24645 Posts
February 05 2012 05:03 GMT
#33
Well to give an update a lot of you (as well as people I spoke to online) were pushing python, and given my reputation from broodwar as the king of python, I went with it.

I've gone through a little over half of this for a warmup: http://learnpythonthehardway.org/book/

I'll attach a little program I wrote before dinner for fun:

def factorial(base):
if base > 1:
return base*factorial(base-1)
else:
return 1

xmin = 1
xmax = 10
xvar = []
f_of_x = []

xvar=range(xmin,xmax+1)

print "\nf(x)=x!\n\n",\
"The Domain is:", xvar, "\n"

f_of_x = [factorial(x) for x in xvar]

print "The Range is:", f_of_x, "\n"
raw_input("Press Enter to Exit")

There were a couple of parts that I spent 2-3 lines on. A couple of people on IRC gave me some suggestions and I condensed it to take advantage of some of the advantages of python over C++, apparently.
ModeratorThere are animal crackers for people and there are people crackers for animals.
Prev 1 2 All
Please log in or register to reply.
Live Events Refresh
BSL: GosuLeague
19:15
Quarter Finals
Hejek vs Herbmon
Semih vs Kyrie
cavapoo vs TousaN
ZZZero.O94
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
UpATreeSC 185
JuggernautJason25
StarCraft: Brood War
Britney 9258
Sea 1332
Dewaltoss 177
ZZZero.O 94
Aegong 72
Dota 2
Pyrionflax175
Counter-Strike
tarik_tv23496
fl0m6686
olofmeister3480
rGuardiaN124
Super Smash Bros
PPMD114
Heroes of the Storm
Grubby3063
Liquid`Hasu568
Khaldor147
Other Games
summit1g1766
FrodaN974
Beastyqt690
ceh9551
ZombieGrub70
Mew2King61
QueenE55
Trikslyr46
Organizations
Dota 2
PGL Dota 2 - Main Stream2372
Other Games
BasetradeTV125
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• davetesta38
• Reevou 5
• IndyKCrew
• sooper7s
• Migwel
• AfreecaTV YouTube
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• FirePhoenix5
• Michael_bg 4
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22122
League of Legends
• TFBlade1640
• Shiphtur450
Other Games
• imaqtpie1344
• Scarra671
• WagamamaTV175
Upcoming Events
PiGosaur Monday
3h 14m
GSL Code S
12h 44m
Rogue vs GuMiho
Maru vs Solar
Online Event
1d 3h
Replay Cast
1d 5h
GSL Code S
1d 12h
herO vs Zoun
Classic vs Bunny
The PondCast
1d 13h
Replay Cast
2 days
WardiTV Invitational
2 days
OSC
2 days
Korean StarCraft League
3 days
[ Show More ]
SOOP
3 days
CranKy Ducklings
3 days
WardiTV Invitational
3 days
Cheesadelphia
3 days
CSO Cup
3 days
GSL Code S
4 days
Sparkling Tuna Cup
4 days
Replay Cast
5 days
Wardi Open
5 days
Replay Cast
6 days
Replay Cast
6 days
RSL Revival
6 days
Cure vs Percival
ByuN vs Spirit
Liquipedia Results

Completed

CSL Season 17: Qualifier 2
BGE Stara Zagora 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL 17: 2025 SUMMER
2025 GSL S2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Murky Cup #2
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.