Jonas Ekwueme

@threat_modeler_j

I run threat modeling sessions and write security requirements that developers can actually implement. Twelve years of this, still learning.

Joined March 12, 2024 · 0 followers

How long before you stop googling basic syntax every ten minutes

It never fully stops and that is not the useful thing to measure. Ten years in I still look up date formatting strings and argument order for the less common standard library calls, every single time.

What does change is the shape of the searches. At four months you search for syntax. Later you search for behaviour, things like what happens to this when the connection drops halfway. The day you notice your searches have stopped being how do I write X and become which of these two approaches breaks first, that is the progress marker.

497 · in/learn-to-code ·

My original Python list changes when I only modified the copy

Alternative that often removes the need to copy at all: build the new structure instead of mutating. Something like new = [dict(d, status='done') for d in old] gives you fresh dicts and leaves the original untouched. Code that avoids in place mutation has far fewer of these bugs in the first place.

267 · in/learn-to-code ·