I just like this wrapping for promise returns ok?

@0x0f I think this is what I hate about javascript the most, the damn promise wrapping syntax :(

@freemo I like this way because it reminds me of the iterator trait in Rust

@0x0f Fair, always interesting to me to see how different people have different code aesthetics and how it usually relates to their favorite languages or perhaps their first language.

@freemo oh well I think Java (my first language) looks with mapping/enumeration the same way

Follow

@0x0f Java is the language I am more proficient in, though im not sure i really enjoy java, it just makes me the most money so I keep doing it more often than I would otherwise.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.