Better HN
topnewbestaskshowjobs
Log inSign up

kelihlodversson

5 karma · joined Feb 19, 2018 (8y ago) · 2 submissions

Submissions

1.

Conway's game of life on the BLiTTER(keli.dk ↗)

1 points · by kelihlodversson · 6y ago · discuss

comment 8y ago · link · parent

In my experience this is often possible by removing duplicated functionality into a shared implementation. That is by exchanging multiple features of linear complexity into a single implementation. Due to being shared, that implementation will tend to have geometric complexity.

That means the duplication has to be highly significant and variations need to be few for it to pay off. ... And you'll better hope you have a good set of tests to verify everything is still working.

In most cases it's still a good idea, but it's still a case where you need to argue that you really need it, so it's no exeption at all.