Journal Journal: Setting the VS.NET DEBUG conditional compilation constant
To change the DEBUG constant (for #IF DEBUG THEN" conditional compilation statements):
To change the DEBUG constant (for #IF DEBUG THEN" conditional compilation statements):
encouraged practices that made programs hard to read, like omitting comments and whitespace.
I think that is a bit unfair. Given the limited memory of the C64, best programming practice was to omit comments in favour of code. Remember, C64 BASIC was interpreted, not compiled, so comments chewed up memory... memory measured in KILObytes. Comments (actually, they were called REMarks back then) were a luxury.
I was a bit young to do any serious programming on the C64, but I do remember my father rewriting a line of code to save two BYTES of code. If you didn't use up all the single letter variables before using double letter variables, or you added spaces between commands, you were simply doing it wrong.
Now we have gigabytes of RAM and terabytes of hard disk space yet computer programs don't run any faster than they used to (if anything, slower!). I think modern programmers could do worse than writing a few programs for the C64 to expose them to resource-scarce programming.
Private mblnUpdating As Boolean
Private Sub CheckedListBox1_ItemCheck(ByVal sender As Object, ByVal e As System.Windows.Forms.ItemCheckEventArgs) Handles CheckedListBox1.ItemCheck
Dim clb As CheckedListBox = CType(sender, CheckedListBox)
If e.CurrentValue = CheckState.Unchecked Then
At last, W.E.C. Meadows' renowned translation of this classic text on game design, written some time during the fifth century BC in China, is available on the 'net.
"The one charm of marriage is that it makes a life of deception a neccessity." - Oscar Wilde