• 0 Posts
  • 38 Comments
Joined 5 months ago
cake
Cake day: December 27th, 2024

help-circle









  • It’s never OK in my experience.

    If its debug logs, call the logger instead of print, like Log.debug() or something. If its part of a test, it shouldn’t be in the code itself. And it’s not a feature either as you said. Neither logs nor test or feature: remove it.

    It may also bite you in the ass one day if the output is stored or tested or filtered and someone wonders who added that unspecified stuff. We never print anything raw like that at my job, and if I saw this I would wonder who is printing random crap and I would remove that because its “useless for the application.”



  • You may or may not be joking, but jujutsu is the first true git alternative that I’m actively trying on small projects at work. The command-line is great, and I can still interact with other devs without breaking stuff.

    Buuuuuuuut if you’re a CS student, don’t bother, it’s weird and you should focus on git which is used everywhere. You can get free GUI clients like Sublime Merge or SmartGit to ease the pain. I’ve been hating git since the beginning, but it’s the least worst SCM right now. Learn the command-line, but I have never done that since it’s infuriating, and that’s why I’ve been using GUIs since, holy shit, Wikipedia says 2005.