Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
AlexanderDhoore
on June 2, 2014
|
parent
|
context
|
favorite
| on:
The Swift Programming Language
This might increase performance, but I'm pretty sure it's mostly there for safety. It forces the programmer to check for nil. It's like Haskell's "maybe" type.
cdmckay
on June 2, 2014
[–]
Or Scala's Option or Java 8's new Optional (
http://docs.oracle.com/javase/8/docs/api/java/util/Optional....
)
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: