News for hackers. Stuff that matters.
Re:Fuzzyset – A Human-Readable Interactive Representation of... by mjdease on Tuesday July 03, 2018 @10:50PM (#17454991)
> And I code in 42 character width, so those are short lines

I've never heard of an approach like this, how did you settle on 42? I'd be very interested to see an example if you have some code hosted somewhere?

My initial reaction is 42 is too short and would encourage terse non-descriptive naming and be a pain to deal with long strings.

Re:Fuzzyset – A Human-Readable Interactive Representation of... by erikpukinskis on Wednesday July 04, 2018 @04:54AM (#17456060)
40 was a little too small, and 42 has been OK in practice!

I find it’s helpful because beating any structure beyond maybe 5 levels deep is painful, so I am forced to refactor.

Names aren’t so much of an issue because of the single-file-per-repo and 150-line-target principles:

If your module only consists of 150 lines, there’s just not enough in your namespace to need long names. Essentially, you only ever work within a small, isolated piece of a huge flat namespace.

Long names are necessitated by the huge, deep API surface that the filesystem provides.

Re:Fuzzyset – A Human-Readable Interactive Representation of... by tzahola on Wednesday July 04, 2018 @02:06AM (#17455524)
Maybe he’s programming in APL