1,014 reputation
617
bio website dalorzo.com
location Costa Rica
age 37
visits member for 3 years, 11 months
seen Mar 20 at 13:24

Software Developer and Photography Enthusiast


Dec
24
comment Why lambda/closures expressions came so late to C++?
@Doval Precisely my point. Closures and lambda expressions were already pretty, pretty popular before LINQ. The fact that Java and C# are mainstream programming languages have simply make them more popular than they were to more programmers. Above all to those who have never programmed in other languages and were probably unfamiliar with the topics this might sound like revolutionary, but for many others there is not a big surprise here.
Dec
24
comment Why lambda/closures expressions came so late to C++?
@SK-logic I have to disagree on the influence of LINQ. Closures are the oldest trick in the book. They existed before the first computer was ever created and they first appear in LISP in the late 50s, ML (70s), Haskell (80s) then other languages adopted them Python, Ruby, JavaScript, then a rebirth of functional programming in 2000 with Scala, Clojure and F# among others. Actually C# and Java are the oldest languages to adopt this. Now you are not going to say that LINQ popularized high order programming. This is just the result of the natural evolution of languages.
Aug
11
awarded  Popular Question
Jun
1
comment Condition to use polymorphism
Already answered: Is polymorphism possible without inheritance
Apr
26
awarded  Yearling
Apr
24
awarded  Popular Question
Apr
7
comment When too much encapsulation was reached
You may consider reading this paper by Alan Snyder Encapsulation and Inheritance in Object-oriented Programming Languages. There are copies in PDF around the web. Also you may consider this another answer about encapsulation.
Apr
1
comment How to avoid programmers duplicating code
See the problem from another angle, instead of thinking that the problem is the code duplication, we may consider if the problem originates in the lack of policies for code reuse. Recently I read the book Software Engineering with Reusable Components and it indeed has a set of very interesting ideas on how to foster code reusability at the organization level. I will answer in the related question.
Apr
1
answered How do I prevent unknowningly duplicating code?
Mar
31
revised Question/Answer for multiple Users - How should I design it?
added 1 characters in body
Mar
31
revised What should a repository really do?
deleted 1 characters in body
Mar
31
revised What should a repository really do?
added 1638 characters in body
Mar
31
answered What should a repository really do?
Mar
31
revised Question/Answer for multiple Users - How should I design it?
edited body
Mar
31
answered Question/Answer for multiple Users - How should I design it?
Mar
31
answered How does Observer create loosely-coupled design?
Mar
30
comment Make a java program use more processors
Well, this sounds like the kind of work JDK 8 Parallel Streams were created to solve.
Mar
29
comment Who has right over the code that comes from contributions in an open source project?
Sounds like a good question... For your lawyer.
Mar
28
answered Passing data between classes
Mar
28
answered Java's Boolean class - why not an enum?