News for hackers. Stuff that matters.
Re:Stages of denial in encountering K by brazzy on Monday March 09, 2020 @04:00AM (#22523756)
...and in idiomatic K code, you apparently still need to constantly wonder what 'a' or 'X' means in your current context, with likely 5 different usages on your screen at once.
Re:Stages of denial in encountering K by iateanapple on Monday March 09, 2020 @04:15AM (#22523804)
I have not experienced that.

If you see many different usages of the same identifier then it’s probably a common construct/pattern you aren’t aware of.

In the same way as ‘i’ tends to be used as the current array index in a for loop - but devs don’t get confused by seeing ‘i’ used in lots of different loops.

Or kotlin devs seeing ‘it’ or class based language devs seeing ‘this’.

Re:Stages of denial in encountering K by brazzy on Monday March 09, 2020 @08:56AM (#22524965)
So you claim it never happens that two people working on different parts of the code decide to use the same identifier for completely unrelated things?

Seems to me that is bound to happen pretty frequently when the expectation is to use only one- and two-letter identifiers.