Skip to main content
Meryan's user avatar
Meryan's user avatar
Meryan's user avatar
Meryan
  • Member for 4 years, 7 months
  • Last seen more than 2 years ago
About

General Rant

  1. Don't feel you have to use any particular Casing Conventions, it's only meant for those control freak in your enterprise team.
    1. The most stupid of all is cAmElCaSe
  2. Don't use any case-sensitive languages
    1. eg. C, C++, C#, JAVA, JavaScript, TypeScript, CSS, XML, ...
  3. Don't use any case-sensitive OS or FileSystem
    1. eg. Unix and it's flavors
  4. When something is case sensitive I purposely use ALLCAPS just to see if I can blow some of its bolts off.
  5. Don't use any separators like commas and semicolons if you can't use them as terminators
  6. If an environment insists on commas and semicolons as separators I do the following:
    1. [![enter image description here][1]][1]
    2. Otherwise I do the following (comma as terminators)
  7. Don't use any language or file format that won't let you embed comments
    1. eg. CSS, JSON
  8. If the display you are trying to workout has different dpi/ppi in each direction simply throw it out of the window

Can We Have Simply Human CSS?

CSS Specific Rant The Golden Rules

  1. I want a CSS for the average Joe
  2. I want a CSS I can read and comprehend in 6 months, or a year from now
  3. If CSS is breaking down (IOW, you observe severe breakpoints and all this trash jargon) then there is something wrong
    1. with the way it's being expressed
    2. not allowing you to express your design.
  4. Don't ever ever ever use units like  px, em,  ex, cm, mm, pt, etc...
  5. Use vmin, vh, vw and % when needed
  6. I don't care about retina non-sense, it means absolutely nothing, to me
  7. Avoid non-sense garbage CSS pollution things like
    1. -webkit-min-device-pixel-ratio,
    2. min--moz-device-pixel-ratio,
    3. -o-min-device-pixel-ratio
    4. I will soon commit murder!

PS. Always say NO to semicolons, camelCAsE and anything case-sensitive... absurdity at its best.

This user doesn’t have any gold badges yet.
This user doesn’t have any silver badges yet.
6
bronze badges
Top tags
0
Score
1
Posts
50
Posts %
0
Score
1
Posts
50
Posts %
0
Score
1
Posts
50
Posts %
0
Score
1
Posts
50
Posts %
0
Score
1
Posts
50
Posts %
Top posts