3,257 reputation
1918
bio website
location Italy
age 49
visits member for 2 years, 10 months
seen Jul 20 at 11:54

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.


Sep
25
comment What is some key aspect of C/C++ I need to know?
may be STL ?!?!? It's paer of the language specification. C++ without it is not C++, just C with classes!
Sep
25
comment What is some key aspect of C/C++ I need to know?
C++ is not just OOP. Thinking to C++ in therm of OOP paradigm only makes you run in pre C++03 style, and makes all the standard library incomprehensible. (there no OOP in there ... at least not "classical OOP"). The today validity of cplusplus.com is somehow questionable. They are very late in updating to the evolution the language had in the last 5 years.
Sep
6
comment What's so bad about pointers in C++?
@James: "it'll be your fault, not the designers" ... Good contract must result from a negotiation of both the parties. Breaking a "bad written" contract result in "bad" things, but is is much more a designer's fault, than user's fault. Remeber that design is clueless if no-one is able to use it. Good contracts inhibit improper use, don't punish after allow it. Punishment can make the designer satisfied, but if diffused has a "social cost" the designer also will pay. Do you get the metaphore?
Sep
2
awarded  Yearling
Aug
31
awarded  Good Answer
Aug
26
comment In C and C++, what methods can prevent accidental use of the assignment(=) where equivalence(==) is needed?
@James: ... not to mention it will not work for a == b !!
Aug
10
revised Is there a different usage rationale for abstract classes/interfaces in C++ and Java
added 79 characters in body
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