@hypertown to Programmer [email protected] • 1 year agoI like Python defimagemessage-square62arrow-up1553arrow-down142
arrow-up1511arrow-down1imageI like Python def@hypertown to Programmer [email protected] • 1 year agomessage-square62
minus-square@[email protected]linkfedilink16•edit-21 year agopub async fn foo() -> Pin>>>>> oh fuck commonmark cant display the syntax :( well anyone who has done async rust can imagine
minus-square@[email protected]linkfedilink2•edit-21 year agoPin<Box<dyn Future<Output=Result<AsyncResponseThatYouWillHaveToAwaitAgain<ActualResultType>, InscrutableErrorTypeThatDoesntImplementDisplay>> + Send + Sync + 'static + 20MillionMoreAutoTraits>>
minus-square@[email protected]linkfedilinkEnglish24•1 year agofun is the punchable face of keywords. I don’t know why, but I hate it.
How about some
fun
?How about some
fn
instead?pub async fn foo() -> Pin>>>>>
oh fuck commonmark cant display the syntax :( well anyone who has done async rust can imagine
p a f fn(){}
Pin<Box<dyn Future<Output=Result<AsyncResponseThatYouWillHaveToAwaitAgain<ActualResultType>, InscrutableErrorTypeThatDoesntImplementDisplay>> + Send + Sync + 'static + 20MillionMoreAutoTraits>>
Exactly, now we are talking
these puns are getting
func
yChef’s kiss 👌
So much better
fun
is the punchable face of keywords. I don’t know why, but I hate it.Oh, you’re no
fun
.^I’ll see myself out.^
For me it’s friend
I prefer good old
def
How about some
(defun)
?better than
function
Kotlin?
Yes
deleted by creator