Just discussed it with a friend and shared that I am quite rigorous on doing translations in a certain way.
One example is the last change, read the commit message:

Don't do any simple string translations like "in" which totally miss all context, they will go wrong in some language. Use "in $location" now, so one can see the context what the "in" is meant to be for.

#i18n #django #gettext #goodcode

I've taught a lot of people to code and I've found myself giving the same advice again and again. Here are a few things that come up a lot.

https://buff.ly/40710Yq

If you are early in your career, check it out. And share it with someone who would benefit.

If you have been around the block, what stands out for you? And what other advice would you give?

#CodeNewbie #ProgrammingTips #LearnToCode #GoodCode #DevAdvice"

Advice I often give to new programmers

I've spent a lot of time teaching people hour to be professional developers. Here is some of the advice I give again and again

# I could in theory do this with one big structured loop:
# ansible.builtin.copy
# src: '{{ item.src }}'
# dest: '{{ item.dest }}'
# loop:
# - src: source1
# dest: dest1
# - src: source2
# dest: dest2
# et cetera et cetera et cetera </king-of-siam>
# but this is more *readable*, and I want 2am me
# or any other poor soul who has to try to decipher this
# to not hate me and want to do unspeakable things, so:

(insert multiple copy stanzas by target directory here)

#goodcode

RT @donald_whyte: Check out double -- a #googlemock inspired mocking framework for @rustlang! #rust #testing #mock #goodcode https://t.co/Q… source: https://twitter.com/rustlang/status/871769364864872448