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