Didn't you know that C++ programmers are better than compilers at checking code for safety though? And if they aren't, it's a skill issue.
/s
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Didn't you know that C++ programmers are better than compilers at checking code for safety though? And if they aren't, it's a skill issue.
/s
It's all worth it for that sweet sweet 50ms speedup!/s
And sensible compile times.
I'm trying to write a game in Bevy but my laptop's Intel 7400 taking almost a minute to compile even small changes is really killing me.
I've looked up rustc compile times on different CPUs and am seriously considering getting a new laptop with a Snapdragon X Elite or something in that vein for this.
Should return 0;.
Not needed, main in C++ implicitly returns 0 if there is no return
Should ≠ Needs to
You can do it, and it will work, but it's unclean and not best-practice. I wouldn't be surprised if it's undefined behaviour.
Just to clarify. It is defined behavior - there's plenty of undefined behavior in C but that ain't one of them.
>What is C++? A miserable huge pile of "should"s
Love me some Castlevania++
Still love it tho. You can make it whatever you want!
should have a space after „>” and two new lines after „?”.
I guess markdown is miserable as well.
not being able to master markdown might hint at why the commenter is struggling with C++
Hey now, markdown serves it's purpose. It's not great, but as a web dev, I don't want people expecting full WYSIWYG editors in every website cause fuck that!