Skip to main content
deleted 137 characters in body
Source Link
cobrexus
  • 833
  • 6
  • 19

Rust, 116116 96 bytes

use rand::Rng;let f=||"abcdefghijklmnopqrstuvwxyz".chars().collect::<Vec<_>>()[randf=||b"abcdefghijklmnopqrstuvwxyz"[rand::thread_rng().gen_range(0..26)];]as char;

Rust Playground

Rust, 116 bytes

use rand::Rng;let f=||"abcdefghijklmnopqrstuvwxyz".chars().collect::<Vec<_>>()[rand::thread_rng().gen_range(0..26)];

Rust Playground

Rust, 116 96 bytes

use rand::Rng;let f=||b"abcdefghijklmnopqrstuvwxyz"[rand::thread_rng().gen_range(0..26)]as char;
Post Undeleted by cobrexus
deleted 198 characters in body
Source Link
cobrexus
  • 833
  • 6
  • 19

Rust, 320 309116 bytes

use rand::Rng;let f=||["Yup","You doubt me?","Of course","..f=||"abcdefghijklmnopqrstuvwxyz". did I miss something?","please send teh coffee","Watching this endless list of new questions never gets boring","Kinda sorta","You should totally drop that and use jQuery","¯\\_chars()_/¯","... good question"][randcollect::<Vec<_>>()[rand::thread_rng().gen_range(0..1026)];

Rust PlaygroundRust Playground

Rust, 320 309 bytes

use rand::Rng;let f=||["Yup","You doubt me?","Of course","... did I miss something?","please send teh coffee","Watching this endless list of new questions never gets boring","Kinda sorta","You should totally drop that and use jQuery","¯\\_()_/¯","... good question"][rand::thread_rng().gen_range(0..10)];

Rust Playground

Rust, 116 bytes

use rand::Rng;let f=||"abcdefghijklmnopqrstuvwxyz".chars().collect::<Vec<_>>()[rand::thread_rng().gen_range(0..26)];

Rust Playground

Post Deleted by cobrexus
Source Link
cobrexus
  • 833
  • 6
  • 19

Rust, 320 309 bytes

use rand::Rng;let f=||["Yup","You doubt me?","Of course","... did I miss something?","please send teh coffee","Watching this endless list of new questions never gets boring","Kinda sorta","You should totally drop that and use jQuery","¯\\_(ツ)_/¯","... good question"][rand::thread_rng().gen_range(0..10)];

Rust Playground