frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Challenging the Single-Responsibility Principle

https://kiss-and-solid.com/blog/keep-it-simple
11•WolfOliver•3d ago

Comments

citizenkeen•1h ago
Much like Unbreakable, I felt like this ended just as it was starting to get good.
scuff3d•23m ago
It didn't even get out of the introduction really. They described the problem as they see it, started to layout a solution, and then just fucked off. There should have been a whole example implementation showing each piece for the article to be useful at all.
carlosft•11m ago
I just rewatches deadwood and i read your comment in the voice of al swearengen. I also tossed in a few "hooplehead" references for good measure.
HeavyStorm•1h ago
> no matter how small a component already is, the single-responsibility principle can still be applied: every line of code can be assigned its own responsibility

The definition of SRP is to have each class (or module) to have a single reason to change. I don't see how that has anything to do with having each line be assigned a responsibility. If the line changes for the same reasons as it surrounding lines, then, they are part of the same component (to use the author's wording). My guess is that the principle is being taken literally from its name/acronym.

mghlb•1h ago
KISS my DRY SOLID goodbye.
scuff3d•27m ago
"I've seen many teams building distributed monoliths and spaghetti code in pursuit of the SRP."

I've worked with probably 6 or 7 different "microservice" based systems at this point, essentially all of them are just distributed monoliths. I don't think I've met a single person at my company who actually know what the hell a "microservice" is.

Nevermark•23m ago
Worth noting that in each well defined domain area, this can be replied recursively.

I.e. within the domain are the (O) basic structures, relations and operations.

Then (T) practical supporting algorithms, tuned for performance in specific cases, serialize, visualize, or whatever.

Then (A) the code that uses O & A to implement the details of specific solutions or manage specific processes.

Wherever there is a well defined broad class of problems with shared structure, this approach has merit.

• Minimize AT -> A, T, O or X.

• Minimize A -> T, O or X.

• Minimize T -> O or X.

• Minimize O -> X.

Where Blood Type X is... Well its just code that doesn't need to exist. Now all possible code has a blood type. And highest productivity is to increase code in X.

As they say, less (OTA), is more! (X)

Show HN: s@: decentralized social networking over static sites

http://satproto.org/
99•remywang•3h ago•34 comments

Temporal: The 9-year journey to fix time in JavaScript

https://bloomberg.github.io/js-blog/post/temporal/
567•robpalmer•12h ago•184 comments

Many SWE-bench-Passing PRs would not be merged

https://metr.org/notes/2026-03-10-many-swe-bench-passing-prs-would-not-be-merged-into-main/
173•mustaphah•7h ago•61 comments

Tested: How Many Times Can a DVD±RW Be Rewritten? Methodology and Results

https://goughlui.com/2026/03/07/tested-how-many-times-can-a-dvd%C2%B1rw-be-rewritten-part-2-metho...
69•giuliomagnifico•3d ago•6 comments

Making WebAssembly a first-class language on the Web

https://hacks.mozilla.org/2026/02/making-webassembly-a-first-class-language-on-the-web/
442•mikece•23h ago•158 comments

Don't post generated/AI-edited comments. HN is for conversation between humans

https://news.ycombinator.com/newsguidelines.html#generated
3021•usefulposter•8h ago•1131 comments

I was interviewed by an AI bot for a job

https://www.theverge.com/featured-video/892850/i-was-interviewed-by-an-ai-bot-for-a-job
192•speckx•9h ago•201 comments

DHS Contracts Explorer – Hacked data from the Office of Industry Partnership

https://micahflee.github.io/ice-contracts/
190•peq42•2h ago•38 comments

Show HN: A context-aware permission guard for Claude Code

https://github.com/manuelschipper/nah/
55•schipperai•4h ago•31 comments

Google closes deal to acquire Wiz

https://www.wiz.io/blog/google-closes-deal-to-acquire-wiz
250•aldarisbm•13h ago•159 comments

Show HN: I built a tool that watches webpages and exposes changes as RSS

https://sitespy.app
194•vkuprin•11h ago•49 comments

The MacBook Neo

https://daringfireball.net/2026/03/the_macbook_neo
445•etothet•16h ago•741 comments

Challenging the Single-Responsibility Principle

https://kiss-and-solid.com/blog/keep-it-simple
11•WolfOliver•3d ago•7 comments

About memory pressure, lock contention, and Data-oriented Design

https://mnt.io/articles/about-memory-pressure-lock-contention-and-data-oriented-design/
13•vinhnx•3d ago•0 comments

BitNet: 100B Param 1-Bit model for local CPUs

https://github.com/microsoft/BitNet
317•redm•15h ago•158 comments

Entities enabling scientific fraud at scale (2025)

https://doi.org/10.1073/pnas.2420092122
268•peyton•14h ago•189 comments

CNN Explainer – Learn Convolutional Neural Network in Your Browser (2020)

https://poloclub.github.io/cnn-explainer/
37•vismit2000•3d ago•2 comments

Show HN: Autoresearch@home

https://www.ensue-network.ai/autoresearch
49•austinbaggio•4h ago•10 comments

Show HN: Klaus – OpenClaw on a VM, batteries included

https://klausai.com/
131•robthompson2018•12h ago•69 comments

Meticulous (YC S21) is hiring to redefine software dev

https://jobs.ashbyhq.com/meticulous/3197ae3d-bb26-4750-9ed7-b830f640515e
1•Gabriel_h•7h ago

5,200 holes carved into a Peruvian mountain left by an ancient economy

https://newatlas.com/environment/5-200-holes-peruvian-mountain/
109•defrost•1d ago•52 comments

How much of HN is AI?

https://lcamtuf.substack.com/p/how-much-of-hn-is-ai
74•surprisetalk•2h ago•35 comments

Britain is ejecting hereditary nobles from Parliament after 700 years

https://apnews.com/article/uk-house-of-lords-hereditary-peers-expelled-535df8781dd01e8970acda1dca...
200•divbzero•6h ago•196 comments

Atlassian to cut roughly 1,600 jobs in pivot to AI

https://www.reuters.com/technology/atlassian-lay-off-about-1600-people-pivot-ai-2026-03-11/
149•jp0d•5h ago•204 comments

Against vibes: When is a generative model useful

https://www.williamjbowman.com/blog/2026/03/05/against-vibes-when-is-a-generative-model-useful/
59•takira•1d ago•8 comments

Swiss e-voting pilot can't count 2,048 ballots after decryption failure

https://www.theregister.com/2026/03/11/swiss_evote_usb_snafu/
173•jjgreen•15h ago•375 comments

Urea prices

https://tradingeconomics.com/commodity/urea
67•burnt-resistor•2h ago•46 comments

Personal Computer by Perplexity

https://www.perplexity.ai/personal-computer-waitlist
132•josephwegner•9h ago•109 comments

Apple releases iOS 15.8.7 to fix Coruna exploit for iPhone 6S from 2015

https://support.apple.com/en-us/126632
76•seam_carver•2h ago•29 comments

Preliminary data from a longitudinal AI impact study

https://newsletter.getdx.com/p/ai-productivity-gains-are-10-not
36•donutshop•6h ago•28 comments