Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
BarkMore
on Dec 14, 2011
|
parent
|
context
|
favorite
| on:
From zero to Go: launching on the Google homepage ...
'0' has the decimal value 48, not zero. '!' has the decimal value 33. Here's a demo program that you can run from your browser:
http://play.golang.org/p/qAKG9j5E4V
All characters have values greater than or equal to zero.
Dylan16807
on Dec 14, 2011
[–]
comex said less than '0'. 33 minus 48 is negative.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
All characters have values greater than or equal to zero.