- Joined
- Mar 28, 2023
- Messages
- 1
- Reaction score
- 1
Instead of indenting as follows
func(....) {
…
for (...) {
…
if (...) {
break;
}
…
}
…
}
we may want to indent as follows
func(....) {
…
for (...) {
…
if (...) {
break;
}
…
}
…
}
This second way makes software control flow obvious. Please see more details in https://medium.com/@meetpranav/dont...he-software-control-flow-obvious-572042c49dd9 proposes an
func(....) {
…
for (...) {
…
if (...) {
break;
}
…
}
…
}
we may want to indent as follows
func(....) {
…
for (...) {
…
if (...) {
break;
}
…
}
…
}
This second way makes software control flow obvious. Please see more details in https://medium.com/@meetpranav/dont...he-software-control-flow-obvious-572042c49dd9 proposes an