Can Software Developers Meet the Need?

Originalmente publicado en Ken Schwaber's Blog: Telling It Like It Is:

Marc Andreessen provided some insights into the importance of software and the software profession’s ability to meet the need at “ Why Software Is Eating The World” , http://goo.gl/ob2Cvx

Scrum facilitates control through frequent, regular inspection and adaptation of transparent software functionality. Transparency means the software is ready. It can either be immediately deployed or built upon without regression. It has no technical debt. Transparency mandates modern engineering practices and tools, and application of enlightened value-driven management.

I’ve found that most software developers do not have these skills. For example, the concept of building code from requirements and specifications that are then used as tests is incomprehensible to many.

Our  shortcomings were surprising to me. When I rolled out Scrum, I thought that the excellent developers that had been stifled by waterfall processes would emerge, and we would again do great work and build great software. Much to my surprise…

Ver original 287 palabras más

My naming conventions are exactly the @ReSharper defaults except for one thing…

… those  ugly underscores in private members! 

No more “_name” or “_isAvailable”. It feels horrible. Why do we have automatic tools, IntelliSense and ReSharper itself? We can immediately interpret the scope of any variable with having to look at the name. In fact, if you follow the Clean Code rules, you will hardly have 3 parameters. And ultimately, you have the “this” keyword, that is there for something.

I stopped using the as soon I realized my methods where short that I didn’t need to distinguish my members with any prefix.

Do you think the same? I would like to hear your opinion. Do you use underscores to prefix private members? :)

Aberratio-Code: De lo peorcito que he visto en mi vida

Atentos al fragmento, porque no tiene desperdicio.

  /*Dado que los flags son un int, almacenamos en un array en binario los flags*/
        private void _convertIntToArray(int number)
        {
            string binary = Convert.ToString(number, 2);
            int cont = binary.Length - 1;
            for (int i = 3; i >= 0; i--)
            {
                try
                {
                    sflags[i] = binary[cont];
                }
                catch (Exception)
                {
                    sflags[i] = '0';
                }
                cont--;
            }
        }

Aberración

WPF : Geometry mini-language

Súper JMN:

Interesting!

Originalmente publicado en Lamentations of one programmer:

It is really cool feature of WPF. Instead of typing lots of tags to describe visual elements in your GUI, you can just fill out the property Data of path element with special textual value. I like the way it is designed, because it gives somewhat old-school crypted form. The benefit is that it is short and very straightforward. Take a look!

Consider the following XAML code:

<Path Stroke=”Black”>
    <Path.Data>
        <PathGeometry>
            <PathFigure IsClosed=”true” StartPoint=”10,100″>
                <LineSegment Point=”100,100″ />
                <LineSegment Point=”100,50″ />
            </PathFigure>
        </PathGeometry>
    </Path.Data>
</Data>

And now, take a look on condensed “mini language” form:

<Path Stroke=”Blue” Data=”M 10 100 L 100 100 L 100 50 Z” />

Pretty cool, ha?

These are the commands for the Geometry Mini-Language:

F value - Sets the Geometry.FillRule property. Use  for EvenOdd, or 1 for NonZero. This command must appear at the beginning of the string (if you…

Ver original 277 palabras más