Profile cover photo
Profile photo
Daniel Daranas
About
Posts

Post has attachment
#13. Organize your code in classes
The minimal unit of code is a statement . The minimal unit of code which can be tested and reused is a function . Functions are rarely practical all by themselves; they are usually organized in modules which offer a set of operations which make as a whole. ...

Post has attachment
#12. Always keep correctness in mind. Never leave it behind.
Bertrand Meyer starts the first chapter of his book Object Oriented Software Construction, 2nd Edition [Meyer 1997] with the following sentence: Engineering seeks quality; software engineering is the production of quality software. He goes on to analyze the...

Post has attachment
Don't use syntactic overloading and your life will be happier!

Post has attachment
#11. Don't use syntactic overloading
Syntactic overloading is a C++ feature which allows a class to have several functions with the same name, but with different parameters. To say "Don't use syntactic overloading" is the same as to say "Don't give the same name to different functions". class ...

Post has attachment
#10 Choosing the right loop structure
Loops are an important part of functions in any structured programming language. The code in a function has one of the following three structures: a sequence of actions , which are performed in the order you write them; an alternative , in which the action ...

Post has attachment
Cerro del Tío Pio
Corría el mes de septiembre de 2007 cuando llegué por primera vez al Cerro del Tío Pío. Llevaba unos días visitando Madrid sin horarios ni rumbo fijo. Despertaba en una vieja pensión de Bellas Vistas, desayunaba en un bar de la calle Bravo Murillo y después...
Cerro del Tío Pio
Cerro del Tío Pio
surcalatierra.blogspot.com

Post has attachment
Fotografiant somnis
Caminava pel centre de la ciutat i volia comprar una barra de pa. Al forn més proper ja no en quedava, i vaig baixar fins a una gran plaça on hi havia diferents parades. En una d’elles vaig demanar una barra de pa, però la dependenta no m’entenia bé. “Pa! P...
Fotografiant somnis
Fotografiant somnis
horitzons.blogspot.com

Post has attachment
El amanecer
Yai me llama para que vea el amanecer. Al otro lado del ventanal el sol acaba de alzarse por encima de la línea de edificios más lejana y lo cubre una pequeña nube, cuyo contorno los rayos solares rebasan como no queriendo romperla. Pienso en tomar una foto...

Post has attachment
"La sociedad del espectáculo" (Guy Debord, 1967)
"La société du spectacle", Guy Debord, Éditions Buchet-Cassel, París (França), 1967. Edició en espanyol: "La sociedad del espectáculo", Ediciones La Marca, Buenos Aires (Argentina), 1995. El passat dia 30 de novembre va fer 20 anys de la mort de Guy Debord....

Post has attachment
Prefer not to use multiple return statements. The tenth recommendation on my C++ blog!
Wait while more posts are being loaded