snaggen

joined 2 years ago
[–] [email protected] 9 points 3 months ago (5 children)

There are lots of guides, tutorials and documentation. The responsibility is no longer on someone else, it is up to the individuals to actually read any of them. And to be honest, if you are unable to use them to learn rust, maybe your c++ skills isn't that impressive either.

https://bpbonline.com/products/rust-for-c-programmers?variant=42560853639368 is one if found using a tool called search engine...

 

This is a blog post that really is about C++, but with a look at how Rust does things. So, this is an interesting C++/Rust comparison for once.

[–] [email protected] 2 points 4 months ago (2 children)

I wanted to use the debug fmt functions, to allow for pretty debug also.

 

Last week I basically duplicated the serialization code to provide better debug output.... today, I see this pass in my Mastodon feed. 😀 Well... what are the odds... most likely close to 100% according to how the universe seems to operate.

[–] [email protected] 0 points 4 months ago

No, but the process to identify the ones that work is all part of the modern medicine. Before that, placebo and lack of scientific methods made it impossible to separate a working substance from snake oil.

[–] [email protected] 3 points 4 months ago (12 children)

Yes, historical medicin was so good, lets work our ass off to recreate it...

[–] [email protected] 1 points 4 months ago (1 children)

Are you saying that it is common that people use utf8 characters that you cannot easily type on a standard keyboard? I'm very skeptical of this claim.

[–] [email protected] 2 points 4 months ago (3 children)

Good to know that every time I feel the need to use ALGOL 68, I must remember to disable ligatures. Still not sure this is going to be a huge problem 😂

[–] [email protected] 2 points 4 months ago (5 children)

Well, that was something.... I have used ligatures in my code editor for quite a few years now, and I have NEVER been confused about the ambiguity this person is so upset about. Why? I have never ever seen the Unicode character for not equals in a code block, simply since it is not a valid character in any known language. In fact, I have never even seen it in a String where it actually would be legal, probably since nobody knows how to type that using a standard keyboard. This whole article felt like someone with a severe diagnose have locked in on some hypothetical correctness issue, that simply isn't a problem in the real world.

But, if you for some reason find ligatures confusing, then you shouldn't use them. But, just to be clear, there is not a right of wrong like this blog post tries to argue, it is a matter of personal taste.

[–] [email protected] 1 points 4 months ago (7 children)

Splits, ligatures tabs and more

[–] [email protected] 3 points 4 months ago (9 children)

Cosmic term is nice. Still just alpha, so there are rough edges though.

[–] [email protected] 8 points 4 months ago* (last edited 4 months ago) (3 children)

For Boomers, cars was the latest tech that everyone was fiddling with. This caused even the boomer that wasn't very interested , to know quite a lot. For later generations, car became more of a means of transportation, and the knowledge of cars was only for specialists. For gen X, computers were the high tech thing, everyone was fiddling with. Most gen x can setup a printer if they have to. For later generations, computers are just tools, and the knowledge is only for specialists.

[–] [email protected] 8 points 4 months ago (1 children)

fs::exists() was a nice little improvement that I didn't know about until I read this announcement.

[–] [email protected] 18 points 5 months ago (1 children)

Producing products that the users wants, and that solves tje users real problems. And not trying to make products as addictive as possible, to harvest as much user data as possible to sell.

view more: ‹ prev next ›