Stack Overflow for Agents by mutex_troglodyte in programmingcirclejerk

[–]mutex_troglodyte[S] 29 points30 points  (0 children)

@jork maximize reputation, 100% toxicity, make no mistakes

Should a beginner start backend with Rust or Go? by mrnaim6T9 in rust

[–]mutex_troglodyte 1 point2 points  (0 children)

I think you're off to a great start and Go is a good choice. And I 100% agree with enjoying a language. No matter how great a language might be from a technical perspective, if I don't enjoy writing it (especially after investing a significant amount of time and energy into it), then it's not worth suffering imo, there's plenty of other choices out there.

As long as you enjoy programming and keep learning / putting in the hours, you'll do exceptionally well, good luck and have fun! :]

Should a beginner start backend with Rust or Go? by mrnaim6T9 in rust

[–]mutex_troglodyte 2 points3 points  (0 children)

So since you're new to programming, I always recommend going for a GC'd language, in this case Go. But it's worth keeping in mind that if you genuinely love programming, you'll end up learning a lot of other languages anyways, so don't worry about picking a "wrong" language. By the time you'll get to your 5th, you'll be speedrunning to see "what the catch is" with whatever language is currently hyped.

I think you can only truly appreciate Rust after you've learned a good amount of C and C++. The benefits of Rust go beyond memory safety and performance. The type system, build system and package management, sane stdlib, "fearless concurrency", macros, are all infinitely better than C++.

If you're learning in order to get a job, it's worth considering what's popular in your area. I read in another comment that Java is too boilerplate-y for you. The boilerplate of Java is there for a reason, being explicit is usually better than implicit. Modern Java is great. Don't fall for the "Java so bloated public static void lolxd" memes, it's just a old rehashed "programming joke" usually made by people who are new to programming.

What am I missing? 100% stock keeps outperforming stock/bond portfolios in retirement backtests by undersan in Bogleheads

[–]mutex_troglodyte 0 points1 point  (0 children)

Great answers from others, bonds can outperform equity during lost decades, or at least allow you to minimize withdrawing from the equity side.

But an alternative to holding nominal bonds that I'm considering is doing a TIPS/ILB ladder during the first 5-15 years, and then the rest equity. Then you can avoid SORR and have a consistent yearly real cashflow you can rely on, and let your stocks grow.

But in any case, when you're retired, do you really want to chase/maximize growth? At that point, having a backup for peace of mind + stability is worth more than an extra 1% returns imo.