HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-22 months agoWhy make it complicated?lemmy.mlimagemessage-square119linkfedilinkarrow-up1354arrow-down137file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1317arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-22 months agomessage-square119linkfedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squareBehindTheBarrier@programming.devlinkfedilinkarrow-up2·2 months ago"".to_string() probably
minus-squarenintendiator@feddit.cllinkfedilinkEnglisharrow-up1·12 days agoI am not married to any particular language’s syntax choices but sure if we want to play “make it feel like C++”: std::cpp26::string a : std::cpp26::make_unique( std::cpp26::string{} ); I could try and pass it through a number of iostreams or a to_array conversion to see if I can push a to_string() in somewhere…
"".to_string()
probablyI am not married to any particular language’s syntax choices but sure if we want to play “make it feel like C++”:
I could try and pass it through a number of iostreams or a to_array conversion to see if I can push a
to_string()
in somewhere…