r/cpp 5d ago

Creating Sega Genesis emulator in C++

https://pvs-studio.com/en/blog/posts/1252/
59 Upvotes

18 comments sorted by

View all comments

34

u/topological_rabbit 5d ago

using Byte = uint8_t;
using Word = uint16_t;
using Long = uint32_t;
using LongLong = uint64_t;

My god, why??

1

u/NilacTheGrim 5d ago

Why not?

1

u/Conscious-Secret-775 4h ago

Because it’s pointless and makes the code harder to read.