3,443 reputation
11019
bio website
location Italy
age 49
visits member for 3 years, 1 month
seen 9 hours ago

Born an living in the suburbs of Milan (Italy), I graduated in 1989 as a Master Electronic Engineer, specializing in information technology an inter-networking systems and plants.

Interested in programming since the early '80s, today working mainly in C++ and D programming languages, in libraries development.


Feb
9
awarded  Great Answer
Feb
9
awarded  Good Answer
Feb
9
awarded  Nice Answer
Feb
9
answered Why are shortcuts like x += y considered good practice?
Feb
7
answered std::shared_ptr as a last resort?
Feb
7
revised Designing a web app that will be used from distant geographic locations
photon, not electron. The speed of "electrons" has nothing to do with signal propagation.
Feb
7
suggested suggested edit on Designing a web app that will be used from distant geographic locations
Feb
7
comment Designing a web app that will be used from distant geographic locations
I wold also ask: Is the network having web caches in remote locations?
Feb
6
comment Is it ever worthwhile using goto?
@MuhammadAlkarouri: I totally agree. You just found a better wording to express exactly my concept. My point is that those restriction can sometimes not be applicable and the kind of restriction you need is not in the language. Then a more "powerful" thing, less specialized, is what makes you able to workaround. For example, the Java break n is not available in C++, hence goto escape, even if escape is not required to be just out from the n-ple loop.
Feb
6
answered Is it ever worthwhile using goto?
Feb
6
awarded  Critic
Feb
6
comment Is it ever worthwhile using goto?
Just Dogma. No resons. Note: Djikstra is NOT ANYMORE A VALID RESON: it was referring of the BASIC or FORTRAN GOTO statement ofn the early '60s. They have nothing to do with the really anemic (compared to the power of those) gots-s of today.
Jan
31
comment How can I obtain feedback from external developers?
@tehnyit: Yes, I could. But the problem already happened: Why am I exiting and not offered to continue the cooperation? If I exit because I HAVE TO exit (contact expired and no actual new activity available for me) may be I like to keep the door opened for a future re-entrance (and may be the "exit question" are part of the job, in that case my answer doesn't apply) But if I exit because I WANTO TO exit (that was how I interpreted it) is not that important to me to keep the door opened. No more than avoiding to provide un-payed consulence.
Jan
31
answered How can I obtain feedback from external developers?
Jan
31
comment How can I obtain feedback from external developers?
Frankly, if I am exiting, and I receive all those question, I'll just give them random answer and escape as fast as I can! You cannot fire me, and I have no (more) interest in helping you. And helping you can make you stronger against my new company.
Jan
30
comment Should I use friend classes in C++ to allow access to hidden members?
@DXM: C++ is a "pragmatic language". And "pragmatism" is not for Talibans. If you have 20 classes all each other friend and you know what have you done, your mess it's up to you. But you are always granted that I -using your classes with my own classes- will never be able to mess up your "private parts". Whatever mess they can be / have themseves. The "encapsulation", in a pragmatic language, is no more than that. Be sure nothing external to a context can mess up things inside. How wide a context should be, and how many things should contain is a matter of design, not of keywords.
Jan
30
comment Should I use friend classes in C++ to allow access to hidden members?
friend don't break encapsulation for a very simple reason: a class cannot become friend of another without the other wants it. The friends, together, are just another bigger "capsule".
Jan
29
answered Should I use friend classes in C++ to allow access to hidden members?
Jan
27
comment What can one do when “lead by example” doesn't work?
@ereOn: "Will I have to wait to be older to gain some weight?" Not necessarily. Age is a value in term of experience in manage complexity. Is not a value in understanding new things (they are new to anyone, and having no backlog can be an advantage). It's not a "personal" problem. It's a problem of "critical mass". Until the people wishing the change are less than 20% they will be suffocated. If they are more, leadership become visible (and is not a matter of age). If a leader can reach 40% of a population the "new thing" will have proper citizenship. From 60% change is spontaneous.
Jan
27
answered What can one do when “lead by example” doesn't work?