Asuntos Oficiales > La taberna del BIT

 ¿como Sabes Si Eres Un Buen Programador?

<< < (5/5)

x.cyclop:
En un e-book de PHP (Beginning PHP, Apache, MySQL Web Development - John Wiley & Sons) dice estos 3 puntos:
* Consistency: Blocks of well-written code always look the same and have the same indents and
ways of coding, such as syntax shortcuts that use bracket placement and formatting styles consistently
throughout the program. The great thing about PHP is that it really doesn’t care about
tabs or indents, so you are free to create a style all your own, one that works best for you.

In addition, while there may be more than one syntax for accomplishing the same goal, good
coders will be consistent throughout their code with whichever method they choose. For example,
as far as PHP is concerned, the following two snippets of code mean the same thing:

--- Código: Text ---&#60;?php// php code goes here;?&#62; &#60;?// php code goes here;?&#62; 
</li>
* Frequent comments: The more you use comments throughout your code, the better off you will
be. While it’s not so important in smaller, simpler programs, when your programs become more
and more complex, it will be hard for you to remember what you did, where you did it, and
why you did it the way you did.

</li>
* The use of line numbers: Some text editors insert line numbers for you, but others do not. We
discuss text editors later in this chapter, but you should know that it is important to denote line
numbers somehow in your code, if they are not provided for you, because PHP lets you know
when your program generates errors, and it notifies you of the line number in which the error
occurs. If you have to count the lines manually every time you encounter an error, you can
imagine how time consuming and inefficient your debugging will be.</li>¿Están de acuerdo?  :blink:

su -:
El primer punto no, puesto que la sintaxis pude variar, y si vesun JAPH.... no es algo que realmente influya en tus programas siempre y cuando sea organizado (si no lo es, que mal)
El segundo punto se recomienda para codigos largos, para recordar subs y funciones, para recoradr para que sirve sierto pedaso de codigo.
El ultimo punto es algo muy importante, para cuando esta depurando, claro.
Pero esto no es de un buen programador, es de un programador, sea bueno o malo.

robokop:
yo creo que uno de los mas importantes es que un buen programador siempre se actualiza no por haber terminado la universidad debe dejar de estudiar al contrario cada dia hay nuevas tecnologias y si no estas al dia no sirve. :smartass:

Blag:

--- Citar --- yo creo que uno de los mas importantes es que un buen programador siempre se actualiza no por haber terminado la universidad debe dejar de estudiar al contrario cada dia hay nuevas tecnologias y si no estas al dia no sirve.

--- Fin de la cita ---

Totalmente de acuerdo contigo Robokop....Un buen programador nunca termina de estudiar y aprender  :comp:

Saludos,

Blag  :devil:

Navegación

[0] Índice de Mensajes

[*] Página Anterior

Ir a la versión completa