HNHacker News
TopNewBestAskShowJobs

pixelworm

44 karma · joined June 27, 2025

submissionscomments
pixelworm··on The key to getting MVC correct is understanding what models are
I think nearly every definition of MVC I've read has been different. At this point it just means you split something into three classes as far as I can tell.
pixelworm··on Ask HN: Best codebases to study to learn software design?
Thanks! I appreciate it!
pixelworm··on Ask HN: Best codebases to study to learn software design?
Are there any books or websites you'd recommend I read to learn more about design instead? I 100% need to learn by doing, but wouldn't it also be good to learn what has already been discovered so I don't have to reinvent the wheel? Or is it best to discover good design on your own?
pixelworm··on Ask HN: Best codebases to study to learn software design?
I agree that the internals of my code should be abstracted away from my users. But don't I still want the internals to be well designed so they are maintainable and extendable?
pixelworm··on Ask HN: Best codebases to study to learn software design?
Thank you!
pixelworm··on Ask HN: Best codebases to study to learn software design?
Yeah, I guess without the context I wouldn't really understand why it was designed that way. Or know what situations a design like that would be good for.

Is there any documentation or literature that has helped you?

pixelworm··on Ask HN: Best codebases to study to learn software design?
This is pretty much how I've learned up to this point (and will of course continue). Trying to learn from real world code will be a new experience for me. Not sure how valuable it will be but should be fun either way.
pixelworm··on Ask HN: Best codebases to study to learn software design?
I would be interested in recommendations for those who have a poor example or no examples

In my case, I'm a junior engineer that has recently been given more responsibility designing aspects of our product. I'm just trying to learn all I can so my designs will be good!

pixelworm··on Ask HN: Best codebases to study to learn software design?
I haven't considered time to implement as a metric for evaluating design, but it makes a lot of sense.

I definitely learn so much from my team's codebase. Most of what I learn is either from the good designs I see in there or from my googling trying to fix the not so good parts.

pixelworm··on Ask HN: Best codebases to study to learn software design?
Yeah, as I've been learning more about software design, it's become pretty clear there is no silver bullet. It would be nice though. I find it a bit overwhelming to try to find the best solution for a problem when there are so many different architectures and programming paradigms.

That being said, taking into account the requirements does eliminate quite a few of the options. Right now, I work on safety-critical embedded systems which requires us to make some decisions that would most likely be way different in other environments.

pixelworm··on Ask HN: Best codebases to study to learn software design?
I'll check it out, thanks!
pixelworm··on Ask HN: Best codebases to study to learn software design?
Well maybe I'll take some time to learn about email servers then. I use email everyday so I suppose it'll be good to know a little more about how it works.
pixelworm··on Ask HN: Best codebases to study to learn software design?
Oooh I like that idea. I may steal it. I'll be on the lookout for documents like that. It'll be interesting to see what patterns/designs were avoided. There are so many ways to accomplish the same thing it might be nice to set some limits.
pixelworm··on Ask HN: Best codebases to study to learn software design?
I'm definitely going to do that. I asked because I wanted to start off with some that I'd knew would be well designed. However, it would probably be more interesting to see a wide variety of quality than just the good ones.

Or maybe open source projects are all usually well designed. I haven't looked at many in depth. The only one I've really looked into was Clang to try to figure out why clang format ignored my style rules when styling files of certain names. (Turns out there is a list of file names that automatically are considered Objective-C rather than C++)

pixelworm··on Ask HN: Best codebases to study to learn software design?
Whoa, I didn't know something like this existed. Thank you so much! This will make it way easier to check if something has already been asked.
pixelworm··on Ask HN: Best codebases to study to learn software design?
Thank you!