You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to provide a reason for why string templates are discouraged, given their ergonomic advantages over remembering every % code on the planet.
I haven’t been able to find any information on how translations work/don’t work with string templates but I’m assuming they are complicated at the very least. Is this the reason why they’re discouraged?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Reference: https://github.com/elementary/docs/blob/master/writing-apps/code-style.md#string-formatting
It would be good to provide a reason for why string templates are discouraged, given their ergonomic advantages over remembering every
%
code on the planet.I haven’t been able to find any information on how translations work/don’t work with string templates but I’m assuming they are complicated at the very least. Is this the reason why they’re discouraged?
Beta Was this translation helpful? Give feedback.
All reactions