| ▲ | AnimalMuppet 4 hours ago | |
In embedded, I like wrapping a class around a set of registers. Nobody else gets to write to that piece of hardware except that class. As far as avoiding things... avoid basically everything you don't need. Don't add language features that don't actually help you, just because they're there. Keep the subset you use small. But pick that subset to match your problem well, rather than out of dogma. | ||