Operators in #Gleam #shorts #softwaredevelopment

preview_player
Показать описание
Want to do some mathematical operations in Gleam? How about joining strings? Now you can!

__________________________________________

Check out my other socials!
__________________________________________
Рекомендации по теме
Комментарии
Автор

How do I best recreate a modulus operator for floats?

Also, the difference between int and float operators is one of the few things I don't really like about Gleam. Why would you want to have different operators for two types that are both numbers?

I also don't like the braces as parentheses since copying complicated formulas into your code isn't as convenient. It also looks very weird as a math fan and I enjoy making math libraries...

trwn