Posts: 768
Threads: 35
Joined: Apr 2022
Reputation:
51
9 hours ago
(This post was last modified: 9 hours ago by SpriggsySpriggs.)
I ain't reading everything in this thread but my two cents is that LOC is the Least Of my Concerns. Get the product working and get it working well. Who gives a shit how long the source is.
The noticing will continue
Posts: 147
Threads: 14
Joined: Apr 2022
Reputation:
15
When a bit older, I really want to be able to understand my code from a couple of years ago
Sometimes I intentionally put all statements on separate lines to show all separate steps that are done and give them a bit more 'weight' in the sub or function:
Code: (Select All)
if order% = _TRUE then
Input "What do you want to order? ", food$
Else
Print "Goodbye"
End If
Sometimes I put statements on the same line to show they belong together and do some small housekeeping:
Code: (Select All)
if groupsize% < 10 then groupsize% = groupsize% + 1 Else groups% = groups% + 1: groupsize% = 0
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience