informatique:polices:developpeur
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| informatique:polices:developpeur [2026/07/19 16:51] – supprimée - modification externe (Date inconnue) 127.0.0.1 | informatique:polices:developpeur [2026/07/19 17:03] (Version actuelle) – [Polices pour développeur] alexis | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | ====== Polices pour développeur ====== | ||
| + | Quand on travaille de nombreuses heures sur du code, il est important de mettre toutes les chances de son coté pour se faciliter la vie. | ||
| + | Ça commence pas l' | ||
| + | |||
| + | Avec une mauvaise police, il y a des risques de mauvaise lecture du code, par exemple en confondant : | ||
| + | * 0/O (le chiffre " | ||
| + | * 1/l (le chiffre " | ||
| + | * B/8 (la lettre " | ||
| + | |||
| + | <WRAP info> | ||
| + | Les différentes polices sont testées avec l' | ||
| + | <code php> | ||
| + | public function getElementValue(array $collection, | ||
| + | { | ||
| + | /** Comment #1 */ | ||
| + | if (empty($collection)) { | ||
| + | return null; | ||
| + | } | ||
| + | | ||
| + | // Comment #2 | ||
| + | foreach ($collection as $key => $element) { | ||
| + | if ($key < $index || $key > $index) { | ||
| + | echo 'Index does not match key', PHP_EOL; | ||
| + | continue; | ||
| + | } | ||
| + | | ||
| + | return $element-> | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | </ | ||
| + | ===== Fira Code ===== | ||
| + | <WRAP group> | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | abcdefghijklmnopqrstuvwxyz\\ | ||
| + | ABCDEFGHIJKLMNOPQRSTUVWXYZ\\ | ||
| + | 0123456789.:,; | ||
| + | àÀâÂçÇéÉèÈêÊëËîÎïÏôÔùÙûÛüÜæÆœŒ\\ | ||
| + | The quick brown fox jumps over the lazy dog\\ | ||
| + | %%== === != !== >= <= -> <=> =>%%\\ | ||
| + | 0O 1l B8 <> [] {} 2N2N2N2N | ||
| + | </ | ||
| + | </ | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | %%public function getElementValue(array $collection, | ||
| + | { | ||
| + | /** Comment #1 */ | ||
| + | if (empty($collection)) { | ||
| + | return null; | ||
| + | } | ||
| + | | ||
| + | // Comment #2 | ||
| + | foreach ($collection as $key => $element) { | ||
| + | if ($key < $index || $key > $index) { | ||
| + | echo 'Index does not match key', PHP_EOL; | ||
| + | continue; | ||
| + | } | ||
| + | | ||
| + | return $element-> | ||
| + | } | ||
| + | }%% | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP info> | ||
| + | * [[https:// | ||
| + | * La police est directement disponible dans les dépôts de Arch Linux. | ||
| + | * La police supporte les ligatures. | ||
| + | </ | ||
| + | |||
| + | ===== Intel One Mono ===== | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | abcdefghijklmnopqrstuvwxyz\\ | ||
| + | ABCDEFGHIJKLMNOPQRSTUVWXYZ\\ | ||
| + | 0123456789.:,; | ||
| + | àÀâÂçÇéÉèÈêÊëËîÎïÏôÔùÙûÛüÜæÆœŒ\\ | ||
| + | The quick brown fox jumps over the lazy dog\\ | ||
| + | %%== === != !== >= <= -> <=> =>%%\\ | ||
| + | 0O 1l B8 <> [] {} 2N2N2N2N | ||
| + | </ | ||
| + | </ | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | %%public function getElementValue(array $collection, | ||
| + | { | ||
| + | /** Comment #1 */ | ||
| + | if (empty($collection)) { | ||
| + | return null; | ||
| + | } | ||
| + | | ||
| + | // Comment #2 | ||
| + | foreach ($collection as $key => $element) { | ||
| + | if ($key < $index || $key > $index) { | ||
| + | echo 'Index does not match key', PHP_EOL; | ||
| + | continue; | ||
| + | } | ||
| + | | ||
| + | return $element-> | ||
| + | } | ||
| + | }%% | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP info> | ||
| + | * [[https:// | ||
| + | </ | ||
| + | |||
| + | ===== Iosevka ===== | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | abcdefghijklmnopqrstuvwxyz\\ | ||
| + | ABCDEFGHIJKLMNOPQRSTUVWXYZ\\ | ||
| + | 0123456789.:,; | ||
| + | àÀâÂçÇéÉèÈêÊëËîÎïÏôÔùÙûÛüÜæÆœŒ\\ | ||
| + | The quick brown fox jumps over the lazy dog\\ | ||
| + | %%== === != !== >= <= -> <=> =>%%\\ | ||
| + | 0O 1l B8 <> [] {} 2N2N2N2N | ||
| + | </ | ||
| + | </ | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | %%public function getElementValue(array $collection, | ||
| + | { | ||
| + | /** Comment #1 */ | ||
| + | if (empty($collection)) { | ||
| + | return null; | ||
| + | } | ||
| + | | ||
| + | // Comment #2 | ||
| + | foreach ($collection as $key => $element) { | ||
| + | if ($key < $index || $key > $index) { | ||
| + | echo 'Index does not match key', PHP_EOL; | ||
| + | continue; | ||
| + | } | ||
| + | | ||
| + | return $element-> | ||
| + | } | ||
| + | }%% | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP info> | ||
| + | * [[https:// | ||
| + | * La police supporte les ligatures. | ||
| + | * La police vient en différentes variantes, il va falloir chercher un peu pour trouver celle qui convient. | ||
| + | </ | ||
| + | |||
| + | ===== JetBrains Mono ===== | ||
| + | |||
| + | <WRAP group> | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | abcdefghijklmnopqrstuvwxyz\\ | ||
| + | ABCDEFGHIJKLMNOPQRSTUVWXYZ\\ | ||
| + | 0123456789.:,; | ||
| + | àÀâÂçÇéÉèÈêÊëËîÎïÏôÔùÙûÛüÜæÆœŒ\\ | ||
| + | The quick brown fox jumps over the lazy dog\\ | ||
| + | %%== === != !== >= <= -> <=> =>%%\\ | ||
| + | 0O 1l B8 <> [] {} 2N2N2N2N | ||
| + | </ | ||
| + | </ | ||
| + | <WRAP half column box> | ||
| + | <typo ff:' | ||
| + | %%public function getElementValue(array $collection, | ||
| + | { | ||
| + | /** Comment #1 */ | ||
| + | if (empty($collection)) { | ||
| + | return null; | ||
| + | } | ||
| + | | ||
| + | // Comment #2 | ||
| + | foreach ($collection as $key => $element) { | ||
| + | if ($key < $index || $key > $index) { | ||
| + | echo 'Index does not match key', PHP_EOL; | ||
| + | continue; | ||
| + | } | ||
| + | | ||
| + | return $element-> | ||
| + | } | ||
| + | }%% | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP info> | ||
| + | * [[https:// | ||
| + | * La police supporte les ligatures ((Il existe une version sans ligature pour utiliser avec les outils n' | ||
| + | * La police supporte plusieurs langues, plusieurs langages, plusieurs graisses. | ||
| + | </ | ||
| + | |||
| + | ===== Liens ===== | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | |||
| + | |||
