The only difference between a novice and a professional is that a professional checks what they are copying to understand it first before allowing it into their codebase.
Novices copy code to avoid having to understand it. Professionals copy code to avoid reinventing the wheel.
Unlike Python, most languages do not endorse a specific concept of style. You’re free to dabble in all the bad style choices you like, on the off chance that once in a blue moon they prove to be situationally useful.