Skip to content

Instantly share code, notes, and snippets.

@tankred
Last active October 13, 2020 10:01
Show Gist options
  • Save tankred/b614d93e94a753bf00f18109d2e3e3ac to your computer and use it in GitHub Desktop.
Save tankred/b614d93e94a753bf00f18109d2e3e3ac to your computer and use it in GitHub Desktop.
comment to remove
I learned from a real master once, when you are working on code that you intend to remove, use a different style of "commenting-out" than the normal style, for example?
In bash:
# existing comment
#? code line to be removed
//? line to be removed starts with comment-syntax +?
<!--? html comment to be removed -->
--? SQL comment to be removed
src https://twitter.com/freebsdfrau/status/1249878348836114432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment