Timeline for Does learning a functional language make a better OOP programmer?
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 12, 2017 at 7:31 | history | edited | CommunityBot |
replaced http://programmers.stackexchange.com/ with https://softwareengineering.stackexchange.com/
|
|
Jul 2, 2013 at 17:23 | history | edited | Aidan Cully | CC BY-SA 3.0 |
permalink to Jetti's answer
|
Oct 18, 2011 at 12:37 | history | edited | Thomas Owens♦ | CC BY-SA 3.0 |
added 147 characters in body
|
Feb 8, 2011 at 16:34 | comment | added | Aidan Cully | @Frank, not yet, but I'll be working on it. Thanks! | |
Feb 8, 2011 at 16:23 | comment | added | Frank Shearar | @Aidan Have you read William Cook's "On Understanding Data Abstraction, Revisited"? It delves into the differences between objects and ADTs, which is what you're hinting at. | |
Feb 8, 2011 at 15:29 | comment | added | Aidan Cully |
@Frank: thanks for the pointer. I didn't include this in the answer, but the main objection I have to making Values into Objects has to do with the distinction b/w object interfaces (which are owned by objects) and operations (in which the relationships between objects are more primary than the objects themselves). 1 + 2 is mathematically equivalent to 2 + 1 , but 1.+(2) is implemented differently than 2.+(1) . There exist a number of SW problems than can be understood more naturally using operations than using object interfaces.
|
|
Feb 8, 2011 at 15:14 | comment | added | Aidan Cully | @Matthieu, thanks, I've updated the text to reflect that. | |
Feb 8, 2011 at 15:13 | history | edited | Aidan Cully | CC BY-SA 2.5 |
WhyFP is related to higher-order functions, Notes on Structured Programming is related to use of recursion. C++ already has lambdas.
|
Feb 8, 2011 at 9:34 | comment | added | Frank Shearar | "Object" as "thing that holds mutable state" is very common, but the Value Object pattern's been around for many years. | |
Feb 8, 2011 at 7:34 | comment | added | Matthieu M. | @Aidan: wrt lambdas in C++0x, at any rate the new C++ compilers have incorporated them already. | |
Feb 8, 2011 at 5:15 | vote | accept | GavinH | ||
Feb 8, 2011 at 4:16 | history | answered | Aidan Cully | CC BY-SA 2.5 |