The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen.
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
1) builds binaries that need no additional runtime to be installed -- produces exe which runs natively. 2) Cargo packaging system is actually quite nice. 3) very C/C++-like so easy to learn, but I can already tell there is quite a bit of protection there so you don't shoot yourself in foot. 4)libraries are named similar to std c libaries so easy to find 5 Unit testing is built-in just decorate method with #[test] and you're ready to go. then run with $ cargo test --- AMAZING 6 syntax is very similar to Kotlin (which I know from Android dev) so at least there is some cross-over learning.
Types are like u64, u32 (unsigned), i32 (integer) f32 (float).
Made me laugh because it took me back to the days of hungarian notation[^] which was beat up by C# and VisualStudio and all the people said, "stop using hungarian notation!!" and I finally gave it up. Now, in Rust, it's kind of back. 😆🤓
Hungarian notation is fine for low-level types. The Rust names are even shorter than their analogues in C++'s <cstdint>. But it's an abomination for user-defined types and data in a type-checked language.
Types are like u64, u32 (unsigned), i32 (integer) f32 (float). Made me laugh because it took me back to the days of hungarian notation[^]
I don't see a connection between the type names you listed and Hungarian notation. The type names are simple, short, and yet meaningfully describe the type.
Hungarian notation on the other hand attempts to encode information about the value's type in the value's name. Microsoft adopted this as a standard, which caused a fair amount of the programming community to follow suit.
Personally I don't like it. The cardinal complaint is that if the type changes, then the value name should change with it. The problems with Hungarian notation are worse than an inconvenience, however. To my mind Hungarian notation violates principles like implementation hiding, since it exposes implementation details in the names. I also find that the prefixes are visual clutter and make the code harder to read. I have a body of code I maintain with hundreds of classes, all of whose names are prefixed by "cls". Utterly worthless clutter.
You mean you didn't like lpszWindowText (long ptr to null terminated string)???
Man, I know how to troll on CP, just mention Hungarian Notation.
I think back in the day when people printed out code to do code reviews (hahahahaha as if anyone prints code now or does code reviews) that Hungarian was kind of nice cuz you knew the type when you looked at it. But I'm glad it's gone too. Put me down for "Happy with the present situation of variable names." Just thought it was funny that the intrinsic types are a slight throwback to Hungarian.
Thanks for the info. It's way over BASIC knowledge...
Anything that is unrelated to elephants is irrelephant Anonymous - The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 - Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
... a way to keep Microsoft Edge from opening to the start page? I have it set to continue last session, but it always opens to a new Google tab and immediately switches to it. I haven't found a way to disable that, but I must be overlooking something.
(Well, maybe not. Many months ago I noticed a bug where if I left Edge running, sometimes when I did something I never pinpointed in other windows (not Edge) a new Google tab would activate in Edge. A few times I found 5 or six of the buggers open without me having been in Edge. MS is failing to impress, although they seem to have fixed that bug, and you can finally use an extension to open a new tab to the front, thankfully.)
I just switched to Brave -- I'm not kidding. Right after I read your post, I switched.
I switched for two reasons.
1) Brave still has [x] on each tab so you can quickly close a browser tab (firefox has removed that).
2) Brave still has arrows on scrollbar. FireFox just removed that.
See this snapshot for those features in Brave. https://i.stack.imgur.com/5JfNl.png[^]
I'm running Ubuntu 20.04 desktop. Also, Brave has a sync feature (allows to share history and bookmarks across devices) so I'm happy with that too.
I'm now running it on my MOtorola G7 also.