Questione di graffe…

Voi come lo scrivete il codice? Fino ad ora ho sempre usato una sintassi di questo tipo:
function pippo()
{
// Codice
}
Mentre adesso sto riscoprendo il K&R formatting style…
function pippo() {
// Codice
}
Tanto per sapere… Voi cosa preferite? E quale invece secondo voi è la migliore in termine di leggibilità?

52 Commenti
,

Le 21 leggi della programmazione

Program complexity grows until it exceeds the capabilities of the programmer who must maintain it.
Le altre 20 qui.

Nessun Commento

In effetti il dubbio rimane sempre

If there’s one thing worse than a program that doesn’t work when it should, it’s a program that does work when it shouldn’t.
Bob Archer

1 Commento

Ancora sul debug

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Brian W. Kernighan (uno che tutti più o meno conosciamo, vero?)

1 Commento
,

Real programmers

Real programmers don’t write specs. Users should consider themselves lucky to get any programs at all and take what they get.
Real programmers programs never work right the first time. But if you throw them on the machine they can be patched into working in only a few 30-hours debugging sessions.
More…

Nessun Commento
,



Chiudi
Invia e-mail