9 de agosto de 2005

OO y el futuro de la programación

Acabo de encontrar en mis bookmarks un enlace que consideraba perdido, pero que afortunadamente no lo esta: Una entrevista con Victoria Livschitz, una tipa que trabaja para sun y que es campeona de ajedrez de su pais. La entrevista va sobre la programación, sobre nuestra incapacidad para crear grandes programas que no esten plagados de fallos, de como la orientación al objeto ayudó a mejorar las cosas, de como no ha ayudado a arreglar todos los problemas, y todo eso:

[...] However, we seem to have reached the point where OO is no longer effective. No one can comfortably negotiate a system with thousands of classes. So, unfortunately, object-oriented programming has a fundamental flaw, ironically related to its main strength.

In object-oriented systems, "object" is the one and only basic abstraction. The universe always gets reduced to a set of pre-defined object classes, some of which are structural supersets of others. The simplicity of this model is both its blessing and its curse. Einstein once noted that an explanation should be as simple as possible, but no simpler. This is a remarkably subtle point that is often overlooked. Explaining the world through a collection of objects is just too simple! The world is richer than what can be expressed with object-oriented syntax.

1 comentario:

  1. Anónimo1:07 p. m.

    Muchas limitaciones de la OO se pueden solucionar con una programación orientada al aspecto, de tal forma que para añadir grandes funcionalidades no nos tengamos que carga todo.

    miguel
    retratoensepia.com

    ResponderEliminar