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....
Type: Posts; User: CommonTater
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....
True enough... you have every right to be an idiot.
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) }
...
Yep, nothing is stopping you from writing terrible code that nobody can follow.
But don't count on earning a paycheck with it...
Yep... especially when instead of...
if (!(*t))
goto endl;
ret = 0;
endl:
return ret;
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...
...