News for hackers. Stuff that matters.
Re:Alan Kay and OO Programming by LandR on Tuesday May 21, 2019 @06:15AM (#19968847)
> I have a ton of respect for Alan Kay and think he's a genius. But why does it seem like every time he talks about OO it's always painting an apocalyptic picture like we're in some kind of twilight zone alternate nightmare reality of broken patterns and models?

Because we are? Have you seen most OOP code-bases, they are a train wreck!

Re:Alan Kay and OO Programming by gnclmorais on Tuesday May 21, 2019 @07:25AM (#19969137)
Could you elaborate on the “most” part? Coming from my experience on Rails over the past couple of years, I’m quite happy with what I’ve found so far.
Re:Alan Kay and OO Programming by renox on Tuesday May 21, 2019 @03:49PM (#19974149)
Well, Ruby is Smalltalk with a different syntax..
Re:Alan Kay and OO Programming by 0x445442 on Tuesday May 21, 2019 @09:32AM (#19969950)
I think one of the biggest issues is that languages such as Java account for large percentages of existing OOP in the wild and Java is a "kitchen sink" language with too many supported paradigms and styles.

For example, look at class attributes and methods. I'm not sure they're needed but in a language like Java the semantics often leads to wildly different programming styles within the same code base. And it's hard to enforce consistent styles using conventions.

That said, I've seen/read Kay asked directly, on more than one occasion to elaborate on his notion of a real OOP language implementation and his answers are always to coy and slippery for my taste.

Re:Alan Kay and OO Programming by Pop2019 on Tuesday May 21, 2019 @07:15AM (#19969091)
JavaScript is functional and oh boy!
Re:Alan Kay and OO Programming by pingucrimson on Tuesday May 21, 2019 @12:01PM (#19971426)
What does "functional" mean to you? If "OO" has a hundred different meanings, then "functional" must have at least a thousand. To me, JavaScript is definitely not functional - it lacks a notion of purity, and its meaning is the evaluation of statements, not the construction of expressions.
Re:Alan Kay and OO Programming by Pop2019 on Tuesday May 21, 2019 @12:18PM (#19971617)
My point was popular languages attract masses of developers and the resulting quality of code is poor on average.
Re:Alan Kay and OO Programming by pingucrimson on Tuesday May 21, 2019 @12:28PM (#19971713)
That's a good point, but it's not implied by "JavaScript is functional and oh boy!" at all.
[dead]
Re:Alan Kay and OO Programming by sctb on Tuesday May 21, 2019 @01:28PM (#19972371)
The bar for thoughtfulness is higher than this here. Even if the J-word gets us, could we please be more informative and kind or just not say anything?

https://news.ycombinator.com/newsguidelines.html

Re:Alan Kay and OO Programming by marvel_boy on Tuesday May 21, 2019 @06:16AM (#19968854)
This