General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Anony Mousse
Low Level
comments
Comments by "Anony Mousse" (@anon_y_mousse) on "Rust Finally Betrayed Me (Coding in a Random Language Every Day)" video.
@not_ever You could use strtok() since before standardization because it's a carry over from C. Since they added iostreams, before Rust was even a swimmer in its daddy's balls, you could use it slightly more effectively than the *scanf() functions. However, it's ridiculous for @vintagewader to call it a joke that the language took so long to add functions that any halfway decent programmer could and had written themself. Of course, if @vintagewander were being honest they'd not shittalk C++ when it has better syntax than Rust. This coming from someone that has hated the language for over 20 years until Rust made me love C++. Oh, and one final note, anyone that doesn't already know, Boost is probably the reason why it's taken so long to standardize these features because it already provided the majority of them and since it's open source and cross platform, the language never really needed to add them anyway.
2
@sergeysharov350 Since my first post was shadowbanned, I'll just say it directly to you, but that's a skill issue. Aside from having string functions that carried over from C that allow you to split strings on whatever characters you want without reallocating or moving anything, you could always use Boost which has had pretty much all of the features that C++ has added to each subsequent standard in the past 20 years, and Boost does have that functionality. If you want to consider that a disadvantage, then stop using `cargo` when you write something in Rust, because if it's not in the standard library then it's the same as using Boost or any other third party library. And if you want to complain that downloading and installing Boost is hard, then either learn how to actually develop or use Linux where it comes pre-installed with most distros.
1