News for hackers. Stuff that matters.
Re:The Death of Object-Oriented Programming [video] by Cieplak on Sunday May 29, 2016 @09:46PM (#11799116)
If a problem can be simply modeled by state machines, use OO. If it's simpler to model a solution using function composition, use FP. You can write shit code in any language, but patterns are timeless.
Re:The Death of Object-Oriented Programming [video] by zzzcpan on Sunday May 29, 2016 @09:51PM (#11799130)
Any problem can be modeled by either of those things. What matters is whether you abstract your state mutations or scatter them all over the place.
Re:The Death of Object-Oriented Programming [video] by Cieplak on Sunday May 29, 2016 @09:58PM (#11799151)
Absolutely agreed. Goal should be simplicity with a healthy dose of mechanical sympathy.
Re:The Death of Object-Oriented Programming [video] by bch on Sunday May 29, 2016 @10:27PM (#11799224)
> healthy dose of mechanical sympathy

This is interesting -- it's something I think about too, but it's not clear to me what it _really_ means, unless its a personal thing specific to ea. developer being sympathetic, and is just meant to mean "Are you mindful of what's going on? If not, pause until you are". Maybe then one sees earlier pitfalls, or chances to succeed.

Re:The Death of Object-Oriented Programming [video] by jimmaswell on Sunday May 29, 2016 @11:17PM (#11799372)
Can be, yes, but that doesn't mean modeling it that way would be sane. Working with a fully FP game engine sounds terrible, for example.
Re:The Death of Object-Oriented Programming [video] by efnx on Monday May 30, 2016 @12:12AM (#11799511)
The hard part is figuring out what that should look like. There are hardly any purely functional game libraries (graphics, physics, sound) so to say that an entire engine sounds horrible makes no sense. What would that horrible even look like?
Re:The Death of Object-Oriented Programming [video] by weavejester on Sunday May 29, 2016 @11:58PM (#11799471)
Why do you say that?
Re:The Death of Object-Oriented Programming [video] by olalonde on Monday May 30, 2016 @12:10AM (#11799505)
Can we all stop repeating those platitudes / tautologies please?
Re:The Death of Object-Oriented Programming [video] by wbillingsley on Monday May 30, 2016 @12:28AM (#11799551)
Well, that or we could identify them as common repeated argumentative elements, attach names to them, and call them rhetorical patterns :)
Re:The Death of Object-Oriented Programming [video] by wwosik on Monday May 30, 2016 @01:54AM (#11799793)
This has been already thought of: https://en.wikipedia.org/wiki/The_Futurological_Congress " Instead, papers are distributed in hard copy and speakers call out paragraph numbers to call attention to their most salient points."
Re:The Death of Object-Oriented Programming [video] by stcredzero on Sunday May 29, 2016 @10:03PM (#11799166)
Agreed. I'll add, ask yourself:

    - Will it cost a lot to change your mind?
    - Will this make it harder to debug or easier?
    - How long have I gone without a big, costly/risky rewrite?
This is what it means to have a good or a bad architecture.