simardcasanova’s avatarsimardcasanova’s Twitter Archive—№ 17,976

  1. Note to my future self: If you need to write extra code for a close deadline, DON’T write it on the main files Duplicate them and iterate from the copies Otherwise, you will seriously mess up your main files
    1. …in reply to @simardcasanova
      if (deadline == "very soon") { copy_files() work_on_copies() } else { work_on_main_files() } if ((deadline == "very soon”) AND (!work_on_copies()) { regret_that_later() }
      1. …in reply to @simardcasanova
        I always try to document my code, and usually it’s enough for future reference But when you’re on a tight schedule you have others things to do that documenting every step And a couple of weeks/months later, you have no idea what your code is supposed to do…