Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to draw the line between efficiency and practicality

Tags:

html

css

I understand very well the need for websites' front ends to be coded and compressed as much as possible, however, I feel like I have more lax standards than others when it comes to practical applications.

For instance, while I understand why some would, I don't see anything wrong with putting selectors in the <html> or <body> tags on a website with an expected small visitation rate. I would only do this for a cheap website for a small client, because I can't really justify the cost of time otherwise.

So, that said, do you think it's okay to draw a line? Where do you draw yours?

like image 970
dclowd9901 Avatar asked Jan 20 '26 10:01

dclowd9901


1 Answers

Some best practices can be safely ignored if you know what your are doing and why you are doing it.

Don't cut corners because you are lazy, but don't over engineer a 2 page website. Use your judgment.

But, if you delude yourself into thinking you are better than you are, either yourself, or a future maintainer will be cursing your existence.

like image 131
Byron Whitlock Avatar answered Jan 22 '26 00:01

Byron Whitlock