Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
steve_adams_86
10 months ago
|
parent
|
context
|
favorite
| on:
Software development topics I've changed my mind o...
Like many comments, I find we can eliminate it without losing anything by using better variable names.
seconds++;
That gets the idea across very clearly to me and has the benefit of (likely) making the rest of the code clearer too
sethammons
10 months ago
[–]
and the variable will invariably store milliseconds because someone didn't read the docs on timelib.Now() or store an int as a counter for makeshift vector clock :p
types for the win
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: