frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Meta-analysis of three different notions of software complexity

https://typesanitizer.com/blog/complexity-definitions.html
74•ingve•1d ago

Comments

perrygeo•21h ago
I respect all three authors deeply but this is my first time reading Tellman's take. His idea that "simplicity is not intrinsic ... Simplicity is a fitness between software and our expectations" has a very nice ring to it.

Contrast that with Hickey's notion of simplicity as an objective count of interleaved concerns or "folds". The quibble with this is, how do you delineate the concerns? Depending on your style and knowledge of the system, you'll get a different number. So it's hard to call it objective.

Tellman's definition is nice because it acknowledges the subjectivity, and puts it front and center. IOW the "style and knowledge of the system" form a mental model of the software system. What's important is not the cardinality, OR the interleaving. It's the ability for that model to make good predictions about the software's behavior. Accurate model held in the minds of humans that operate it == simple software.

motorest•7h ago
Quantifying software complexity is still largely an open problem. There are approaches that focus on quantifying but are arguably of limited use due to their disconnect with mental models, and there are approaches that focus on evaluating mental models but can't be objectively quantified. The best output from the latter group is that they can serve as guidelines on how to make simple software systems,and how to keep them simple.
chii•7h ago
The hickey definition is from the POV of the engineer - the creation of software with simplicity. Code that is simple, doesn't necessarily result in a piece of software that is simple for the end-user.

The tellman's version is for the end user - simplicity of use, by the user, with their existing expectation, culture and pre-knowledge. It's basically describing skeuomorphism in software (but not limited to just UI). It might be enormously complicated to create for the engineer, while it remains simple for the end-user.

prospero•1h ago
Show me a software developer who isn’t an end user for someone else’s code.
wtetzner•53m ago
This feels like it missed the point.

Hickey's approach is relevant in how the software is constructed, and Tellman's is relevant to the user experience. Both approaches are useful for a single application.

readthenotes1•8h ago
I read a research article long ago that said that most of the complexity measures investigated at the time were highly correlated with loc.

For example, it's nice to measure McCabe cyclomatic complexity, and it generally rings true, but if you can't be bothered - just look at LOC and you'll get pretty close

