Remix.run Logo
pbw a day ago

I have mixed feelings about the "Do X in N lines of code" genre. I applaud people taking the time to boil something down to its very essence, and implement just that, but I feel like the tone is always, "and the full thing is lame because it's so big," which seems off to me.

utopiah 20 hours ago | parent [-]

I do prototyping for a living and ... I definitely do "X in 1/100th lines of code" regularly.

It's exciting, liberating... but it's a lie. What I do is to get the CORE of the idea so that I fully understand it. It's really nice because I get a LOT of millage very quickly... but it's also brittle, very brittle.

My experience is that most projects are 100x bigger than the idea they embody because the "real World" is damn messy. There are always radically more edge cases than the main idea enables. At some point you have to draw a line but the furthest away you draw the line, the more code you need to do it.

So... you are right to have mixed feeling, the tiny version is only valuable to get the point but it's not something one can actually use in production.