Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Lines of Code
#16
Minimizing lines is good in only a couple of ways, for me:

Code: (Select All)
Dim As Long a: a = 5

You don't need two lines for that. The above crudely emulates how other languages allow you to assign a value during the definition.


Code: (Select All)
If thing = 1 Then DoThing()

Rather than:
Code: (Select All)
If thing = 1 Then
DoThing()
End If
The noticing will continue
Reply


Messages In This Thread
[split] Lines of Code - by bplus - 01-20-2025, 05:13 PM
RE: [split] Lines of Code - by bplus - 01-20-2025, 11:05 PM
RE: [split] Lines of Code - by SpriggsySpriggs - Yesterday, 03:02 AM
RE: [split] Lines of Code - by Pete - Yesterday, 07:34 AM
RE: [split] Lines of Code - by mdijkens - Yesterday, 10:07 AM
RE: [split] Lines of Code - by SMcNeill - Yesterday, 02:37 PM
RE: [split] Lines of Code - by mdijkens - Yesterday, 03:04 PM
RE: [split] Lines of Code - by SpriggsySpriggs - Yesterday, 03:17 PM
RE: [split] Lines of Code - by Pete - Yesterday, 04:26 PM



Users browsing this thread: 4 Guest(s)