How to Write Unmaintainable Code
Results 1 to 7 of 7

Thread: How to Write Unmaintainable Code

  1. #1
    Senior Member
    Join Date
    Mar 2009
    Posts
    812

    How to Write Unmaintainable Code

    Need some job security tips? Here you go.

    Enjoy!
    Declare variables, not war.

  2. #2
    Senior Member traq's Avatar
    Join Date
    Jun 2011
    Location
    so.Cal
    Posts
    949
    If a maintenance programmer can't quote entire Monty Python movies from memory, he or she has no business being a programmer.
    ...

  3. #3
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    7,723
    Since global variables are "evil", define a structure to hold all the things you'd put in globals. Call it something clever like EverythingYoullEverNeed.
    I think I have that class!

    also have a member function, and variable called "New"


    Were either of you guys around when we invented "Broken Source"?
    Last edited by dalecosp; 12-14-2012 at 12:48 AM.
    /!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade! /!!!\ ereg() is deprecated --- don't use it!

    dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  4. #4
    Senior Member traq's Avatar
    Join Date
    Jun 2011
    Location
    so.Cal
    Posts
    949
    Quote Originally Posted by dalecosp View Post


    Were either of you guys around when we invented "Broken Source"?
    nope. looks pleasant though.


    (BTW, "red convertible"??? I hope, by that, you mean red convertible jeep.)

  5. #5
    Senior Member
    Join Date
    Mar 2009
    Posts
    812
    Quote Originally Posted by traq View Post
    ...
    Haha yeah I love that line, too.
    Declare variables, not war.

  6. #6
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    7,723
    Quote Originally Posted by traq View Post
    (BTW, "red convertible"??? I hope, by that, you mean red convertible jeep.)
    While I like the sentiment, it's not; cheap nearly-20 yo Mercury Capri. But at least I got the XR2. And so far, I like it well enough; just got a 5th gear swap. Looks kinda like the VAF adapter for a non-stock air filter is next. Wish I could afford a manual boost controller; I probably could afford the part, but I leave the majority of my mechanic work to the pros, and the wife's minivan is next in line for that budget cash....
    /!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade! /!!!\ ereg() is deprecated --- don't use it!

    dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  7. #7
    Senior Member traq's Avatar
    Join Date
    Jun 2011
    Location
    so.Cal
    Posts
    949
    yeah, I had to sell my wrangler a few years back.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •