Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
demosito666
· 8y ago · 0 comments
I believe _() would be even better, granted you might want to translate messages in future. At first might just def _(s): return s.
Comments
[–]
ComputerGuru
8y ago
A single underscore is pretty much de facto reserved for localization.
[–]
jedberg
8y ago
Which is exactly what this is. Putting everything a human reads into a function is step one of localization.