Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
alagappanr
on Sept 13, 2013
|
parent
|
context
|
favorite
| on:
Happy Programmers' Day
New Year's Day would still be Day 1.
educating
on Sept 13, 2013
[–]
Yes, that's point. 0 and 1. No day 0, so make it day 1.
pyre
on Sept 13, 2013
|
parent
[–]
You're just taunting us that the year isn't zero-indexed! You could at least have the decency to hide it from us like Oracle[1].
[1]
http://www.techonthenet.com/oracle/functions/substr.php
mistercow
on Sept 13, 2013
|
root
|
parent
[–]
Wow, that was upsetting to read.
pyre
on Sept 13, 2013
|
root
|
parent
[–]
The best part is that they have to keep it to maintain backwards compatibility!
mistercow
on Sept 13, 2013
|
root
|
parent
[–]
That's when you bring down the deprecation hammer and create a new function with a different name and sane behavior. No need to actually remove the functionality at any point, but at least they could get code bases to phase it out.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: