[1/*] If we take the chance that a tool (compiler, linker, batch, whatever) remains working for a particular codebase after one year as a given probability p, then the chance that build remains working after x years is p^xn, where n is the number of tools used in the build.
Haskell doesn't make I/O difficult; it reveals that I/O is difficult.
Rust doesn't make manual memory management difficult; it reveals that manual memory management is difficult.
@DeviousMalcon_t "Rewrite in Rust" is widely used because of their own interest. (It happens in other new languages also)
But Most of the people ask others to rewrite either new to Rust or rage baiting others to hate Rust devs
The clue is in the name, type alias. Meaning the type is still the same. We use type aliases to reduce having to type redundant things, such as aliasing away the Err type in a Result.
Use newtype pattern if you want two types out of one type
@iavins I think you should read more before blaming languages. In the original post, you wrongly compared with Go is type feature instead of type alias.
The Type "alias" is mainly to reduce the boilerplate not to create new types the same as Go
When you split a function to N different small functions, the reader also suffers multiple "instruction cache" misses (similar to CPU when executing it). They need to jump around the code base to continue reading. Big linear functions are fine. Code should read like a book.
@Karlsefnni When they win the same amount of championships and dominate as a top 3 for over a decade. Then fine, we can discuss if Faker is no longer the goat
Rocal UI is a simple Rust template engine for building views. It uses familiar syntax for embedding variables, if-else logic and loops. #DEVCommunity#RustLang
https://t.co/Y0PCvPgFkF
New Git diff alternative just dropped! 🔥
🎸 riff — A diff filter highlighting which line parts have changed.
💯 Supports highlighting conflict markers, merge commits & more!
🦀 Written in Rust!
⭐ GitHub: https://t.co/klNCiiCLnf
#rustlang #git #diff #highlight #commandline #vcs #development #programming #terminal