• 0 Posts
  • 10 Comments
Joined 2 years ago
cake
Cake day: August 29th, 2023

help-circle



  • git worktree is just so much easier to work with if you want to work on multiple versions or branches of some code.

    It allows having multiple IDE instances open, all fully functional and indexed, and handing over commits from one worktree to another without having to fetch constantly in between.

    Trying to emulate this with multiple clones feels like trying to do OOP in C – sure one can do it, but it’s pointless hassle compared to a fleshed-out solution that works right out of the box.

    Not to mention it’s so much faster and more efficient than git clone.




  • “apparently it’s a better safer C++, but I’m not going to switch because I can technically do all that stuff in C++”

    The main difference between C++ and D was that (for most of the time in the past) D required a garbage collector.

    So, D was a language with similar Algol-style syntax targeting a completely different niche from C++.

    Trying to correct your quote, it should read something like “I’m not going to switch because I can’t technically do all that stuff in D that I’m doing in C++” for it to make any sense.