[Rust] Why code in text like a peasant when you can code using emojis

https://tomdebruijn.com/posts/rust-string-length-width-calculations/

Why use pi when you can use 🥧

fn main() {
    let pi_emoji = "🥧";
    let pi_value = 3.1415926535897932384626433832;

    println!("Let {} {:.28}", pi_emoji, pi_value);
}
4 points · 0 comments · view on lemmy.world

0 Comments

duskfall@lemmy.world · 1 pts · 1y
[ removed ]