this post was submitted on 21 Jun 2023
4 points (100.0% liked)

Python

6288 readers
3 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

๐Ÿ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

๐Ÿ Python project:
๐Ÿ’“ Python Community:
โœจ Python Ecosystem:
๐ŸŒŒ Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
 

Having spent time with Kotlin's by lazy, I really like the lazy item.

Most of the others I don't have strong opinions about, yet.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] aes 2 points 1 year ago* (last edited 1 year ago)

Actually, you know what? I think Lua-style single argument function calls would be awesome for all kinds of quasi-literals, but sure, Path should be built in.

(for reference, iirc, f("Foo") and f({a=1}) can be written f"Foo" and f{a=1}, respectively)