Letting go of 'old ways'

This is a discussion on Letting go of 'old ways' within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I see this all too often: Code: typedef int Some_Three_Possible_Value_Type...

  1. #16
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    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 04:42 PM.

  2. #17
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    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
    Peace
    Join Date
    Aug 2001
    Posts
    1,510
    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)

Page 2 of 2 FirstFirst 12
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, 08:34 AM
  2. Best ways to learn
    By MartijnG in forum C++ Programming
    Replies: 15
    Last Post: 08-29-2006, 11: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, 07:37 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21