3,159 reputation
1918
bio website
location Italy
age 49
visits member for 2 years, 7 months
seen 19 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.


Aug
10
comment Is there a different usage rationale for abstract classes/interfaces in C++ and Java
@Martin: In "technical sense" you're right, but if you need runtime polymorophism (because the actual type of the instantiated objects depends on program input) a "root" ('a' is an article, not a shortcut for "one and only") is what makes all object "cousins", and the hierarchy run-time-walkable. Different roots originate different ancestries not each-other related. Whether this is "good" or "bad" is a matter of context, not idiom.
Aug
8
answered Is there a different usage rationale for abstract classes/interfaces in C++ and Java
Aug
7
comment Is STL implemented with OO?
... There is a difference between OOP terminology and C++ terminology. Back in the days when C++ had no other paradigm support than inheritance and virtual methods (no tempates and no lambdas) the two terminology could have been deliberately confused and used one in the place of another, but nowadays reducing OOP inheritance to just implement the OOP substitution principle is deliberately castrate the language.
Aug
7
comment Is STL implemented with OO?
@DeadMG: please note that the meaning of the term "composition" outside the OOP terminology has a precise meaning also in plain English. And inheritance (apart virtual method) is nothing more than "compose with an unnamed member". I undertand perfectly that OOP integralists don't like these facts, but C++ is not only a OOP langauge and inheritance as well as class composition are not just servicing OOP "is a" and "has a" relationships. ...
Aug
7
comment Is STL implemented with OO?
@KonradRudolph: true, but the question is about C++.
Aug
7
answered Is STL implemented with OO?
Jul
24
comment Should laying out a GUI graphically be considered “cheating?”
@TMN: The "real" Chuck Norris!
Jul
24
comment Should laying out a GUI graphically be considered “cheating?”
Real programmers write by copying from the console stream directly into the executable file the bytecodes they type one by one. Everything else (editor, compilers end so on) is "cheating".
Jul
21
comment What can programmers learn from the construction industry?
Given the subject, closed as "non constructive" sounds ... ironic!
Jul
12
comment What can be done to programming languages to avoid floating point pitfalls?
Everything will be perfect by replacing the word "integer" with "rational"-
Jul
12
comment Is saying “JSON Object” redundant?
@MasonWheeler: +1: Have you ever heard sentences like "... the TCP/IP protocol..."?
Jul
5
answered It's ok to study the C++ from a book that only support the 1998 version of standard?
Jun
27
answered C++ Iterator lifetime and detecting invalidation
Jun
25
comment Where should libraries be placed, in windows?
@ComFreek: Not sure: may be it is remapped at the file-stystem level, not as a shell-extension. But it may be even not on C:\ ... so ... never trust, but refer to %programfiles%. Also, user dependent configuration data, should go to %appdata% Anyways, thanks for the clarification.
Jun
25
comment Where should libraries be placed, in windows?
Please note that the actual names of those folders depends on the localization of the OS: "Program Files" exist only on english-localized installations. You should rely on environment variables or to registry keys to get the actual folder names. In any case don't place things directly in those folders, ut create appropriate sub-folders.
Jun
25
comment Where should libraries be placed, in windows?
Do you mean from your own standpoint of from your final users standpoints ?
Jun
8
awarded  Caucus
May
22
awarded  Nice Answer
May
21
answered Who created the idea(s) of the first loop constructs?
May
2
comment Why would I learn C++11, having known C and C++?
@Giorgio: oh ... they apply ... exactly as you said. If you think C# or D did a better choice than a "boiled out" C++ (my interpretation of your feeling), just use them instead of C++. An as time moves on C++ will slowly die. Right now,I see C++11 giving a new chance to the "boiled" C++03, and D with still something missing to break the starting barrier. Economics and corporation interests also play a role in how development is financed and encouraged. You're right in theory, but real world is more complex.