logoalt Hacker News

dahart • yesterday at 2:43 PM • 2 replies • view on HN

I’m sure exponential is what parent meant, but geometric (edit: polynomial) is what actually happens, not exponential. Code complexity increases linearly when it doesn’t interact with other features, and geometrically when it does. In the worst case, complexity increases as the square of lines of code. That is still very, very bad, but it’s not exponential.


Replies

ebertucc • yesterday at 3:01 PM

What's the difference? From what I'm reading online geometric is just the discrete version of exponential

➕ show 2 replies
codechicago277 • yesterday at 3:38 PM

“Square of the lines of code”

Sounds exponential

➕ show 4 replies