Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
petepete
· 4y ago · 0 comments
Why do I need to remember that Saturday is 5?
Comments
[–]
d0mine
4y ago
>>> import calendar >>> calendar.SATURDAY 5
[–]
petepete
OP
4y ago
Yeah, I'll take `Date#saturday?` thanks.
[–]
squeaky-clean
4y ago
¿Por qué necesito recordar que el sábado es "Saturday"?
[–]
wiseowise
4y ago
Rest of the language doesn't bother you?
[–]
unixhero
4y ago
Porque en ese caso no usas un IDE moderno.
[–]
throwawaymaths
4y ago
Tampoco "if", "for", "while"...
[–]
quickthrower2
4y ago
You are allowed to define your own constants.
[–]
greenpeas
4y ago
S looks like 5 if you squint. not hard to remember
[–]
jjgreen
4y ago
So Sunday?
[–]
greenpeas
4y ago
No! Sunday is 6 because "Sunday" has 6 letters.
[–]
jjgreen
4y ago
That's it, I'm switching to Python!