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


2d
reviewed Reject suggested edit on 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
Oct
14
comment Can *any* program task be expressed without state?
@BillyONeal: Sate is something physical. You can see it or hide it, but doesn't disappear. There cannot be something that is both "stateful" and "stateless". You can describe it starting from state (and transformation is a consequence) of from transformation (and state is an implicit prerequisite). If there is no "state" there is either no computation or no time/space/energy.
Oct
14
comment Can *any* program task be expressed without state?
@wirrbel: state is something physical (think to linear differential equations systems or to discrete systems). A state is introduced every time on thing calls another, otherwise no return is possible, since you don't know where you come from. The fact you don't (need to) "reason" about it doesn't make it disappear.
Oct
14
comment How important it is to fix memory leaks?
@VladimirKocjancic: +1 for "feature"
Oct
14
answered Can *any* program task be expressed without state?
Oct
14
comment Can *any* program task be expressed without state?
Your same argument can be reverted saying that being lamba calculus equivalent to touring machines, every computation must have a (more or less hidden) state. Whether is is represented as external to the code (by means of variables) or internal to the flow (by means of stack-based function call) always "state" is.
Sep
11
comment What do you do when a client requires Rich Text Editing on their website?
Links report a 404
Sep
2
awarded  Yearling