3 ms·
Here it is in JavaScript (feel free to play around with it): https://tonicdev.com/tolmasky/widest-roman-prime https://tonicdev.com/tolmasky/widest-roman-prime
by tolmasky 11y ago
Here it is in JavaScript (feel free to play around with it): https://tonicdev.com/tolmasky/widest-roman-prime https://tonicdev.com/tolmasky/widest-roman-prime
Took me only a couple of minutes since it was mainly just searching for the right npm packages to piece together. Say what you like about micro libraries, but for explorations like this it really makes JavaScript in a league of its own.
- Illniyar 11y agoYou are missing the last step, using the "times new roman" font.
- tolmasky 11y agoIts on line 26 (have to scroll down to see it).
- ktRolster 11y ago> Say what you like about micro libraries, but for explorations like this it really makes JavaScript in a league of its own.Say what you like about micro libraries, but for explorations like this it really makes JavaScript in a league of its own. Indeed, we spend so much time arguing about programming languages, when in reality the presence or absence of libraries is much more important.
- epalmer 11y ago> Indeed, we spend so much time arguing about programming languages, when in reality the presence or absence of libraries is much more important. +1,+1
- omk 11y agoThat's the exact reason I believe in Javascript. Exploration and when you need something done quick and dirty.