3 ms·
Eh, as someone who's used both I'd probably disagree with that. CSS is at least a hell of a lot easier to debug than assembly, depending on the device you're wr
by CM30 3y ago
Eh, as someone who's used both I'd probably disagree with that. CSS is at least a hell of a lot easier to debug than assembly, depending on the device you're writing the code for.
But it's a weird comparison anyway. The difficulties in CSS aren't using it to begin with, they're about all the edge cases, browser compatibility issues (for the more modern stuff) and its limitations for handling layout setups other tools have handled for years. Meanwhile, assembly's challenges are often that you have too few tools, and a lot of the language patterns you're used to in modern day programming languages are nonexistent.
Like the type you write for the SNES lacks for/foreach style loops, so something that's a two line piece of code in Java/PHP/JavaScript/Python/whatever can be like 15 lines in assembly there.