Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 The dumbest programming thing you ever did before you knew better?
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
wtd




PostPosted: Sat Dec 18, 2021 10:19 pm   Post subject: The dumbest programming thing you ever did before you knew better?

So, thinking back, before you knew you shouldn't, what's the dumbest thing you ever did while programming?

I'm going to say trying to maintain parallel arrays rather than simply having an array of aggregate data structures. So much time wasted.
Sponsor
Sponsor
Sponsor
sponsor
scholarlytutor




PostPosted: Sat Dec 25, 2021 12:37 pm   Post subject: RE:The dumbest programming thing you ever did before you knew better?

As a child, my brother taught me a tiny amount of Turing and I was fascinated by it. I started making a program and wanted to cover the whole screen with 40x40 pixel boxes using the 16 colours available in the v16 screen mode in DOS (which is 640x480). So I drew 192 boxes to the screen using 192 lines of code. Not my brightest moment. But I was definitely determined!
wtd




PostPosted: Sat Dec 25, 2021 10:25 pm   Post subject: RE:The dumbest programming thing you ever did before you knew better?

Who needs loops when you can copy and paste?!
scholarlytutor




PostPosted: Sun Dec 26, 2021 7:23 am   Post subject: RE:The dumbest programming thing you ever did before you knew better?

Exactly! And aggregate data structures are definitely overrated.
wtd




PostPosted: Mon Dec 27, 2021 3:19 pm   Post subject: RE:The dumbest programming thing you ever did before you knew better?

And always put all functionality directly into main (or its equivalent). Definitely do not break things down with functions/modules/etc.
scholarlytutor




PostPosted: Mon Dec 27, 2021 4:16 pm   Post subject: RE:The dumbest programming thing you ever did before you knew better?

100 Ways to Write Rubbish Code ?
wtd




PostPosted: Tue Dec 28, 2021 9:48 pm   Post subject: RE:The dumbest programming thing you ever did before you knew better?

We all do stupid things before we know better. Remembering that is good to keep things in perspective. Then you realize what you're doing right now is probably stupid and you'll only realize it later
.
scholarlytutor




PostPosted: Tue Dec 28, 2021 10:14 pm   Post subject: RE:The dumbest programming thing you ever did before you knew better?

Truth.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: