Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
|
unlimiter's comments
login
unlimiter
on June 15, 2020
|
parent
|
context
|
next
[–]
| on:
Why do programming languages implement the unary o...
I'm designing a minimalist language and I'm not sure if I "need" to implement it while looking at it from a minimalist perspective. But I mostly won't until I find a good enough argument.
waynecochran
on June 15, 2020
|
parent
|
next
[–]
Almost 0 overhead to implement. Same precedence as unary '-' so extra parsing is trivial. No need to generate as AST for it.
unlimiter
on March 16, 2019
|
parent
|
context
|
prev
[–]
| on:
A Mathematical Way to Check for Number Negativity
Of course.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: