My hero.
New to the site? Create an account →
tcr!
· Nov 8, 2013 at 3:02 pm
Keep your distance and you won’t get hurt.
Keep your distance and you won’t get loved.
tcr!
· Nov 5, 2013 at 8:30 am
Goddamn truth always setting me free. What the fuck?
tcr!
· Oct 28, 2013 at 5:36 pm
Why is it that when I’m tired, feelings from years gone by come raging to the surface. Feelings that I had no idea existed are there eagerly awaiting to be felt regardless if they’re good or bad.
tcr!
· Oct 24, 2013 at 2:10 pm
This is mesmerizing and soothing all in one.
tcr!
· Oct 24, 2013 at 10:10 am
This kind of code drives me nuts…
if (!($log->HasDownloaded())) {
// do stuff
} else {
// do other stuff
}
Just take out the extra characters to make it more legible at first glance and flip the conditional code…
if ($log->HasDownloaded()) {
// do other stuff
} else {
// do stuff
}
This is even better, no question what’s happening or when…
if ($log->has_downloaded() === TRUE)
{
// do other stuff
}
else
{
// do stuff
}
Yes, somebody else will skim your code in the future.
← Newer Older → Page 547 of 622 Page 1 ← Page 11 ← Page 21 ← Page 31 ← Page 41 ← Page 51 ← Page 61 ← Page 71 ← Page 81 ← Page 91 ← Page 101 ← Page 111 ← Page 121 ← Page 131 ← Page 141 ← Page 151 ← Page 161 ← Page 171 ← Page 181 ← Page 191 ← Page 201 ← Page 211 ← Page 221 ← Page 231 ← Page 241 ← Page 251 ← Page 261 ← Page 271 ← Page 281 ← Page 291 ← Page 301 ← Page 311 ← Page 321 ← Page 331 ← Page 341 ← Page 351 ← Page 361 ← Page 371 ← Page 381 ← Page 391 ← Page 401 ← Page 411 ← Page 421 ← Page 431 ← Page 441 ← Page 451 ← Page 461 ← Page 471 ← Page 481 ← Page 491 ← Page 501 ← Page 511 ← Page 521 ← Page 531 ← Page 541 Page 551 → Page 561 → Page 571 → Page 581 → Page 591 → Page 601 → Page 611 → Page 621 → Page 622
Add a comment
Post