General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
hearted comments
Youtube hearted comments of (@diadetediotedio6918).
The math language was invented, math on itself, on the other hand is a very complex topic, but it is fundamentally based on logics and human intuitiion, and we know for sure "it works" in the objective reality so we can also know for sure that it is objective and human independent in at least some sense of the term.
3
@NoBoilerplate I do know the macro "pipeline" from my searches, you can do things like: let length = pipe!( "abcd" => [len] => (as u32) => times(2) => [to_string] ); // from their documentation I did not use it yet, but I saved as fav because it looks so cool
3
What? Rust return system is extremely intuitive from a human perspective, just think a bit about it. If you own, you should handle, if you need ownership back, return back the object. Programmers (mostly from C-based languages) tend to think in terms of just copy and references, but that doesnt mean taking a step away from this is a bad thing.
2
All languages were invented technically speaking
2
Before watching the response, this was the algorithm I came up with: ``` base = 10 str = "1030" println(string_to_int(str, base)) fn string_to_int(str: string, base: int) { let number = 0 each (index, char) of str { let digit = lookup_from(char) let exp = base ** len(str) - index - 1 number += digit * exp } return number } ```
1