Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Alphasite_
on July 5, 2015
|
parent
|
context
|
favorite
| on:
Jshell: The Java Shell (REPL)
Because you're sacrificing consistancy and type safety for object to avoid increasing the syntax which feels like optimising for the wrong metric.
jonathankoren
on July 5, 2015
[–]
It's a REPL! It's for debugging. If you're not optimizing for ease of use, you're optimizing for the wrong metric.
lgas
on July 5, 2015
|
parent
[–]
You could also just add support for the "var x =" notation into the REPL as a preprocessing step that translates it to the appropriate typed representation.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: