• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 12:35
CET 18:35
KST 02:35
  • 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
ByuL: The Forgotten Master of ZvT28Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Weekly Cups (Feb 16-22): MaxPax doubles0Weekly Cups (Feb 9-15): herO doubles up2ACS replaced by "ASL Season Open" - Starts 21/0258LiuLi Cup: 2025 Grand Finals (Feb 10-16)46Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2
StarCraft 2
General
How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Terran AddOns placement Nexon's StarCraft game could be FPS, led by UMS maker ByuL: The Forgotten Master of ZvT Oliveira Would Have Returned If EWC Continued
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) SEL Doubles (SC Evo Bimonthly) WardiTV Team League Season 10 RSL Season 4 announced for March-April The Dave Testa Open #11
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
Mutation # 514 Ulnar New Year The PondCast: SC2 News & Results Mutation # 513 Attrition Warfare Mutation # 512 Overclocked
Brood War
General
TvZ is the most complete match up BGH Auto Balance -> http://bghmmr.eu/ Telegram @nuglink Buy THC Vape,Weed in Ho Chi Minh Telegram @nuglink Buy THC Vape,Weed in Hanoi Soma Explains: JD's Unrelenting Aggro vs FlaSh
Tourneys
[LIVE] [S:21] ASL Season Open Day 1 ASL Season 21 Qualifiers March 7-8 [Megathread] Daily Proleagues Small VOD Thread 2.0
Strategy
Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Simple Questions, Simple Answers Zealot bombing is no longer popular?
Other Games
General Games
Battle Aces/David Kim RTS Megathread Nintendo Switch Thread Path of Exile Beyond All Reason New broswer game : STG-World
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine UK Politics Mega-thread YouTube Thread Mexico's Drug War
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
YOUTUBE VIDEO
XenOsky
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Inside the Communication of …
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1694 users

The Big Programming Thread - Page 695

Forum Index > General Forum
Post a Reply
Prev 1 693 694 695 696 697 1032 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.
RoyGBiv_13
Profile Blog Joined August 2010
United States1275 Posts
Last Edited: 2015-12-17 23:52:51
December 17 2015 23:50 GMT
#13881
On December 18 2015 05:54 netherh wrote:
I finally got a proper job as a C++ programmer a few weeks ago. Does anyone have any tips for learning and understanding large code-bases? I don't really want to keep having to ask other people how things work in the code base, but that often seems to be the quickest way.

I've also been experiencing the frustration of other people's bad code. I'd want to re-write certain things (and I have to change bits of it anyway), but it's just so hard to change anything without breaking other stuff that shouldn't even be relevant. It seems like the best (least painful and least time-consuming) choices I can make just isolate and remove my own code as much as possible from what's already there. Which doesn't really seem right. Maybe I'm just being too anal about things.

I suspect the only solution is to make damn sure that people only commit clean code to start with. Which I guess means having strict standards and conventions, and code reviews.


Learn how to use a debugger. Don't mindlessly read pages of code and guess variable meaning. Use breakpoints to figure out the exact value of variables at certain stages in execution. A sufficiently trained programmer using a debugger can modify or fix code in any size code base without knowing 90% of it.

Also, never shy away from asking how something works. Ten out of ten times, you'll find out that the class or function actually solves a completely different problem than you were even thinking about when you read it.


Any sufficiently advanced technology is indistinguishable from magic
RoyGBiv_13
Profile Blog Joined August 2010
United States1275 Posts
Last Edited: 2015-12-17 23:52:17
December 17 2015 23:52 GMT
#13882
double posted >_<
Any sufficiently advanced technology is indistinguishable from magic
Cyx.
Profile Joined November 2010
Canada806 Posts
December 18 2015 00:38 GMT
#13883
On December 17 2015 18:26 Cynry wrote:
Yeah well we're far from 'just tidying up' anything here. From the respone I got here, it seems that everyone thinks I'm some kind of psycho-rigid refactoring maniac. And it might very well be true, but that's not what's happening now.

