News for hackers. Stuff that matters.
Re:Next-Paradigm Programming Languages: What Will They Look ... by ccozan on Thursday May 02, 2019 @06:55AM (#19806532)
Why not using git, as in every significant code section, which deserves a comment shall be commited and commented freely in the git commit message?

Then what you need is just a git blame(?) to visualize the current code section's comments.

Would this work?

Re:Next-Paradigm Programming Languages: What Will They Look ... by ivanbakel on Thursday May 02, 2019 @07:29AM (#19806736)
That would require a commit to be localised to a block of code, and even atomic commits can be split across multiple files and modules.

Plus, you would end up in a conflict between recording history and recording the present. What happens if you replace a complex method call across a codebase? The comments should explain the call, but the commit message needs to record how the call changed, and why - which you probably don't care about when coding.