Slashdot Mirror


User: lourensc

lourensc's activity in the archive.

Stories
0
Comments
2
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2

  1. Re:Technically true though on South African Minister Locks Horns With Microsoft · · Score: 1

    Everyone is very very smart and yet they fail to be technological leaders. Hmmmmmmmm. The Peter Principle maybe; In such a huge organization there is a spot for everyone to be incompetent in no matter how smart you are.

  2. Re:Comments on What Workplace Coding Practices Do You Use? · · Score: 3, Insightful

    if (x == 456)
    {
    ...;
    }
    this is bad code and no amount of commenting is going to fix it. It begs 2 questions; What is x and why 465? I would recode it as something like this that makes the purpose clear enough that no comments are needed:

    const int screenWidth = 456;

    if(xCoordinate == screenWidth)
    {
    ...;
    }

    this way I type more code but less comments.