Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Lines of Code
#11
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
Reply
#12
Yep, go to China Town and ask for Who.... because Who gives a shit!

Oh and Steve. The only way you get a Volkswagen Bug up to 200 is to blow it the **** up. It's fun to watch, and you also get credit for performing a valuable public service.

Pete Big Grin

- Deport Now. Ask Me How!
Reply
#13
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
Reply




Users browsing this thread: 5 Guest(s)