Discussion about this post

User's avatar
Henrik Jernevad's avatar

To make things more complicated, I know from experience that some developers (typically those trained in math) tend to to structure things like a proof, with "atoms" first, building up to larger entities.

Expand full comment
Avinash Thakur's avatar

While reading this, I realized I unknowingly followed a mixed pattern, where I would use cohesion and sorting both.

Like, first group the variables by related meaning, then sort these groups alphabetically.

Much like

```

filters,

setFilters,

result,

setResult,

title,

setTitle,

```

Expand full comment
11 more comments...

No posts