logoalt Hacker News

rudedoggtoday at 3:09 PM1 replyview on HN

> He says he writes slop code and doesn’t provide a single example or prove that statement.

You can look at the bun codebase. Moving fast has its drawbacks, and bun moved very fast. It’s not what I’d call idiomatic or exemplary Zig.

I think this is what Andrew was highlighting with “beginner energy”. Not knowing you shouldn’t rewrite a toolchain and take on an entire ecosystem can be a positive. I think this is pretty common in business, where someone/something isn’t “great” but wins because they didn’t know any better and went headfirst into something experts avoided because they understand the challenges and what “doing it right” entails.


Replies

ModernMechtoday at 4:09 PM

I think if one is going to call someone else's code slop, it's up to one to a) define the term because it's meaningless and b) to actually give at least one example. Not idiomatic or exemplary is one thing, but as I understand it, slop means that no care was put into creating it.