david.wtf · @flashmasterdash
74 followers · 333 posts · Server mastodon.gamedev.place

Rust's cycle() iterator will turn any iterator into an ever-repeating stream of elements. Nice 🤗 But make sure you have your exit code in place.

#rust #rustlang #learningrust #rustlangtips

Last updated 2 years ago

david.wtf · @flashmasterdash
73 followers · 317 posts · Server mastodon.gamedev.place

If you use a strict programming language, it will make you a better developer even when working outside/without the given constraints.

From experience, I can tell that this is very true. After working for years with Java, I switched to the safer and stricter Kotlin language and picked up several good programming habits which I could port and apply the same way to Java (which I also did with great success!)

#rust #rustlang #learningrust #rustlangtips #kotlin #lifelonglearning

Last updated 2 years ago

Astra Kernel :verified: · @AstraKernel
503 followers · 534 posts · Server infosec.exchange
Astra Kernel :verified: · @AstraKernel
503 followers · 534 posts · Server infosec.exchange
Astra Kernel :verified: · @AstraKernel
491 followers · 520 posts · Server infosec.exchange