Fair enough I wasn't even responding to you necessarily, just sharing a life lesson that was particularly difficult for me to learn
Manit0u
Profile Blog Joined August 2004
Poland17674 Posts
December 18 2015 10:15 GMT
#13884
On December 18 2015 01:52 Cynry wrote:
Want a job Manitou ? :D


You offering? I'm currently debating a change in my work environment with new year coming up and all
Time is precious. Waste it wisely.
Cynry
Profile Blog Joined August 2010
810 Posts
December 18 2015 15:59 GMT
#13885
Meh, it's Meteor, so javascript is all over our database, and even (hold on tight) our security. Not sure how you'd like it :D
Seriously though, it's an awesome project, but we're not quite ready to hire yet. At the rate it is going so far and if we don't crowdfund anything, it could take a while...
Manit0u
Profile Blog Joined August 2004
Poland17674 Posts
December 18 2015 17:47 GMT
#13886
No worries. Got plenty of offers on hand Currently trying to ascertain if working on interpreter optimization is something I'd like to pursue. The thing is that I don't have enough info to judge it yet since all I know is that this "interpreter" is changing "something" into some SQL procedures or something like that... Guess it's written in C/C++ too.

In other news, my boss has just assigned a new project to me, which means that I'm now officially working on 6 different projects at the same time. Core functionality in 3 of them and major bugfixing in 3 other. FML
Time is precious. Waste it wisely.
pEcul!Ar
Profile Joined December 2015
52 Posts
December 20 2015 21:32 GMT
#13887
What's the best approach according to you guys to learn C/C#/C++/Java on your own? Or any language really.

Reason I'm asking this is because after working my ass off for a couple of years I decided to go back studying, either application development (+AI (or functional programming) & game development) or just game development (which limits my options on the market obviously), and I still have more than 6 months to learn things on my own and I just want to learn as much as possible in terms of programming before the time arrives where I can call myself a student once again.
You look at people and you see puzzles. I see games. You? You're a game I'll win everytime.
Manit0u
Profile Blog Joined August 2004
Poland17674 Posts
Last Edited: 2015-12-20 21:58:36
December 20 2015 21:56 GMT
#13888
I suggest you work on your basics. That's what you'll be using most of the time and strong fundamentals are always good (especially that they often translate well into other languages).

You can always go here -> http://www.chiark.greenend.org.uk/~sgtatham/puzzles/ pick a puzzle and try to do it all on your own in your language of choice. Then pick another, so on and so forth. This way you'll develop really good core skills for some typical problem solving. You don't really need to make a working puzzle (that would be great). Just figuring out stuff like how to build the initial board, how to check for solution etc. should give you plenty to work with (try implementing an algorithm that creates big minesweeper board with mines and clues for example).
Time is precious. Waste it wisely.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
December 20 2015 21:56 GMT
#13889
On December 21 2015 06:32 pEcul!Ar wrote:
What's the best approach according to you guys to learn C/C#/C++/Java on your own? Or any language really.

Reason I'm asking this is because after working my ass off for a couple of years I decided to go back studying, either application development (+AI (or functional programming) & game development) or just game development (which limits my options on the market obviously), and I still have more than 6 months to learn things on my own and I just want to learn as much as possible in terms of programming before the time arrives where I can call myself a student once again.

