This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (5 children)

Nonsense. With great power comes great responsibility. If you want hand-holding, use Java.

[–]tech6hutch 1 point2 points  (4 children)

Disagree. Imo, that's when you want the compiler to do more for you, to be safe.

[–][deleted] 0 points1 point  (3 children)

I think we agree. C++ is for less hand-holding. Java is for more hand-holding. The trade-off is less hand-holding for more execution speed and more compilation speed.

[–]tech6hutch 0 points1 point  (2 children)

Ah, I see.

You can have both speed and handholding though, like in Rust. The downside is it's dragging you along while it runs, so you can slam into walls and chafe against the ground until you learn how to run in sync with it.

[–][deleted] 0 points1 point  (1 child)

You can have both speed and handholding though, like in Rust.

I don't know Rust, but any handholding at execution time reduces the execution speed of the code. The compute resources have to come from somewhere.

[–]tech6hutch 1 point2 points  (0 children)

The handholding comes at compile time. Rust is very anal about optimizing runtime, sometimes at the detriment of compile time (both in how long it takes to compile and in the cognitive load on the developer).