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.
aes
joined 2 years ago
I... discovered that it works if I use a plane mesh and just position it manually. The conclusion then has to be that there is something screwy with how Decals get their textures. Maybe there's even a bug involved? Should I try to make a minimal repro?
I was talking to some people from a company that makes an eye-tracking thing and apparently it's really hard to do with precision, so it's unlikely that any hardware you're willing to pay for is going to do what you want.
Well, with the newer optional typing, it became
def foo(name: Optional[str]) -> Optional[str]: ...
and nowdef foo(name: str | None) -> str | None: ...
(No need to import Optional) It's quite nice.As for Rust, recall that Result is also a very similar union type. I think a lot of the aversions people have had to static typing have mostly just been about poor expressiveness in clunky type systems.