HackerTrans
TopNewTrendsCommentsPastAskShowJobs

al05

no profile record

comments

al05
·3 ปีที่แล้ว·discuss
Functions have never been about simply being called different places.

So you entire premise is wrong.
al05
·3 ปีที่แล้ว·discuss
I still prefer the one the right. I'm able to skip entire sections of code, and assume what the function does. Only if I require details do I go deeper.

The comments are metadata, and where function names are tied into the code. One is going to stay up to date. The other isn't.