Lots of practice (doesn't matter a whole lot what you code, just code something) and good books. Don't rely on internet tutorials, lots of bad advice in there. Use google/stackoverflow to find solutions to specific problems. Don't try to go straight for stuff like AI or game development. You'll need the fundamentals down first.
If you have a good reason to disagree with the above, please tell me. Thank you.
pEcul!Ar
Profile Joined December 2015
52 Posts
Last Edited: 2015-12-20 22:10:52
December 20 2015 22:08 GMT
#13890
On December 21 2015 06:56 spinesheath wrote:
Show nested quote +
On December 21 2015 06:32 pEcul!Ar wrote:
What's the best approach according to you guys to learn C/C#/C++/Java on your own? Or any language really.

Reason I'm asking this is because after working my ass off for a couple of years I decided to go back studying, either application development (+AI (or functional programming) & game development) or just game development (which limits my options on the market obviously), and I still have more than 6 months to learn things on my own and I just want to learn as much as possible in terms of programming before the time arrives where I can call myself a student once again.

Lots of practice (doesn't matter a whole lot what you code, just code something) and good books. Don't rely on internet tutorials, lots of bad advice in there. Use google/stackoverflow to find solutions to specific problems. Don't try to go straight for stuff like AI or game development. You'll need the fundamentals down first.


Thx for the fast reply.

Well, at college obviously they get the basics down first, but I feel like it's only going to benefit me if I can already start learning right now. AI & game development are optional things (can pick 2 out of a list of.. 8 things: Artificial Intelligence/ Big data/ Functional programming/ Game development/ Internet of things/ User experience/ Robotics/ Unified Communication) <- that's if I'd go to the college where I can go for application development.

The other college has a department purely focused on game development with 4 ways you can choose from (3D Production & VFX - Game Graphics Production - Game Development - Independent Game Production) - http://www.digitalartsandentertainment.be/page/14/Course overview
You look at people and you see puzzles. I see games. You? You're a game I'll win everytime.
Cyx.
Profile Joined November 2010
Canada806 Posts
December 20 2015 22:14 GMT
#13891
On December 21 2015 06:56 spinesheath wrote:
Lots of practice (doesn't matter a whole lot what you code, just code something) and good books. Don't rely on internet tutorials, lots of bad advice in there. Use google/stackoverflow to find solutions to specific problems. Don't try to go straight for stuff like AI or game development. You'll need the fundamentals down first.

I kind of disagree with 'don't try to go straight for stuff like AI or game development'. I mean, yes, it's important to know what a loop is, and how to open a file - but once you've done those things once, I have a hard time seeing the value in 'practicing' coding. My first project that taught me anything at all was a little ASCII-graphics game engine, and it was only worth anything to me because I really wanted that damn thing to work and make an actual playable level out of it. I never learned anything that stuck from messing around on Project Euler on and off for a couple months, or from online tutorials. But your mileage may vary - that's just what worked for me
Faust852
Profile Joined February 2012
Luxembourg4004 Posts
December 20 2015 22:22 GMT
#13892
On December 21 2015 07:08 pEcul!Ar wrote:
Show nested quote +
On December 21 2015 06:56 spinesheath wrote:
On December 21 2015 06:32 pEcul!Ar wrote:
What's the best approach according to you guys to learn C/C#/C++/Java on your own? Or any language really.

Reason I'm asking this is because after working my ass off for a couple of years I decided to go back studying, either application development (+AI (or functional programming) & game development) or just game development (which limits my options on the market obviously), and I still have more than 6 months to learn things on my own and I just want to learn as much as possible in terms of programming before the time arrives where I can call myself a student once again.

Lots of practice (doesn't matter a whole lot what you code, just code something) and good books. Don't rely on internet tutorials, lots of bad advice in there. Use google/stackoverflow to find solutions to specific problems. Don't try to go straight for stuff like AI or game development. You'll need the fundamentals down first.


Thx for the fast reply.

Well, at college obviously they get the basics down first, but I feel like it's only going to benefit me if I can already start learning right now. AI & game development are optional things (can pick 2 out of a list of.. 8 things: Artificial Intelligence/ Big data/ Functional programming/ Game development/ Internet of things/ User experience/ Robotics/ Unified Communication) <- that's if I'd go to the college where I can go for application development.

The other college has a department purely focused on game development with 4 ways you can choose from (3D Production & VFX - Game Graphics Production - Game Development - Independent Game Production) - http://www.digitalartsandentertainment.be/page/14/Course overview


You could do an online course, like Khan Academy or freecodecamp(Web dev mainly).
Harvard offer a free course too in computer science.
Michigan too with python.


Manit0u
Profile Blog Joined August 2004
Poland17674 Posts
December 20 2015 22:31 GMT
#13893
For Python you can just buy the Black Hat Python book and learn actual practical stuff right off the bat (and cool stuff too). This book teaches you how to write your own netstat programs, trojans etc. (by chapter 3 you're already building programs that crack passwords on web pages written in joomla, bypassing CSRF protection). Nifty way to learn if you ask me.
Time is precious. Waste it wisely.
phar
Profile Joined August 2011
United States1080 Posts
December 21 2015 02:35 GMT
#13894
On December 21 2015 07:08 pEcul!Ar wrote:

The other college has a department purely focused on game development with 4 ways you can choose from (3D Production & VFX - Game Graphics Production - Game Development - Independent Game Production) - http://www.digitalartsandentertainment.be/page/14/Course overview

I strongly urge you to not go to a school that focuses purely on game development. On average in the game industry as a programmer, compared to virtually any other industry as a programmer, you will:

  • earn less
  • work longer hours
  • have significantly
  • burn out faster (see above)


The exception being some parts of the finance industry. In that case as a game developer you will just earn like 3-4x less, but have potentially better hours. Game programming has a problem, in that too many people want to do it.

That said, if it is truly your passion, have at it. Just bear in mind the above.
Who after all is today speaking about the destruction of the Armenians?
pEcul!Ar
Profile Joined December 2015
52 Posts
Last Edited: 2015-12-21 07:59:52
December 21 2015 07:27 GMT
#13895
On December 21 2015 11:35 phar wrote:
Show nested quote +
On December 21 2015 07:08 pEcul!Ar wrote:

The other college has a department purely focused on game development with 4 ways you can choose from (3D Production & VFX - Game Graphics Production - Game Development - Independent Game Production) - http://www.digitalartsandentertainment.be/page/14/Course overview

I strongly urge you to not go to a school that focuses purely on game development. On average in the game industry as a programmer, compared to virtually any other industry as a programmer, you will:

  • earn less
  • work longer hours
  • have significantly
  • burn out faster (see above)


The exception being some parts of the finance industry. In that case as a game developer you will just earn like 3-4x less, but have potentially better hours. Game programming has a problem, in that too many people want to do it.

That said, if it is truly your passion, have at it. Just bear in mind the above.


Yeah, I'm aware of the current problems/issues with the gaming industry, which is why I'm opting to go for app dev and taking game dev as one of the optional choices along the way. Another option is software dev (and 2 courses you can choose from the list I mentioned).
You look at people and you see puzzles. I see games. You? You're a game I'll win everytime.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
Last Edited: 2015-12-21 08:31:01
December 21 2015 08:30 GMT
#13896
On December 21 2015 07:14 Cyx. wrote:
Show nested quote +
On December 21 2015 06:56 spinesheath wrote:
Lots of practice (doesn't matter a whole lot what you code, just code something) and good books. Don't rely on internet tutorials, lots of bad advice in there. Use google/stackoverflow to find solutions to specific problems. Don't try to go straight for stuff like AI or game development. You'll need the fundamentals down first.

I kind of disagree with 'don't try to go straight for stuff like AI or game development'. I mean, yes, it's important to know what a loop is, and how to open a file - but once you've done those things once, I have a hard time seeing the value in 'practicing' coding. My first project that taught me anything at all was a little ASCII-graphics game engine, and it was only worth anything to me because I really wanted that damn thing to work and make an actual playable level out of it. I never learned anything that stuck from messing around on Project Euler on and off for a couple months, or from online tutorials. But your mileage may vary - that's just what worked for me

Those are not what I mean by fundamentals. You can learn you basic language constructs in a couple of days, and you can google how to open a file in a couple of seconds. You have to become competent at writing clean(-ish) code, cleaning up existing code, refactoring, designing interfaces, properly encapsulating information, separating concerns, applying abstract algorithms... All of these mostly come with practice, critically reviewing and refactoring code you wrote a month ago, and regularly reading books and articles (and code) written by good programmers.
If you have a good reason to disagree with the above, please tell me. Thank you.
Manit0u
Profile Blog Joined August 2004
Poland17674 Posts
December 21 2015 18:03 GMT
#13897
Look what awesome gem I've found today!

protected $protected = false;
Time is precious. Waste it wisely.
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
December 21 2015 18:29 GMT
#13898
Do you guys read books for problem solving/logical thinking in programming? Or do you rely on experience?
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
December 21 2015 19:55 GMT
#13899
On December 22 2015 03:29 darkness wrote:
Do you guys read books for problem solving/logical thinking in programming? Or do you rely on experience?

Mostly experiance, I geuss that failing often enough gives a you a good indication as to what works and what doesn't.
The harder it becomes, the more you should focus on the basics.
Acrofales
Profile Joined August 2010
Spain18224 Posts
December 21 2015 20:18 GMT
#13900
On December 22 2015 03:03 Manit0u wrote:
Look what awesome gem I've found today!

protected $protected = false;

As if anybody needs reminding that php sucks.
Prev 1 693 694 695 696 697 1032 Next
Please log in or register to reply.
Live Events Refresh
PSISTORM Gaming Misc
16:55
FSL s10 TeamLeague: ASH vs PTB
Freeedom25
Liquipedia
SC Evo Complete
13:30
SEL Doubles #1
SteadfastSC384
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 384
ProTech139
Vindicta 52
JuggernautJason42
gerald23 39
MindelVK 39
StarCraft: Brood War
Britney 29537
Sea 3053
Rain 1728
BeSt 253
Dewaltoss 120
Hyun 71
Aegong 49
IntoTheRainbow 24
JYJ 18
Dota 2
Gorgc4605
qojqva1560
Counter-Strike
fl0m1583
Super Smash Bros
hungrybox271
Heroes of the Storm
Khaldor692
Liquid`Hasu324
Other Games
gofns26758
tarik_tv11920
B2W.Neo761
Beastyqt497
crisheroes236
ToD181
QueenE113
KnowMe112
Liquid`VortiX100
Trikslyr55
Mew2King50
Organizations
StarCraft 2
WardiTV1307
Counter-Strike
PGL343
Other Games
BasetradeTV127
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Airneanach19
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2716
• Shiphtur279
Upcoming Events
DaveTesta Events
40m
AI Arena Tournament
2h 25m
Replay Cast
6h 25m
PiG Sty Festival
15h 25m
Clem vs Serral
Maru vs ShoWTimE
Sparkling Tuna Cup
16h 25m
uThermal 2v2 Circuit
21h 25m
Replay Cast
1d 15h
Wardi Open
1d 18h
Monday Night Weeklies
1d 23h
Replay Cast
2 days
[ Show More ]
Replay Cast
3 days
Replay Cast
4 days
The PondCast
4 days
KCM Race Survival
4 days
Replay Cast
5 days
Replay Cast
6 days
CranKy Ducklings
6 days
Liquipedia Results

Completed

Proleague 2026-02-26
LiuLi Cup: 2025 Grand Finals
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Acropolis #4 - TS5
Jeongseon Sooper Cup
Spring Cup 2026
[S:21] ASL SEASON OPEN 2nd Round
[S:21] ASL SEASON OPEN 2nd Round Qualifier
WardiTV Winter 2026
PiG Sty Festival 7.0
Nations Cup 2026
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025

Upcoming

ASL Season 21: Qualifier #1
ASL Season 21: Qualifier #2
ASL Season 21
Acropolis #4 - TS6
Acropolis #4
IPSL Spring 2026
CSLAN 4
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
NationLESS Cup
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
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 © 2026 TLnet. All Rights Reserved.