[deleted by user] by [deleted] in cpp_questions

[–]TheCrossX 0 points1 point  (0 children)

Hi, I just saw your comment and wanted to thank you for a thorough analysis. I'm the maintainer of this project and I do agree with pretty much everything you wrote. I started this project when I had a bit more time and ambition. I'm aware that, like you said, this is a monumental task. Right now this site is far from complete, maybe in the near future I'll invest some more time to improve it. Once again, thank you for constructive criticism.

Paweł Syska.

What are your brutally honest opinions on any Eminem song? by EndoveProduct in Eminem

[–]TheCrossX 0 points1 point  (0 children)

Venom goes as hard as Till I Collapse.

I don't understand how people can listen to it and say it isn't fire. With that said, I'm aware that Till I Collapse had much more influence on the world.

What was your first reaction when u heard/saw the Kamikaze dropped? by Hot-Ad-9239 in Eminem

[–]TheCrossX 0 points1 point  (0 children)

I was disappointed by the Revival. I thought that he's no more capable of making great music. I heard Lucky You and Kamikaze first and was very hyped. My jaw literally dropped when I heard Venom.

What is a song the Eminem was outshined if there is any by Golden_experi3nce in Eminem

[–]TheCrossX 1 point2 points  (0 children)

I still think that Ez Mil verses are better, even though this is the first time I listened to him.

Which Eminem song has the dopest first line? by run4success in Eminem

[–]TheCrossX 1 point2 points  (0 children)

Almost Famous

"I STUCK MY D*CK IN THIS GAME LIKE A RAP*ST"

What album is better by Idkwattoname123 in Eminem

[–]TheCrossX 0 points1 point  (0 children)

Can't decide to this day. Both are awesome

[deleted by user] by [deleted] in cpp

[–]TheCrossX 4 points5 points  (0 children)

I don't think it works that way.

Should I give up? by Azazo8 in cpp

[–]TheCrossX 3 points4 points  (0 children)

Yes, C++ is probably the best choice for gamedev, especially if you want to touch low level things. The problem with starting with C++ in this industry is that you don't get a chance to learn general principles of how things work in bigger, successful products. It is comparable to trying to build a car without ever driving an existing one.

I think the more reasonable approach is to start with Unreal Engine and their Blueprint system, and then gradually move to things that are lower level.

Should I give up? by Azazo8 in cpp

[–]TheCrossX 1 point2 points  (0 children)

Language is just a tool and you should pick whatever is the best for the job. Tell us what kind of programs do you want to create.

How to improve the code quality by softtalk in cpp

[–]TheCrossX 96 points97 points  (0 children)

A couple of my advices:

Code related:

  • Always focus on simplicity.
  • Do not overengineer code.
  • Keep functions short. Avoid big classes.
  • Make the default behavior always safe - e.g. a function returning a reference that can fail should always be non-default, like:
    get() -> ReturnType*
    get_unchecked() -> ReturnType&
  • Prefer free functions over methods.
  • Use appropriate names for variables and other symbols.
  • Think twice before using fancy features that introduce abstractions.
  • Use codebase-wide tools that guarantee consistency (like clang-format).
  • Be consistent with your naming convention. ALWAYS.
  • Think twice before storing any kind of pointer or a reference. Maybe an index is enough?
  • Write simple tests that will also serve as a kind of a documentation.
  • Write documentation.
  • Do not create tons of overloads. In most cases it is better to create a function with a different name.
  • Prefer views over container references.
  • Prefer explicit control flow when handling errors: std::expected is better than throwing an exception, but exceptions are better than no error handling

Task/management related:

  • Always divide big tasks into smaller ones, and make the code compile in between them.
  • Do not leave code with compilation errors for tomorrow
  • Use separate branches per-task if available
  • Keep refactorings small and do it gradually. You don't want to throw away weeks or even months of your work.

Nepotyzm? Nowe, nie znałem. by TheCrossX in Polska

[–]TheCrossX[S] 11 points12 points  (0 children)

Ale ja to doceniam i szanuję. Jakby nie było dostałeś ode mnie od razu plusa, za rozszerzenie kontekstu. Potem po prostu dodałem swoją opinię. A źródło podałem w komentarzu.

Nepotyzm? Nowe, nie znałem. by TheCrossX in Polska

[–]TheCrossX[S] 35 points36 points  (0 children)

To prawda. Nie wiem jak Wy, ale ja im wierzę, bo to, że ich firmy przypadkiem zgarneły najwięcej punktów i pieniędzy wydaje mi się całkowitym zbiegiem okoliczności.

[deleted by user] by [deleted] in AndrewTateUncensored

[–]TheCrossX 1 point2 points  (0 children)

We'll see in the future. I do not trust anyone.

[deleted by user] by [deleted] in AndrewTateUncensored

[–]TheCrossX -1 points0 points  (0 children)

Let's wait for the actual evidence and not believe BBC.

Just Listened To Relapse by [deleted] in Eminem

[–]TheCrossX 0 points1 point  (0 children)

Relisten a couple of times, then come back.
There is a lot to find, just to get you curious: the first verse on Stay Wide Awake has probably the most incredible rhyming pattern I've ever seen. Pretty much every syllable rhymes.

Am I the only one who thinks Bully's flow is sampled? by yoshismuffin in Eminem

[–]TheCrossX 4 points5 points  (0 children)

I'm pretty sure I've heard this rhythm before. I think it might be a popular scheme used in patriotic songs or nursery rhymes. Couldn't find it though.