All posts tagged: CSS

Naming standards and consistency

Leave a comment
Software Development

I’m a big proponent of keeping a consistent naming standard, even when crossing languages. True, capitalization and syntax may change, but the standard should remain. Importantly, I have found that naming should play to the strengths of the operating system. File Names For example, on every operating system you can sort files by name (i.e. in Windows Explorer on Windows, Finder on Mac, and so on for Linux, etc.). With this in mind, naming should […]

A consistent pattern for CSS element positioning

Leave a comment
CSS

I spend a lot of time switching between different languages and each has a slightly different pattern for element positioning. This often creates the need to pointlessly look up the rotation pattern for each language, which is no doubt a waste of time. To overcome this, I find that using the default pattern for a language consistently is key. For example, CSS has a different pattern then XAML. However, by reusing CSS’ default pattern it […]