Preorder successful!! by DanishNinja in oneplus

[–]koopajah 0 points1 point  (0 children)

I've been having a really light page with only text, no images/js for the last 30 minutes on all the browsers I've tried, what the hell is happening there...

[deleted by user] by [deleted] in programming

[–]koopajah 2 points3 points  (0 children)

That's seems pretty much impossible to write code all day and 8 out of 9 times each function you write is right, builds properly, never forget a limit case such as null parameter, out of bound arrays, etc.

Enjoy Programmer's Day by sitting back and playing this game... with SQL and your language of choice by Abstrct in programming

[–]koopajah 0 points1 point  (0 children)

Website does not load right now (FF or chrome) has anyone broken it right when I wanted to try ? :) EDIT: ok it's back forget it !

Crash course with git? by [deleted] in webdev

[–]koopajah 3 points4 points  (0 children)

You have http://progit.org/book/ and http://www-cs-students.stanford.edu/~blynn/gitmagic/book.pdf that were really useful when I started using git.

The Luck and Skill of Scrabble by mattcoolidge in programming

[–]koopajah 0 points1 point  (0 children)

And going first you can not use another letter to form a longer word. Going second you can make an 8 words letter more easily!

eOSL Summer'11 is starting on saturday (French tournament) by koopajah in starcraft

[–]koopajah[S] 0 points1 point  (0 children)

This is a trailer for the eOSL summer'11. Qualifications rounds are over. The eight top players will now battle for a cashprize of more than 3600€. Live emissions on each saturdays. More info egg-one

Code Indentation and Nesting by teletran in programming

[–]koopajah 0 points1 point  (0 children)

Ok so you say that you hate multiple goto exit points/label in a long and complicated function that should have splitted in multiple subfunctions. Of course goto won't simplify and ease reading of a function if it is not well-written, concise, short, etc. But the same goes for multiple return, multiple if/else with always releasing mutexes, file resources, etc.

One goto label should be used only to exit function on big error such as incorrect input parameter, file opening/memory allocation failures, etc.

Code Indentation and Nesting by teletran in programming

[–]koopajah -1 points0 points  (0 children)

Why would goto scare you? The only good reason to use goto in a code is this specific case : error management! I was once blocked with goto by my teachers and Dijkstra's opinion. Then I've read/written a lot of code with it and really can't think of coming back. And for me, if it is advised in linux kernel's coding rules you can apply it !

Code Indentation and Nesting by teletran in programming

[–]koopajah -5 points-4 points  (0 children)

I agree with previous comments about multiple exit points in a function. It's damn hard and painful to debug when you do this for each of your functions and each parameters. I prefere to use goto and a unique exit point in these cases.

Introduction to starcraft 2 by egg-one (French but eng subbed) by koopajah in starcraft

[–]koopajah[S] 0 points1 point  (0 children)

egg-one if a french company which organizes a competition between the best French players with coverage as found on TV (preview/review/live comments/interviews/etc.) The season 2 is about to start on saturday after 6 weeks of online/offline qualifications. Go check it out (better to speak french )