33 karma · joined Jan 15, 2024 (2y ago) · 29 submissions
comment 3w ago · link · parent
If anything, I do expect the casual non-tech users to be making the most adaptable software because they have what they want in their head. Although, part of what the dev does is figuring out the weeds, and only a part of users have the patience to sit through detail corrections. And the AI user has to verbalize their wants exactly too.
comment 3w ago · link · parent
It is impossible to reconstruct the intent/spec from the code. More often than not the intent is not clear in the code, and one has to track down the original author to check their context and decision at the time.
As the saying goes, naming things well is a hard problem. It's kinda mystical in a way, where only by knowing an entity's true name will one understand it.
However if it's communicated between agents one may care even less.
comment 1mo ago · link · parent
The hookiest tail for lowercase l man, love it.
Even for my own website, with some tighter tracking and it can work okay as a text font.
Another great customizable font is Maple Mono [0]
comment 1mo ago · link · parent
comment 1mo ago · link · parent
Protection of law in this way, I believe stops at the national borders (e.g the Chinese cleanrooming US software would be safe), so I do expect this clean room trend to be a war of attrition at the nation state levels.
comment 1mo ago · link · parent
comment 1mo ago · link · parent
comment 1mo ago · link · parent
comment 2mo ago · link · parent
For the part, I do believe there is a way to gain the "eyes of experience" without spending the years, just not sure exactly how.
comment 2mo ago · link · parent
24.
Ask HN: Software Design resources on the lower/class/module level
1 points · by needfish · 3mo ago · discuss
comment 3mo ago · link · parent
I think when people say software engineering, they confuse the high level designs (server, caching, db, etc. generally interaction constraints) and the lower level designs (modules, abstractions, classes, data structure design). There is a lot of content on the former but really few on the latter - which is some people cannot write new code, but can work on existing systems fine. Two main problems is 1. How to break down the problem at hand and 2. Organizing data into abstractions, and often creating new ones.
For (1) the advice everyone resorts to is "just do more" and rely on pattern recognition, because you can't really break down a thing you haven't seen nor can relate to what you've seen before. But there is [A Framework for Decomposition in Computational Thinking](https://www.researchgate.net/publication/334579725_A_Framewo...) that's the best attempt at it so far in my opinion. Some other approaches involve observation from ideal user flow and software ideal behaviour, or UI wireframing to see what elements should be there.
For (2), this also has the problem of organizing (which code goes into which file, which function does this belong to) and naming. For organizing data, I will recommend [The Many Forms of a Single Fact](https://www.bkent.net/Doc/manyform.htm) and the first chapter of [Data and Reality](https://cmpct.info/~calvin/Papers/Data%20and%20Reality.pdf) to see how impossible it is to create exactly correct representations in code. In areas that's entirely inside the box (e.g graphics) people don't often deal with messy representations of real world domains, but in business software they will do much more.
On the naming side, the first chapter of [Elements of Clojure](https://elementsofclojure.com/) was a really good attempt, making me realize it is way deeper into philosophy than anyone would like to wander in.
That said, the way software engineering discussion has been so far is very much influenced by the programming languages of the time (see Java), and so my recommendation is to try to learn concepts of organization independently, and see what its workaround is in your active language (e.g algebraic data type is sometimes useful, and people try to do it with sealed classes in Kotlin or interfaces in TypeScript). Once you have a good grasp of one tool (with all their warts, they all have pains), you'll find the capability to experiment.