News for hackers. Stuff that matters.
Re:Ask HN: Given two repos of code, what criteria would you ... by silisili on Tuesday November 15, 2022 @11:53PM (#33619026)
Not in any particular order

1 - Safety, does it handle errors, etc.

2 - Readability. Did the author make it easy for me to read. Includes comments.

3 - LOC. The shorter the better. Too many people overengineer things. YAGNI.

4 - Dependencies. Are they reasonable? Too many is code smell, to me.

5 - Performance, if applicable.

There are no comments on this comment yet.