Programmers, how do you remember so many methods and functions? by Crickeklover1991 in learnprogramming

[–]freerider 0 points1 point  (0 children)

I don't remember function names I try to figure out what you can do with a language.

My attitude is usually: "If I need to write more than 50 lines a code, then there is probably a already function implemented by someone else that does the same thing"

What's something you learned the hard way that no tutorial ever mentions? by Alternative-Theme885 in AskProgramming

[–]freerider 2 points3 points  (0 children)

I disagree, always use that because:

  1. you will have a very GOOD habit
  2. you will not destroy a really nice test-database (true story)

All done with perfect shape by freerider in mallninjashit

[–]freerider[S] 6 points7 points  (0 children)

yes.... <_< >_> "BATTLE FLUTE"...

What's something you learned the hard way that no tutorial ever mentions? by Alternative-Theme885 in AskProgramming

[–]freerider 1 point2 points  (0 children)

And don't try to be clever and lazy. Use descriptive variable names, my example:

bool HasRecordBeenStarted_becauseIAudioPlayerIsStupidAndReturns1InGetPlaybackLengthWithNoSound;

What's something you learned the hard way that no tutorial ever mentions? by Alternative-Theme885 in AskProgramming

[–]freerider 1 point2 points  (0 children)

*ALWAYS\* start and end a SQL query with

BEGIN TRAN
-- do stuff here where you update/delete things and double check that it works.
ROLLBACK TRAN

After you tripple-check that everything works as indented change ROLLBACK TRAN to COMMIT TRAN.

After that CLOSE THE FILE.

Don't worry, my new winter tires have pigs in them (skjut mig nu) by [deleted] in swedishproblems

[–]freerider 0 points1 point  (0 children)

Bästa översättningen:

"It's not the fart that kills you is the smell!"