827 reputation
410
bio website definedbehavior.blogspot.com
location New York, United States
age
visits member for 3 years, 8 months
seen Jul 16 '12 at 0:54

David Rodríguez Ibeas

Telecom engineer

New York City, NY, USA

[Un]defined behavior (blog)
LinkedIn


Sep
24
awarded  Autobiographer
Feb
7
awarded  Yearling
Feb
7
awarded  Yearling
Jul
16
awarded  Critic
Feb
7
awarded  Yearling
Oct
18
answered What is the best method to start understanding BIG project source code?
Sep
15
comment Is it true that once you learn one language most of the rest come easy?
I've heard that, but then I learnt Pascal and it did not help my English, I even learnt Java and C and C++, some python and now I speak almost proper English, but French eludes me, I have started with some Haskell, Erlang and Clojure... I might not have spent enough time with them, because I am not yet fluent! Darn it! Oh, excuse my French
Sep
12
comment Why C++ cannot adopt D's approach for its concept implementation?
@jj1: Can you provide a short explanation on D's approach for those of us that don't know the language?
Sep
12
comment Why C++ cannot adopt D's approach for its concept implementation?
I think that the question might not be written in the most constructive way, but that there is value on it. I would love someone explaining how D manages concepts, and be able to compare it with the two main approaches that the C++ committee took on concepts before they decided to postpone the feature altogether... If this is to be closed, then it should at the very least be moved to programmers
Aug
19
awarded  Enlightened
Aug
18
awarded  Nice Answer
Aug
18
awarded  Editor
Aug
18
revised Advantages of a left to right language syntax
change creation of the temporary to use *uniform-initialization* syntax, for consistency
Aug
18
comment Advantages of a left to right language syntax
@celavek: If you go back to the interview, you will note that he does not want to change the whole syntax of the language, only declarations and definitions. Of course, that might permeate in other expressions, I am not too sure that the last line in the examples above is proper left-to-right (think on how the temporary is created, that might need to be changed... in C# that is solved by giving two semantics to the new operator for struct or class, which is not applicable to C++ as in C++ there is no distinctions on value/reference types.
Aug
18
answered Advantages of a left to right language syntax
Aug
9
comment How to explain pointers to a Java/VB programmer
@Jarrod: The one reason you provide is not a reason. In C you pass pointers by value as you pass Java references by value (in C++ you can pass C++ references, but that is a different beast). In what way when passing a Java reference to a function does it differ from passing a pointer to a function?
Aug
9
comment How to explain pointers to a Java/VB programmer
@Jarrod: Sorry for the delay, but I don't check programmers that often (as a matter of fact, only when redirected from a question in SO). What are the huge semantic differences between a pointer in C++ and a reference in Java? When you pass a reference in Java it behaves in the same exact way as if you pass a pointer in C++: the handle is copied, the handled object can be modified. They are different in other ways (Java references are resettable handles, the actual object can move in memory during GC, for example)
Aug
3
awarded  Nice Answer
Aug
3
answered What is the necessity to go for lambda functions and expressions in C++?
Aug
3
comment What is the necessity to go for lambda functions and expressions in C++?
Ouch... C# delegate syntax... I'd rather have a named function (someWindow.onPaint.register( []( Context& ) { ... I am also interested in how Java makes it simpler than C++, and I cannot think of a way. It allows for local unnamed types, but that and lambdas are not exactly the same: in Java you need to implement a particular interface in each situation.