#goodcode

2025-07-19

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

2024-12-23

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.

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"

2023-11-21

# 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

Rust Languagerustlang@apoil.org
2017-06-05

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

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst