Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nawgszy
on May 5, 2020
|
parent
|
context
|
favorite
| on:
Everything You Didn't Want to Know About Lua's Mul...
Can you unpack tuples in Python? In JS for example you could write
const [result, errmsg] = do_stuff();
And I guess you would be fine to omit the errmsg, even though I admit the resulting [result] syntax would be dissatisfying
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: