Thread: Letting go of 'old ways'

  1. #16
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    I see this all too often:
    Code:
    typedef int Some_Three_Possible_Value_Type
    Last edited by BMJ; 10-09-2002 at 03:42 PM.

  2. #17
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    on a slightly related topic, i think it's much better to waste space than processor cycles. there's no real rhyme or reason to my thinking... it's just like instinct.

  3. #18
    Lead Moderator kermi3's Avatar
    Join Date
    Aug 1998
    Posts
    2,595
    I have deleted your attachment BMJ, it's not good for a PG-13, sorry. Questions Pm me etc.
    Kermi3

    If you're new to the boards, welcome and reading this will help you get started.
    Information on code tags may be found here

    - Sandlot is the highest form of sport.

  4. #19
    Damnit! I missed a potentially offensive/funny(?) picture. I hate this PG-13 stuff. PM it over!

    >>on a slightly related topic, i think it's much better to waste space than processor cycles.

    Yup. You've got to balance based on many factors but I prefer speed over space. I'm not likely to start allocating massive sized lookup tables up to wallamazoo for a couple of cycles though.

    >>So for little stuff, it doesnt matter, but for a large major project, optimizing can be everything.

    Oh, I'm well aware of when its a waste. Its just a matter of convincing myself that I can sleep tonight when theres maybe patches of division that could become bitshifting somewhere in my code. I'm trying to get better though! Honest!
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. any smarter ways to design this tree structure
    By George2 in forum C++ Programming
    Replies: 5
    Last Post: 04-19-2008, 07:34 AM
  2. Best ways to learn
    By MartijnG in forum C++ Programming
    Replies: 15
    Last Post: 08-29-2006, 10:51 AM
  3. Letting a program run as a task ( background )
    By GanglyLamb in forum C# Programming
    Replies: 5
    Last Post: 12-01-2005, 08:52 AM
  4. Three ways to get creation date of a file?!
    By maxhavoc in forum Windows Programming
    Replies: 1
    Last Post: 01-08-2005, 02:16 PM
  5. Ways to Write IF Statements...
    By mbolthouse in forum C++ Programming
    Replies: 2
    Last Post: 10-18-2001, 06:37 PM