The more time you spend in the mall, the fuller are the bags on the way out, be it out of chance, habit, or convenience.
- this makes them really stand out, much easier to track the mutation visually,
- the underscore effect is intrusive just-enough to nudge you to think twice when adding a new `var`.
Nothing like diving into a >3k lines PR peppered with underscores.
it would seem to be data science, although this complexity is not what is demanded of tech employees and these skill sets are rarely used
This line, though, seems like it's using the wrong tools for the job:
len(list(filter(lambda line: all([abs(x) >= 1 and abs(x) <= 3 for x in line]) and (all([x > 0 for x in line]) or all([x < 0 for x in line])), diffs)))
To me it's crying out for the lines to be NumPy arrays: sum(1 for line in diffs
if ((np.abs(line) >= 1) & (np.abs(line) <= 3)).all()
and ((line > 0).all() or (line < 0).all()))
There's no need to construct the list in memory if you're just counting, and dealing with whole lines at once is much nicer than going element by element. On top of that, this version is much more left-to-right. diffs.countIf { line ->
line.all { abs(it) in 1..3 } and (
line.all { it > 0} or
line.all { it < 0}
)
}Sure you'll get messages, but every one will be "quick call?"
I understand this passage and can relate, "self-evidently awful to them only" seems a bit of a stretch. There are places on Earth where "being employed for tourism" means job security, worker rights and social protections, where staff is treated with respect and are allowed dignity.