frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

OOP: The worst thing that happened to programming

https://alexanderdanilov.dev/en/articles/oop
17•lr0•1h ago

Comments

edwinjm•1h ago
Is this a new way for Russia to undermine the West?
greenavocado•1h ago
This is 10/10 ragebait
ge96•1h ago
https://www.youtube.com/watch?v=wo84LFzx5nI
msla•1h ago
Being extremely enthusiastic or extremely angry about OOP is so 1990s. Tell us, is Java the New COBOL? Is Visual C++ COM/OLE inherently bloated Microsoft Bob Windows Longhorn software?
jmclnx•1h ago
Speaking to the choir with me :)

But I would add "so far", AI and vibe could very well overtake OOP in a year or 2.

hackingonempty•1h ago
I don't think this is a great article but if you hit Google Scholar and look for papers concerning OOP you'll be hard pressed to find any recent ones. Almost every programming language research paper is about functional programming. Recent practical crypto papers seem to use Go a lot but that isn't OOP.

OOP was a dead end and academia has moved on if they were ever interested in the first place. It is strange that industry is 180 degrees out of phase here even as they stress the importance of "computer science fundamentals" like data structures and algorithms.

bnchrch•1h ago
Absolutely is.

Modern OOP (not the original OOP by Alan Kay) is a human anti pattern.

It commits the cardinal sin to easy to understand systems: It hides state, and breaks data lineage.

In otherwords:

1. You cannot just go back up the stack to see if anyone has changed data you depend on. You also need to follow all parent and sibling branches.

2. And in the case of inheritance you cannot reason about Child A without understanding Parent 1..N

As a result OOP systems quickly hit the limit of context one developer can hold in their brain when developing and debugging.

FP on the other hand encourages and in some cases enforces you to encapsulate the inputs and outputs of your system to the arguments and values of a function. Making the system easy to reason about at any level.

Powerful composability and more thorough and easy testing are just beautiful by products.

Next on the list of worst things to happen to programming is Python's popularity as a CSC101 language, and its toe hold in mathematics with the rise of ML.

foofoo12•1h ago
Worst thing that happened to programming, eh? Have you tried running a 2 year old javascript/node project that transpiles and gulps it's three billion dependencies into something alien - if it works. Which it won't because it hasn't been updated for 2 years.
yarekt•19m ago
No-one uses that original OOP at all, no-one sane anyway. The way its used now is for dependency injection. All your logic is in services that are injectable and unit tested. All your data is in simple immutable DTOs.

All the OOP tricks, classes, instances, interfaces, polymorphism, its all good for wiring up your logic, replacing bits at runtime. No-one actually models their domain with pure OOP. Urgh, that would be awful.

But also to echo other commenters, this isn't interesting insight...

Sundar Pichai Is Google's AI 'Wartime CEO' After All

https://www.bloomberg.com/opinion/articles/2025-11-13/google-sundar-pichai-is-ai-wartime-ceo-afte...
1•hbhakhra•1m ago•1 comments

'Baby Shark' Creator Set for Seoul Debut After IPO

https://www.bloomberg.com/news/articles/2025-11-17/-baby-shark-creator-pinkfong-set-for-seoul-deb...
1•rvz•1m ago•0 comments

AI and the Future of Pedagogy

https://www.sagepub.com/explore-our-content/white-papers/2025/11/03/ai-and-the-future-of-pedagogy
2•debo_•4m ago•0 comments

Hardening the C++ Standard Library at massive scale

https://queue.acm.org/detail.cfm?id=3773097
1•xo5vik•4m ago•0 comments

Blue Owl Plunges to 2023 Low After Blocking Exit from Fund

https://www.bloomberg.com/news/articles/2025-11-17/blue-owl-plunges-to-2023-low-after-blocking-ex...
1•zerosizedweasle•4m ago•0 comments

Ask HN: Are LLMs just the right-brain?

1•stevenalowe•5m ago•0 comments

Topological models of algebraic varieties – Nikolai Durov [video]