n0n0n4t0r•7h ago
For those who will stumble as me: Loc = lines of code. (He he, we were talking about complexity, weren't we?)
0xbadcafebee•2h ago
Yes, in the same way that large forces are highly correlated with bigger things. You don't have to know anything about design or engineering to know that an 18-wheeler will deal with larger forces than a sub-compact car. Similarly, a whole lotta software is gonna be more complex.
_benton•6h ago
I like Ousterhout's the best because I think it's the most concrete out of the three. The other two are more subjective imo, of course still very useful and important.

Although I think "dependency" is an overloaded term. There are dependencies as in libraries or shared code, and then there are "dependencies" which are like assumptions about other parts of the system. Hickey also mentions this when he talks about interfaces. If you break a class into two classes, but they both make assumptions about the other, in effect they are still the same class.

Perhaps another way to think about complexity is the number of assumptions baked into a system?

lioeters•1h ago
When I think about a system that makes zero assumptions, I imagine it would have a large number of configuration points, where every single aspect of behavior and interaction must be specified explicitly instead of implicit and assumed. That sounds complex.

On the flip side, a counter-example comes to mind: automatic imports ("autoloading") in some languages, which makes things apparently simple but gets gnarly when things break unexpectedly. It makes a lot of assumptions about your intention, which is simpler when it works the way you expect. I'd prefer explicit imports every time, even if it's verbose (some might call "complex") because it makes no assumptions - every import is visible so it's actually simpler to understand.

0xbadcafebee•2h ago
When you see the words "complex", "simple", and "easy", keep this in mind: these are words that exist to help humans communicate their difficulty in interacting with the world.

This whole post is a discussion of philosophy. There are three different ways you can think about software:

  - philosophy
  - science
  - function
The philosophy of software involves people trying to understand what software is. Humans have a desire for knowledge and understanding, and like to explain things they come into contact with and think about. A lot of the time there's no "objective" philosophical explanation, try as we might to find one. Despite that, many explanations in this realm end up being useful.

The science of software is computer science, which is more about math than anything else. This is the only place you're gonna find objectivity or consensus, because you can't really argue with a number. Discussions around CS are less poetic and more boring, and require a lot more knowledge, so you won't typically find these on HN.

The function of software is the day-to-day practice of writing and using software. This is the grunt work, the meat and potatoes. No need for philosophy or science. Just put the legos together and kick the tires. This is 99% of what 99% of software developers deal with. Most people don't think about the science or philosophy of the coffee they're ordering or the bike they're riding; they're just ordering it, riding it.

burakemir•10m ago
Enjoyed this, but looking at these from manager decision scenario is of course going to bias towards the more subjective.

For a different scenario, imagine you operate a large distributed system and have been paged at 3 am because there is a problem. Besides taking steps to contain the fallout, you want to quickly locate the error and take steps to prevent this stuff from ever happening again.

Unlike a hiring decision, you want to propose measures such that a large number of people get to agree that the state of affairs will improve. It is a truism that we don't want software to fail, so considering expectations may not necessarily help here, and rationality would suggest to strive to achieve an "objective" improvement - and one that does not make the system harder to understand or invite new, different failures.

So all in all, I enjoyed this advocacy of Tellman's perspective, but it does not always seem appropriate to apply it and more meta than the others.

redhale•6m ago
> I reached out to Tellman before writing this post for some clarifications.

Ironic!

Modifying an HDMI dummy plug's EDID using a Raspberry Pi

https://www.downtowndougbrown.com/2025/06/modifying-an-hdmi-dummy-plugs-edid-using-a-raspberry-pi/
45•zdw•1h ago•2 comments

Red Hat Linux in 1998 (2009)

https://linuxgazette.net/165/laycock.html
24•marcodiego•1h ago•2 comments

Canyon.mid

https://canyonmid.com/
130•LorenDB•3h ago•64 comments

How to modify Starlink Mini to run without the built-in WiFi router

https://olegkutkov.me/2025/06/15/how-to-modify-starlink-mini-to-run-without-the-built-in-wifi-router/
136•LorenDB•4h ago•38 comments

Datalog in Rust

https://github.com/frankmcsherry/blog/blob/master/posts/2025-06-03.md
159•brson•5h ago•16 comments

Social anxiety disorder-associated gut microbiota increases social fear

https://www.pnas.org/doi/abs/10.1073/pnas.2308706120
52•thunderbong•55m ago•12 comments

1k year old 3 sisters crop farm found in Northern Michigan

https://www.smithsonianmag.com/smart-news/massive-field-where-native-american-farmers-grew-corn-beans-and-squash-1000-years-ago-discovered-in-michigan-180986758/
87•CoopaTroopa•3d ago•33 comments

Childhood leukemia: how a deadly cancer became treatable

https://ourworldindata.org/childhood-leukemia-treatment-history
34•surprisetalk•3h ago•7 comments

Biofuels Policy, a Mainstay of American Agriculture, a Failure for the Climate

https://insideclimatenews.org/news/13062025/agriculture-ethanol-biofuel-policy-climate-failure/
21•rntn•1h ago•4 comments

The Art of Lisp and Writing (2003)

https://www.dreamsongs.com/ArtOfLisp.html
131•Bogdanp•10h ago•47 comments

How easy is it for a developer to "sandbox" a program?

https://kristaps.bsd.lv/devsecflops/
22•zdw•4d ago•4 comments

Foundations of Computer Vision

https://visionbook.mit.edu
43•tzury•6h ago•0 comments

The Keyset

https://dougengelbart.org/content/view/273/
9•tosh•3h ago•2 comments

Journalists Wary of Travelling to US Due to Palantir Surveillance

https://bsky.app/profile/alistairkitchen.bsky.social/post/3lrjsdecc5c2x
113•Kapura•1h ago•39 comments

Text-to-LoRA: Hypernetwork that generates task-specific LLM adapters (LoRAs)

https://github.com/SakanaAI/text-to-lora
56•dvrp•3d ago•1 comments

Tiny-diffusion: A minimal implementation of probabilistic diffusion models

https://github.com/tanelp/tiny-diffusion
47•BraverHeart•9h ago•1 comments

Q-learning is not yet scalable

https://seohong.me/blog/q-learning-is-not-yet-scalable/
189•jxmorris12•16h ago•38 comments

I have reimplemented Stable Diffusion 3.5 from scratch in pure PyTorch

https://github.com/yousef-rafat/miniDiffusion
445•yousef_g•1d ago•71 comments

CI/CD Observability with OpenTelemetry Step by Step Guide

https://signoz.io/blog/cicd-observability-with-opentelemetry/
102•ankit01-oss•4d ago•32 comments

Infinite Grid of Resistors

https://www.mathpages.com/home/kmath668/kmath668.htm
196•niklasbuschmann•18h ago•100 comments

Ruby on Rails Audit Complete

https://ostif.org/ruby-on-rails-audit-complete/
138•todsacerdoti•3d ago•88 comments

Show HN: Meow – An Image File Format I made because PNGs and JPEGs suck for AI

https://github.com/Kuberwastaken/meow
75•kuberwastaken•4h ago•62 comments

Bits and bobs related to Wireless-Tag's WT32-ETH01 board

https://github.com/egnor/wt32-eth01
9•johnnyApplePRNG•2d ago•0 comments

Notes on the History of the Map Tile

https://placing.technology/notes-on-the-history-of-the-map-tile
28•altilunium•7h ago•5 comments

The Talented Ms. Highsmith

https://yalereview.org/article/working-for-patricia-highsmith
20•Caiero•1d ago•1 comments

AMD's AI Future Is Rack Scale 'Helios'

https://morethanmoore.substack.com/p/amds-ai-future-is-rack-scale-helios
117•rbanffy•20h ago•67 comments

Meta-analysis of three different notions of software complexity

https://typesanitizer.com/blog/complexity-definitions.html
74•ingve•1d ago•13 comments

Breaking My Security Assignments

https://www.akpain.net/blog/breaking-secnet-assignments/
75•surprisetalk•3d ago•14 comments

Solar Orbiter gets world-first views of the Sun's poles

https://www.esa.int/Science_Exploration/Space_Science/Solar_Orbiter/Solar_Orbiter_gets_world-first_views_of_the_Sun_s_poles
258•sohkamyung•3d ago•28 comments

Chicken Eyeglasses

https://en.wikipedia.org/wiki/Chicken_eyeglasses
135•thomassmith65•4d ago•52 comments