-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"99 is enough for anybody" (I only zero-padded two digits) #18
Comments
Move to 4 digits now! There may be 1,000 but there will never be 10,000 :) Joking of course, I think triple digits would be fine. Better sooner than later. |
@lukeholder Ha ha, thanks for the input. I think you're right, it needs to be done and soon. In addition to renaming the files, I think the build script that controls all of this should understand/allow exercise numbers without leading zeroes as input from the user. I don't personally mind typing I'll look into this soon and when I'm ready, I'll add another comment. Anybody else who happens to read this is welcome to claim the work if I haven't yet! |
When I hit 999 exercises, I will finally have reached the ultimate state of soteriological release and no more exercises will be needed. The cycle will be complete. All that will be left is perfect quietude, freedom, and highest happiness.
It is done. Now we meditate. ☁️ 000 🌩️ |
When I hit 999 exercises, I will finally have reached the ultimate state of soteriological release and no more exercises will be needed. The cycle will be complete. All that will be left is perfect quietude, freedom, and highest happiness.
Rather than hem and haw about it in the beginning, I went ahead and started these with two digit padding. But at this rate, I might run out of two-digit numbers before I'm even done with the language itself, let alone the standard library!
The other problem is inserting new items. Changing the order of items is even worse, but obviously won't ever be needed because this order is objectively perfect as is. 😆
I thought about leaving the exercises un-numbered, which would allow me to change the order or insert new topics easily. But I really like the fact that you can go into the exercises directory and see the order plain as day.
Triple Digit Number Options:
100_foo.zig
and it'll alpha-sort between 09 and 11 orIf the filenames are to be triple-digit, I'd rather bite the bullet sooner rather than later.
Move/Insertion Options:
12.1_while2.1.zig
orI have a strong aversion to renumbering anything at any time because it will screw up existing written references to specific exercises (in commits and mentions internal or external to the project). In general, I really like the ability to refer to the exercises by absolute number and being able to count on that not changing.
The text was updated successfully, but these errors were encountered: