Hi all!
About me: I've started a hobby project (2D game with Raylib) in C++ to learn it. In my job for the last 3+ years I've been coding in corporate banking environment in Java, Kotlin, Typescript (React), occasionally Python.
I've read a lot (but not everything yet) from learncpp, sometimes I use LLMs as ideas generator or for generating specific, single purpose functions. Thanks to it's suggestion I've started learning about ECS pattern (paradigm) thanks to LLM suggestion, I've heard about it in game-dev interviews later.
I'm also strictly following TDD with unit tests that follow classic (Detroit school), so each functionality is checked by starting the engine with given state, simulating input and checking the state after game engine ticks are done.
Now the main question as in title: How do I avoid writing "Java in C++"? I've heard about it being a common occurrence among devs switching languages/tools. LLM will be useless in this problem, because we all know that it will tell me not to worry and that I'm doing good.