top | item 37108497

(no title)

thumbuddy | 2 years ago

You probably shouldn't deal with lifetimes outside of first order use cases in 9/10 cases when a project is in its early stages. A clone or wrapper type isn't all that expensive in many applications. Just because something can be optimized doesn't mean it should be, especially early on in a project.

discuss

order

ssokolow|2 years ago

*nod* Rust's "make costs explicit" design does have a bit of a problem with encouraging premature optimization where something like Python would encourage sloppiness.

thumbuddy|2 years ago

I'll take obvious jank over hidden jank any day personally.