Hacker News new | past | comments | ask | show | jobs | submit | geitir's comments login

Would love to see a git repo



Yes


This thread has been shadow banned


Git uses SHA and then dynamically set the number of characters to use based on repository size. You could do something like this.


You can’t “fix issues” if the software is running at the kernel level


Amazing idea


At least google will still walk back on things when they truly suck. Recent example is where they replaced the default Shopping, Images, Videos tabs when you search for something with autogenerated suggestions. It was awful. But, even though it took them a few months, that entire change seems to be reverted.


There is worth in the spiritual sense in that all living things are worthy and all of man are created as equals.

There is worth in a sociological sense in that a disabled person may be a positive contributor to the society in one way, but because of their disability cannot be in another. Similarly a niche artist is a positive contributor in their niche, where an unpopular artist indicates they may be considered less of a contributor than others.

In the sociological sense I would argue yes it is possible to compare “worth”.


No opinion on SOLID with regard to your comment. But DRY is foundational to any code because it forces you to find the right abstraction.


If code is copied and pasted everywhere that is obviously bad. However, some repeated code is better than none in many cases.


This is the kind of thinking that leads to unmaintainable AbstractFactoriesFactory classes. Sometimes allowing repeat code is good because two functions might drift away from common functionality in the future which would require a major rework of whatever abstraction you put over them to get them under the same roof.


Even in simpler cases it can be problematic. For example, refactoring a tiny bit of repetitive code into a separate function might seem like a good idea. But, over time, things diverge and now additional parameters and branches have to be introduced to support. A small amount of repeated code is optimal.


No, it just forces you to find an abstraction, not necessarily a good one. Badly designed abstractions can be far worse than repetition.


Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: