This post is part of the Steemit Hints & Tips Serie!
Let me know in the comments if you have have nice ideas to share!
When we explain a piece of code in a post, we like to highlight the specific code lines with numbers / letters:
import { Injectable } from '@angular/core';
@Injectable()
export class RandomService {
constructor() {}
getRandomNumber(): number {
return 4; // ๐
ฐ
}
getReferenceUrl(): string {
return "https://xkcd.com/221/"; // ๐
ฑ
}
}
๐
ฐ Chosen by fair dice roll. Guaranteed to be random.
๐
ฑ Inspiration for this brilliant algorithm, by xkcd.
You may choose among many different styles of letters and numbers.
โ โก โข โฃ โค โฅ โฆ โง โจ โฉ
โ โ โ โ โ โ
โ โ โ โ
โถ โท โธ โน โบ โป โผ โฝ โพ โฟ
โ โ โ โ โ โ โ โ โ โ
โต โถ โท โธ โน โบ โป โผ โฝ โพ
โถ โท โธ โน โบ โป โผ โฝ โพ โฟ
โ โ โ โ โ โ โ โ โ โ
๐
๐
๐
๐
๐
๐
๐
๐
๐
๐
๐ฐ ๐ฑ ๐ฒ ๐ณ ๐ด ๐ต ๐ถ ๐ท ๐ธ ๐น
๐
ฐ ๐
ฑ ๐
ฒ ๐
ณ ๐
ด ๐
ต ๐
ถ ๐
ท ๐
ธ ๐
น
โ
ฐ โ
ฑ โ
ฒ โ
ณ โ
ด โ
ต โ
ถ โ
ท โ
ธ โ
น
๐ฐ๐ฑ๐ฒ๐ณ๐ด๐ต๐ถ๐ท๐ธ๐น
โ
โ โ๐โโฎ๐
โโโโโโ
โ โฃ โฅ โฆ
Remarks:
We prefer ๐ over โถ as they are more visible.
โ Always have the unicode characters inside comments to allow copy pasting your code. Here, in Typescript, we use "//".
Have a look at our Series:
Stay tuned! We're just getting started!