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
-
@teganburns it's functionality of C# itself, called Reflection)
@vigidis yes it's personal project for myself. It's shamefull to show to others, because you can just add windows and buttons in xml-layout, basic onClick event attribute to point to method in c# code connected via script tag. -
Say what you will but async code is soooo much easier to write and work with in JS, I very much like Promises since they're straightforward and do what you expect them to in a pretty immutable context.
(although python's is probably even more straightforward, elegant and concise) -
Wack61956y@woodworks I wouldn't say that python is simpler in this regards (disclaimer python isn't my strong language, so I could be wrong here). As I remember it, you'll have to start/stop threads on your own, while in JS it "just works" without thinking about threads.
-
@Wack true the async/await bit has some more overhead in python but I like that the control flow is simple enough that I can easily make threads and loops and run while waiting for a result, they managed to do async without the whole promise/maybe/optional jazz
Asynchronous No. Hmmm.
joke/meme
asynchronous bullshit