Search:

Type: Posts; User: CommonTater

Search: Search took 0.03 seconds.

  1. Replies
    19
    Views
    13,753

    Plus it's a real bad idea to bring a defensive...

    Plus it's a real bad idea to bring a defensive attitude into a forum like this one.

    Amongst programmers (and computer geeks of all kinds) there is a fairly long standing tradition of directness....
  2. Replies
    19
    Views
    13,753

    True enough... you have every right to be an...

    True enough... you have every right to be an idiot.
  3. Replies
    19
    Views
    13,753

    It was a suggestion from one person with an...

    It was a suggestion from one person with an unusual coding style to another... I write functions like this...


    int function (int param)
    { if (param < 0)
    { param = abs(param) }
    ...
  4. Replies
    19
    Views
    13,753

    Yep, nothing is stopping you from writing...

    Yep, nothing is stopping you from writing terrible code that nobody can follow.

    But don't count on earning a paycheck with it...
  5. Replies
    19
    Views
    13,753

    Yep... especially when instead of... if...

    Yep... especially when instead of...


    if (!(*t))
    goto endl;

    ret = 0;

    endl:
    return ret;
  6. Replies
    19
    Views
    13,753

    Goto is NOT an answer... it's a resignation. ...

    Goto is NOT an answer... it's a resignation. Something you use as an absolute last resort before giving up on the project.

    Your NewTarget function would probably work a lot better like this...
    ...
Results 1 to 6 of 7