5 ms·
One thing that I hardly see implemented is grouping of numbers and strings in 4s or 3s. Like the credit card companies do on their credit cards. For example, i
by kwanbix 5y ago
One thing that I hardly see implemented is grouping of numbers and strings in 4s or 3s. Like the credit card companies do on their credit cards.
For example, if you need to show me on a website my CBU, international account number which is 24 numbers long, please, don't show them like this:
345234234665232423247322
Show it instead like this:
3452 3423 4665 2324 2324 7322
It is much much easier to read.
90~95% of the time were numbers (or even characters!) are listed, nobody splits them.
This I learned in Isaac Asimov's book "Asimov on Numbers" IIRC. Great book by the way.
- machiaweliczny 5y agoIs it possible to split with CSS so that when copied it won't have spaces?
- 4lun 5y agoYep, you can use separate HTML elements, the key bit is to keep the closing and opening tags directly adjacent with no whitespace or newlines, example https://jsfiddle.net/z65qwuvp/1/ https://jsfiddle.net/z65qwuvp/1/
- mvolfik 5y agosee your comment siblings, there are some clever font tricks to achieve that too
- specialist 5y agoThere's a clever font that uses ligatures to achieve what you're suggesting. ~I'll edit (or reply) if I can dig up the link.~ Aha. Numderline. h/t @bla3
- da39a3ee 5y agoIt's sad to say, but there's a strong correlation between "good programmer" and "formats things in fixed width using ``` in slack".