- cross-posted to:
- programminghumor@lemmy.world
- programmerhumor@lemmy.ml
- cross-posted to:
- programminghumor@lemmy.world
- programmerhumor@lemmy.ml
Made with KolourPaint and screenshots from Kate (with the GitHub theme).
Made with KolourPaint and screenshots from Kate (with the GitHub theme).
""
most likelyI meant that it should probably be:
String a = new String()
"".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…