https://www.youtube.com/watch?v=oCD2Ohfgklk
1•ryandotsmith•6m ago•0 comments

In Alaska, fishing skippers and hungry orcas vie for halibut pulled from deep

https://www.northernjournal.com/in-alaska-fishing-skippers-and-hungry-orcas-vie-for-halibut-pulle...
1•paulpauper•9m ago•0 comments

White nationalist talking points and racial pseudoscience: welcome to Grokipedia

https://www.theguardian.com/technology/2025/nov/17/grokipedia-elon-musk-far-right-racist
4•tastyface•9m ago•0 comments

LionsOS Firewall System (SeL4)

https://lionsos.org/docs/examples/firewall/
1•snvzz•9m ago•0 comments

Being hunted by hounds is strangely exhilarating

https://www.theguardian.com/uk-news/2025/nov/15/are-they-going-to-eat-me-alive-trail-runners-beco...
1•paulpauper•10m ago•0 comments

Data breach at Chinese firm reveals state-owned cyber weapons and targets

https://www.techradar.com/pro/data-breach-at-mysterious-chinese-firm-reveals-state-owned-cyber-we...
2•doener•11m ago•0 comments

My Agentic Coding Workflow as of Nov 2025

https://behan.substack.com/p/alien-authors
1•behan•11m ago•0 comments

BuildList

https://buildlist.org/
1•carlos-menezes•11m ago•0 comments

Show HN: Agfs – Aggregated File System, a modern tribute to the spirit of Plan9

https://github.com/c4pt0r/agfs
1•c4pt0r•15m ago•0 comments

Numbers Everyone Should Know

https://brenocon.com/dean_perf.html
1•gaws•15m ago•0 comments

Show HN: AI Argument Settler

https://www.amiright.app/
1•steeso•16m ago•0 comments

Xv6, a simple Unix-like teaching operating system

https://pdos.csail.mit.edu/6.828/2012/xv6.html
2•doener•17m ago•1 comments

Ultraviolet Irradiation of Blood: "The Cure That Time Forgot"?

https://pubmed.ncbi.nlm.nih.gov/29124710/
4•felineflock•19m ago•1 comments

Show HN: Pixelblock – Gmail extension that blocks email open tracking

https://chromewebstore.google.com/detail/pixelblock/jmpmfcjnflbcoidlgapblgpgbilinlem
1•ramoq•20m ago•0 comments

Primly.io – A tool I built with HR input to help with behavioral interview prep

https://primly.io
2•radu_trandafir•22m ago•1 comments

TV encryption support is waning

https://www.youtube.com/watch?v=XS9q6wFS_ho
1•1970-01-01•22m ago•0 comments

My tiny workflow for an AI code review assist

1•infl8ed•27m ago•0 comments

The multimerization pathway of the glucocorticoid receptor

https://academic.oup.com/nar/article/53/19/gkaf1003/8294360?login=true
1•PaulHoule•30m ago•0 comments

Show HN: Interview Tracking Tool

https://interviews.tools
1•Keloran•32m ago•0 comments

Cheese Wars: Rise of the Vibe Coder

https://steve-yegge.medium.com/cheese-wars-rise-of-the-vibe-coder-6839a6b15982
1•Uhhrrr•32m ago•0 comments

Show HN: Wikidive – Rabbithole/Deep Diving into Wikipedia

https://wikidive.net/dive?topic=Computer%2520science
1•atulvi•32m ago•1 comments

Windows 11 adds AI agent that runs in background with access to personal folders

https://www.windowslatest.com/2025/11/18/windows-11-to-add-an-ai-agent-that-runs-in-background-wi...
12•jinxmeta•33m ago•2 comments

Weather forecasts are more accurate; make them available to everyone (2024)

https://ourworldindata.org/weather-forecasts
1•mmooss•34m ago•1 comments

Show HN: Onethingeveryone.com – A global album of advice from people everywhere

https://www.taiomi.com/onethingeveryone/
1•spacebots•34m ago•0 comments