Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on [email protected] for help. Thanks :)
Private profiles - please note that profiles marked as private will soon be public. This will facilitate moderation so mods can view users' warning histories. All of your posts across the site will appear on your profile page (including PI, RI). Groups posts will remain private except to users who have access to the same Groups as you. Thread here
Some important site news, please read here. Thanks!

Coding Horror

1303132333436»

Comments

  • Registered Users Posts: 4,313 ✭✭✭ iLikeWaffles
    Registered User


    test



  • Registered Users Posts: 4,313 ✭✭✭ iLikeWaffles
    Registered User


    test
    
    
    test
    


  • Registered Users Posts: 4,313 ✭✭✭ iLikeWaffles
    Registered User


    test



  • Registered Users Posts: 4,313 ✭✭✭ iLikeWaffles
    Registered User


    lol




  • Registered Users Posts: 4,313 ✭✭✭ iLikeWaffles
    Registered User


    tset



  • Advertisement
  • Registered Users Posts: 4,313 ✭✭✭ iLikeWaffles
    Registered User


    feel free to delete no issue in this on this page of the thread with a codeblock. Unless it is the use of multiple codeblocks in a thread?!



  • Registered Users Posts: 6,592 ✭✭✭ the_amazing_raisin
    Registered User


    I was wondering if this thread was becoming the definition of it's title 😁



  • Registered Users Posts: 1,433 ✭✭✭ Anesthetize
    Registered User


    ^ Was that the forum equivalent of adding "Here" print statements while trying to debug your code? 😄



  • Registered Users Posts: 17,115 ✭✭✭✭ Mr. CooL ICE
    Registered User


    DATEADD(day, -6+14, getdate())
    

    Like, it being a parameter in dateadd(), I assume it has to be 6 days before a two week period, but writing this way must have meant something to the developer (long gone) who wrote this. But why not just put in 8 and add a comment? Bizarre



  • Registered Users Posts: 760 ✭✭✭ FobleAsNuck
    Registered User



    >The music files you purchase from the Apple Music Store (AMS; formerly the iTunes Music Store) contain approximately 6 % of the digital equivalent of nothingness. I’m not referring to silence, but continuous blocks of empty space set aside inside the files. It serves no purpose other than to pad the files to make them 0,5 MB larger.



  • Advertisement
  • Registered Users Posts: 17,115 ✭✭✭✭ Mr. CooL ICE
    Registered User


    Again, less a horror and more a jaded previous developer. In this case, a simple RETURN -1 could have sufficed:


    IF TRUE
    	-- Do SQL-ey stuff
    ELSE
    BEGIN
    	PRINT 'today is not the day to do this';
    END;
    


Advertisement