Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
jestdotty5401101dgeez spent 4 minutes changing my code to something dumb and it works and passes the tests but I'm scared because what the fuck did I just write
God why -
jestdotty5401101dyou try making promises in a statically typed language, fuck
everybody else gave up
mine works and has performance unlike the others
it's just
fucking horrific looking -
typosaurus12186100dAwesome! Can you show some syntax on how to use it? Is it kinda like in JavaScript?
-
Tounai1335100dThe awful thing is this lifetime annotations. It should have been done another way.
-
typosaurus12186100d@jestdotty i don't know anything about Rust but is this normal to have in Rust? I'm failing to get the promise part out of your code :( I have no idea if you're showing me the source or the way how it must be used. That's frustrating. Maybe I should do Rust basics tutorial
}));
}
}
}
}));
}
rx
}
}
Related Rants
tried to frustratingly google "how to make rust code not ugly", ended up here: https://github.com/koute/stdweb/...
nevermind
inb4 I redesign everything for the 6th time
rant
rust