3,498 reputation
11019
bio website
location Italy
age 50
visits member for 3 years, 3 months
seen 1 hour 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.


Jun
21
comment Without C++-like destructors, how do we return resources that aren't managed by garbage collector in Java?
Of course, you can always call by a natural language standpoint whatever type a class and whatever variable an object. I can rewrite whatever programming language grammar by using that terminology (touring equivalence exist for whatever finite state machine, an compilers are as such as well). The fact that C specs talk about "objects" doesn't make it "oriented to them". It has them, but doesn't offer any primitive to handle them (there is no polymorphic behavior and resource management). But it seems to me I'm just touching some religion dogma.
Jun
11
reviewed Approve What methods exist for assessing an organisation's development capability?
Jun
11
comment In C++ Good reasons for NOT using symmetrical memory management (i.e. new and delete)
@metamaker: That can make sense for C, not C++. All the "so called C++ GC" are in fact "C unreachable memory disposers". But a C++ unreachable object is not just a bounch of bit to be freed: is a object of a class whose destructor has to be called. That requires some information about allocated object to be stored in auxiliary structures of the collectors, that must be C++ aware and not become new / delete global replacement (since C++ containers have to continue to use symmetrical allocation internally).
May
21
revised Only functions without a class in cpp file! good design or not?
added 1 character in body
May
18
revised Only functions without a class in cpp file! good design or not?
added 1 character in body
May
17
answered Only functions without a class in cpp file! good design or not?
May
8
reviewed Approve Making money from developing Open Source Software. How does that work?
Apr
18
reviewed Reject Two HTML elements with same id attribute: How bad is it really?
Apr
7
comment Can I change operator precedence and associativity in C++?
@gbjbaanb: yes, that's how things technically go, but how have them been sold till now? "We did not have them, because they are bad" (in fact they din't do them because they where too complicated to manage, being themselves "inter-class" (not intraclass, like methods are: C++ allows global methods...) and being natural "dual dispatch origins". Something Java don't have and C++ may have only in limited way (not that the visitor pattern is only a surrogate, in this matter: C++ dual dispatch is mostly related to template specializations) But that's a far long OT aspect.
Apr
7
answered Can I change operator precedence and associativity in C++?
Jan
12
comment Is using `continue`, `break` in non-`switch` loops and `?:` bad practice?
Loop1 avoids one level of nesting, resulting -on non-optimizing compiler- in less "jump" instruction once the code is translated. May be not "beautiful", but that 's how many STL implementation are written. If performance is important, solve the most frequent case first, with shortest jump is what makes the processor less "heated".
Jan
6
answered Nested Classes or Namespace
Nov
28
answered Difference between Singleton pattern and auto_ptr<> resp. unique_ptr<>
Oct
24
answered Reference vs dereference pointers in arguments C++/C
Oct
24
comment How is“cloud computing”different from “client-server”?
There are at least two types of cluds: High level clouds -where management leaves and talks about- technically known as "steam" or "smoke" (hence the term "smokeware"), and low level clouds -where servers are located- technically named "fog". Sorry for the cynicism.
Oct
20
comment Why C# is not statically typed but F# and Haskell are?
@jozefg: you're right, but in this context the formalism and the actual implementation are irrelevant. Modern languages are often multiparadigm, and can support both the ways in a more or less simple way. C# just supports both the paradigms. Saying "it's not one", just because "it has also the other" (like the speaker says) is instrumental to other means, but not to proper definition of terms.
Oct
20
comment Why C# is not statically typed but F# and Haskell are?
I'm an up-voter: your answer has nothing wrong. But since what we are talking about is a religion (or better: two religions at the same time) every believer in one of the two down-votes. Who knows both of them up-votes (but they are few, and considered miscredents from all the others), and all the real "atheist", simply don't care, and use C++11
Oct
20
answered Why C# is not statically typed but F# and Haskell are?
Oct
15
comment Can *any* program task be expressed without state?
@wirrbel: "state" is the thing "transformation" transform. Without it you can only transform void into void and all transformations are identical to the identity. In this degenaral universe true and false are the same.
Oct
14
awarded  Nice Answer