moodymudskipper / flow

View and Browse Code Using Flow Diagrams
https://moodymudskipper.github.io/flow/
Other
398 stars 28 forks source link

Should commented code blocks include control flow blocks ? #5

Closed moodymudskipper closed 4 years ago

moodymudskipper commented 4 years ago

After playing a bit, it seems all code is full of ifs and code blocks are never that long, so while labeling them still make sense, collapsing them doesn't seem that useful.

Unless we can also collapse control flow blocks, but how ? maybe :

## will collapse the control flow block if happens just after
if(foo) bar

## will collapse the code below AND the following control flow block thanks to ## comment
baz
##
if(foo) bar

The problem then is that comments are not just comment anymore, but code. At least ## is code. But maybe it's an acceptable compromise.

moodymudskipper commented 4 years ago

me not understand myself, closing

github-actions[bot] commented 2 years ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.