Deref
@derefnullptr
Graphics and software engineer.
OOP is another tool in the toolbox. Use it when it makes sense to do so. Just because someone uses a tool incorrectly is not a reflection of the tool itself.
This must be bait but still ironically exemplifies how OOP solves imaginary problems that don't exist and leads to overengineering. Obviously the more requirements you add the more complex the code becomes, that's true with OOP and without. But if you start writing your code…
"And it did this Every. Single. Frame."
Pro tip: Don't write your sprite render API like this: renderSprite("images/carIcon.png", Vec2(10, 20)); Implementation: 1. Load file from disk 2. Decode PNG 3. Create OpenGL image 4. Copy from CPU -> GPU 5. Draw command 6. Delete OpenGL image 7. Close file 8. Free memory
In a statically typed language, your complexity will lie in the compiler. In a dynamically typed language, your complexity will lie in the virtual machine.
Cool floating-point hack, but redundant nowadays. Don't use this.
Did everyone collectively forget the ads, non-consentual overnight installs, trackers enabled by default, and the preinstalled bloatware?
if you're in only in tech for the money and fame; you're ngmi
It's no wonder how Mojang literally owns the game of the century, a creative and imaginative sandbox with limitless potential, and yet actively chooses to do next to nothing with it. They're creatively bankrupt.
Jeb confirms that they wouldn't have added the creeper if it wasn't a thing already. And they kept it because it's iconic
i swear the programming space is now 60% webshit 30% AI/LLM/vibecoding 10% literally everything else
why are we out here still programming like it's the 90s
a = a ^ b; b = a ^ b; a = a ^ b; If you choose the arithmetic way, you could risk overflows. (Yes, I'm some corny mf, @ryyabhh)
United States Тренды
- 1. #Worlds2025 41.7K posts
- 2. #TalusLabs N/A
- 3. Doran 17.2K posts
- 4. #T1WIN 27.1K posts
- 5. Sam Houston 1,593 posts
- 6. Boots 29.2K posts
- 7. Oregon State 4,806 posts
- 8. Faker 31.9K posts
- 9. Lubin 5,804 posts
- 10. Keria 10.7K posts
- 11. #Toonami 2,720 posts
- 12. #T1fighting 3,450 posts
- 13. Louisville 14.4K posts
- 14. Option 2 4,146 posts
- 15. Hyan 1,389 posts
- 16. Emmett Johnson 2,630 posts
- 17. UCLA 7,821 posts
- 18. Nuss 5,602 posts
- 19. Frankenstein 126K posts
- 20. Oilers 5,319 posts
Something went wrong.
Something went wrong.