• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:13
CEST 00:13
KST 07:13
  • 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
[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Weekly Cups (June 30 - July 6): Classic Doubles2[BSL20] Non-Korean Championship 4x BSL + 4x China9Flash Announces Hiatus From ASL66Weekly Cups (June 23-29): Reynor in world title form?14FEL Cracov 2025 (July 27) - $8000 live event22
StarCraft 2
General
The GOAT ranking of GOAT rankings The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? Weekly Cups (June 30 - July 6): Classic Doubles Program: SC2 / XSplit / OBS Scene Switcher
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays Korean Starcraft League Week 77
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ ASL20 Preliminary Maps [ASL19] Finals Recap: Standing Tall SC uni coach streams logging into betting site Flash Announces Hiatus From ASL
Tourneys
[BSL20] Non-Korean Championship 4x BSL + 4x China [BSL20] Grand Finals - Sunday 20:00 CET CSL Xiamen International Invitational The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
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
Russo-Ukrainian War Thread US Politics Mega-thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2024! Summer Games Done Quick 2025!
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 644 users

The Big Programming Thread - Page 277

Forum Index > General Forum
Post a Reply
Prev 1 275 276 277 278 279 1031 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
March 22 2013 21:55 GMT
#5521
On March 23 2013 06:13 Holy_AT wrote:
Show nested quote +
On March 23 2013 06:11 heishe wrote:
On March 23 2013 06:09 Recognizable wrote:
Man. I just had a very weird experienced. I'm new to programming and I was doing this exercise on Euler and as I got stuck I sat back and looked at my code. Then it hit me. My variable names actually have meaning as in, they have meaning in the English language. When I program they lose all the meaning they had beforehand, the variable names will have become a number or a string. I can have a variable named: "Hello" and during my programming my brain doesn't register its meaning as "Hello" because it has become something entirely different. Made me question meaning, my life and everything for a moment. Then I got mad because my code wouldn't work.


Just wait until you learn a functional language.


I'd skip them and start directly with OO


Big mistake.

Functional languages (not to be confused with procedural languages) can teach you a lot and can change the way you program even in OO languages.
Ilintar
Profile Joined October 2002
Poland794 Posts
March 22 2013 22:10 GMT
#5522
On March 23 2013 06:55 Morfildur wrote:
Big mistake.

Functional languages (not to be confused with procedural languages) can teach you a lot and can change the way you program even in OO languages.


Yes, but functional languages rely on pretty difficult logical principles that not everyone needs to understand in order to do decent OO programming.

I mean, I wrote my MSc's coding part in Ocaml, but it's not like I'd force every programmer to learn Haskell before Java. Probably only a very narrow subset of programmers actually need to learn functional programming.
Former webmaster @ WGTour.com / BWLauncher developer
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
March 22 2013 22:10 GMT
#5523
That is not a mistake, it's okay.

He will learn right from the bat to think how to solve problems with OO, and that's a good thing. Learning new paradigms is important though, it will give you different ways to think how to solve a specific problem.

But yea, learning functional languages (or at least get in touch with them) is very important. (Scheme syntax (is a (pain in the ass)) though)
"When the geyser died, a probe came out" - SirJolt
Ilintar
Profile Joined October 2002
Poland794 Posts
March 22 2013 22:22 GMT
#5524
On March 23 2013 07:10 fabiano wrote:
That is not a mistake, it's okay.

He will learn right from the bat to think how to solve problems with OO, and that's a good thing. Learning new paradigms is important though, it will give you different ways to think how to solve a specific problem.

But yea, learning functional languages (or at least get in touch with them) is very important. (Scheme syntax (is a (pain in the ass)) though)


This reminds me of a running joke back in my programming fundamentals course (we had an experimental course teaching us fundamentals in Scheme, the other group had C), goes something like this:

+ Show Spoiler +
A hacker manages to break into the Pentagon and modify the page to display a big lambda. The FBI are unable to catch him, but stumble onto one of his mailboxes, so they decide to play nice and ask him to disclose the exploit. The hacker says that he cannot do that, but he can send them the last 500 characters of the exploit code, written in Scheme. The FBI agrees, then he sends them the code...

... 500 closing parentheses.


(obviously one of those jokes that's only funny if you've been doing nothing but programming in Scheme for the past year)
Former webmaster @ WGTour.com / BWLauncher developer
RoyGBiv_13
Profile Blog Joined August 2010
United States1275 Posts
March 22 2013 22:30 GMT
#5525
You'll be learning basic logic structures for a while before you even understand what styles and organizational paradigms mean beyond buzzwords being argued over all over the intertubes. Hell, if you want to, create your own paradigm better than the alternatives!

This comment generated by an AbstractWindowFactorySingletonFactorySingletonCommentFactory.
Any sufficiently advanced technology is indistinguishable from magic
Athos
Profile Blog Joined February 2008
United States2484 Posts
Last Edited: 2013-03-23 18:13:58
March 23 2013 00:44 GMT
#5526
On March 23 2013 07:22 Ilintar wrote:
Show nested quote +
On March 23 2013 07:10 fabiano wrote:
That is not a mistake, it's okay.

He will learn right from the bat to think how to solve problems with OO, and that's a good thing. Learning new paradigms is important though, it will give you different ways to think how to solve a specific problem.

But yea, learning functional languages (or at least get in touch with them) is very important. (Scheme syntax (is a (pain in the ass)) though)


This reminds me of a running joke back in my programming fundamentals course (we had an experimental course teaching us fundamentals in Scheme, the other group had C), goes something like this:

+ Show Spoiler +
A hacker manages to break into the Pentagon and modify the page to display a big lambda. The FBI are unable to catch him, but stumble onto one of his mailboxes, so they decide to play nice and ask him to disclose the exploit. The hacker says that he cannot do that, but he can send them the last 500 characters of the exploit code, written in Scheme. The FBI agrees, then he sends them the code...

... 500 closing parentheses.


(obviously one of those jokes that's only funny if you've been doing nothing but programming in Scheme for the past year)


This is a great joke. I'm learning scheme from SICP now and it really does change the way you think about programming. Definitely shouldn't be an intro level class though.
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
March 23 2013 19:08 GMT
#5527
On March 23 2013 06:09 Recognizable wrote:
Man. I just had a very weird experienced. I'm new to programming and I was doing this exercise on Euler and as I got stuck I sat back and looked at my code. Then it hit me. My variable names actually have meaning as in, they have meaning in the English language. When I program they lose all the meaning they had beforehand, the variable names will have become a number or a string. I can have a variable named: "Hello" and during my programming my brain doesn't register its meaning as "Hello" because it has become something entirely different. Made me question meaning, my life and everything for a moment. Then I got mad because my code wouldn't work.

Project Euler really experienced this explosion in popularity recently.
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
Frigo
Profile Joined August 2009
Hungary1023 Posts
March 24 2013 00:24 GMT
#5528
On March 23 2013 06:09 Recognizable wrote:
Man. I just had a very weird experienced. I'm new to programming and I was doing this exercise on Euler and as I got stuck I sat back and looked at my code. Then it hit me. My variable names actually have meaning as in, they have meaning in the English language. When I program they lose all the meaning they had beforehand, the variable names will have become a number or a string. I can have a variable named: "Hello" and during my programming my brain doesn't register its meaning as "Hello" because it has become something entirely different. Made me question meaning, my life and everything for a moment. Then I got mad because my code wouldn't work.


Be sure to name your variables and functions in a way that reflects their meaning

Also get familiar with the concept of unit testing and Test Driven Development, Clean Code is an excellent starting point, it changes everyone's perspective on programming.
http://www.fimfiction.net/user/Treasure_Chest
Moxi
Profile Blog Joined December 2010
708 Posts
March 24 2013 23:41 GMT
#5529
Hey Teamliquid users. I must ask, I want to learn before I go to sleep than just listen to music. Is there a way to listen to some kind of programming person who explains how different things work. Like how to create a database of members and how to make it secure? Would be very nice!
phar
Profile Joined August 2011
United States1080 Posts
March 25 2013 00:41 GMT
#5530
you could probably find lectures online. There's a large swath of online courses with free lectures (coursera, khan academy, etc... and also straight from Unis - MIT, stanford, etc).
Who after all is today speaking about the destruction of the Armenians?
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
March 25 2013 00:44 GMT
#5531
On March 25 2013 08:41 Moxi wrote:
Hey Teamliquid users. I must ask, I want to learn before I go to sleep than just listen to music. Is there a way to listen to some kind of programming person who explains how different things work. Like how to create a database of members and how to make it secure? Would be very nice!

If it were me I'd just google both topics.
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
Fyodor
Profile Blog Joined September 2010
Canada971 Posts
March 25 2013 01:10 GMT
#5532
On March 25 2013 08:41 Moxi wrote:
Hey Teamliquid users. I must ask, I want to learn before I go to sleep than just listen to music. Is there a way to listen to some kind of programming person who explains how different things work. Like how to create a database of members and how to make it secure? Would be very nice!

Programming stuff is hard to follow without visual aids.

otherwise there's database lectures on coursera. best bet I think.
llllllllllllllllllllllllllllllllllllllllllll
kollin
Profile Blog Joined March 2011
United Kingdom8380 Posts
March 28 2013 13:17 GMT
#5533
I'm pretty new to programming, and I'm currently in the process of learning C through the use of various online guides. I was wondering, is there any resource out there that has a good collection of challenges so I can make sure I understand each concept I learn before I move on?
DertoQq
Profile Joined October 2010
France906 Posts
March 28 2013 13:21 GMT
#5534
On March 28 2013 22:17 kollin wrote:
I'm pretty new to programming, and I'm currently in the process of learning C through the use of various online guides. I was wondering, is there any resource out there that has a good collection of challenges so I can make sure I understand each concept I learn before I move on?


My advice would be to start doing a "big" but simple project, and everytime you learn something new you can find a way to use it in your project.
"i've made some empty promises in my life, but hands down that was the most generous" - Michael Scott
Abominous
Profile Joined March 2013
Croatia1625 Posts
Last Edited: 2013-03-28 13:48:06
March 28 2013 13:45 GMT
#5535
Anyone studying Machine Learning and Data Mining in Aalto university or have some feedback? I'm looking to going there for my Masters in 2 years time. On my second year or bachelor studies, computer science.

Taking many courses on coursera and hoping to have 90%+ on most of them, which might help my CV and up my first year grades which were terrible, but now that second year has come, with more programming related subjects, I upped the ante.
(Judge yourself if the phrase was correctly used )

Anyways, thanks in advance.

EDIT: Any info on abroad Masters in the field of Computer science is relevant. I'm totally clueless as to the whole applying, evaluation, housing and was hoping to learn it by asking around and taking things one step at a time...
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2013-03-28 17:27:41
March 28 2013 17:27 GMT
#5536
By code convention, the correct try-catch should look like:


try {
statements;
} catch (ExceptionClass e) {
statements
}


However, I think this is more readable:


try {
statements;
}
catch (ExceptionClass e) {
statements
}


Sure, they may want to emphasise that catch is "part of" try{}, but it looks better if it's on a new line imho. Comments?

Source: http://www.oracle.com/technetwork/java/codeconventions-150003.pdf (7.9)
tofucake
Profile Blog Joined October 2009
Hyrule19031 Posts
March 28 2013 17:37 GMT
#5537
The first way is proper

The way you prefer is the root of all evil
Liquipediaasante sana squash banana
ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2013-03-28 17:43:53
March 28 2013 17:43 GMT
#5538
On March 29 2013 02:37 tofucake wrote:
The first way is proper

The way you prefer is the root of all evil

Indeed. Plus, it looks ugly :D
zeru
Profile Blog Joined September 2010
8156 Posts
March 28 2013 17:45 GMT
#5539
--- Nuked ---
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
March 28 2013 17:53 GMT
#5540
On March 29 2013 02:37 tofucake wrote:
The first way is proper

The way you prefer is the root of all evil


Erm, what's so evil? You're just trying to copy a popular phrase.
Prev 1 275 276 277 278 279 1031 Next
Please log in or register to reply.
Live Events Refresh
Next event in 1h 47m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 728
ProTech67
ROOTCatZ 56
Livibee 53
JuggernautJason32
UpATreeSC 1
StarCraft: Brood War
Artosis 240
Rock 24
MaD[AoV]14
Stormgate
Nathanias73
Dota 2
NeuroSwarm51
League of Legends
Grubby4548
Counter-Strike
Fnx 2254
taco 746
Stewie2K688
flusha402
sgares146
Super Smash Bros
PPMD146
Mew2King84
Heroes of the Storm
Liquid`Hasu569
Other Games
summit1g7854
tarik_tv2375
fl0m700
mouzStarbuck293
ZombieGrub59
Maynarde17
Organizations
Other Games
gamesdonequick49954
BasetradeTV29
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 22 non-featured ]
StarCraft 2
• kabyraGe 268
• musti20045 36
• davetesta33
• IndyKCrew
• sooper7s
• Migwel
• AfreecaTV YouTube
• LaughNgamezSOOP
• intothetv
• Kozan
StarCraft: Brood War
• 80smullet 31
• Eskiya23 20
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Stormgate
• mYiSmile10
Dota 2
• masondota2985
League of Legends
• Jankos2288
• TFBlade1022
Other Games
• imaqtpie1968
• Shiphtur533
• WagamamaTV222
Upcoming Events
Replay Cast
1h 47m
Sparkling Tuna Cup
11h 47m
WardiTV European League
17h 47m
MaNa vs sebesdes
Mixu vs Fjant
ByuN vs HeRoMaRinE
ShoWTimE vs goblin
Gerald vs Babymarine
Krystianer vs YoungYakov
PiGosaur Monday
1d 1h
The PondCast
1d 11h
WardiTV European League
1d 13h
Jumy vs NightPhoenix
Percival vs Nicoract
ArT vs HiGhDrA
MaxPax vs Harstem
Scarlett vs Shameless
SKillous vs uThermal
uThermal 2v2 Circuit
1d 17h
Replay Cast
2 days
RSL Revival
2 days
ByuN vs SHIN
Clem vs Reynor
Replay Cast
3 days
[ Show More ]
RSL Revival
3 days
Classic vs Cure
FEL
3 days
RSL Revival
4 days
FEL
4 days
FEL
4 days
CSO Cup
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
Sparkling Tuna Cup
5 days
RSL Revival
5 days
FEL
5 days
BSL20 Non-Korean Champi…
5 days
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Liquipedia Results

Completed

BSL Season 20
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
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

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
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...

Disclosure: This page contains affiliate marketing links that support TLnet.

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.