Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
RyEgswuCsn
on April 3, 2024
|
parent
|
context
|
favorite
| on:
"Real" anonymous functions for Python
How about allowing non-indentation-defined code blocks? Say, by wrapping a block of code with {}?
BerislavLopac
on April 3, 2024
[–]
That's already been taken care of - all you need to do is:
from __future__ import braces
RyEgswuCsn
on April 3, 2024
|
parent
[–]
Excellent, Python is officially my favourite language now!
317070
on April 3, 2024
|
root
|
parent
[–]
I am not 100% certain, but I suspect you haven't tried it yet. Or you might like your languages to incorporate humour?
fuzztester
on April 3, 2024
|
root
|
parent
[–]
They might not have imported antigravity yet, either.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: