Thread: Initialize struct in function

  1. #16
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by lordkrandel View Post
    Because I had a problem (that I solved myself in 3 minutes) and I didn't ask you to teach me the truth about gotos or inline functions, or teamworking, or code-style-marketing. That was just something you wanted to do.

    If your job vitally depends on variable definition being on one single line instead of two, I'd really change my job if I were you.
    My job does depend on fulfilling requests in a functional way and I'm not gonna be fired tomorrow, so I guess all this arguing is kinda futile.

    I know perfectly how to write an if and a normal error handling "hey guys something is wrong let's quit it" but if I _don't_ want to use it I guess it's none of your business.
    True enough... you have every right to be an idiot.

  2. #17
    Registered User
    Join Date
    Mar 2011
    Posts
    7
    Quote Originally Posted by CommonTater View Post
    So yes... I actually am telling you --from personal experience-- that anything that makes your code harder to follow is going to seriously degrade the level of support you will get in these forums... and in the real world where a paycheck depends on stuff just that trivial.
    Questioning professional quality of a "forum newbie"' who just asked a question about two lines of code, just because of seemingly unreasonable coding style choices isn't really what I expected from a professional C board. I would have expected it from a WoW community. (EDIT: insults included.)

    So, if my paycheck depends on this kind of people, I will probably get a new job in a few days. Fortunately, It's not that case.
    Last edited by lordkrandel; 04-16-2011 at 06:56 PM.

  3. #18
    Registered User
    Join Date
    Mar 2011
    Posts
    278
    I guess lk needs to learn a little something about online help forum dynamics - especially a programming help forum.

    If someone shows up and his VERY FIRST POST indicates a lack of good practice or style, regardless of the actual question posed, he's going to get a lot of heat. The forum regulars have NO idea how well versed the person may be - there are literally dozens of "newbie" questions each day (and most not even using CODE tags) so that it gets very frustrating to have to dig through poor indentation/whitespace in order to get to the actual problem.

    Many times a bad style thwarts the would-be helper in his tracks. How rude is that (lack of) style then?

  4. #19
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    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. We speak to one another in unabashedly direct terms... "This is wrong', "that's not good", "you need to work on that". Because of the sheer volume of extraneous verbosity political correctness would induce into every exchange, we simply discard it from the outset and speak plainly. Of course it's not intended to be offensive and if one can't operate in a cosmology of constructive criticism without becoming defensive it should be obvious the computer subculture is not for them.

  5. #20
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Thread closed as its turned into a muck-throwing contest.

    @lordkrandel: You will always get people picking you up on things you probably don't care about. Unfortunately its kind of unavoidable on programming boards.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 05-13-2011, 08:28 AM
  2. Help me please.
    By yann in forum C Programming
    Replies: 15
    Last Post: 09-29-2009, 09:04 PM
  3. In over my head
    By Shelnutt2 in forum C Programming
    Replies: 1
    Last Post: 07-08-2008, 06:54 PM
  4. Replies: 10
    Last Post: 05-18-2006, 11:23 PM
  5. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM

Tags for this Thread