Follow

This is why I avoid using the shorthands. Just be clear: padding-left, padding-right, padding-top, padding-bottom. Make readable code. It's worth the keystrokes.
---
RT @csaba_kissi
Understand different padding definitions in CSS
twitter.com/csaba_kissi/status

@worldsendless
I always think of it like a clock going clockwise. I usually compress things to the shorthand after everything is finalized and in good order.

@souldessin why compress, though? It only hurts later reading/maintenance, for a few bytes of savings that might not be worth the time it takes to do that rewrite.

@worldsendless
I guess it is a bit of a layover from before processors and ram got so cheap. I've always had it in the back of my mind to optimize for download speed.

The dialup modem sounds still haunt me to this day. All so that I don't get 14.4Kbps.

@souldessin nice explanation :) Reminds me of stories I have heard of hold-overs from original C/Assembly who try to save memory with shorter variable names. In fact, I still see lots of historical examples of variable-name-truncation in timeless things like Emacs

@worldsendless
I will still occasionally find myself using variables like I'm in math. i==x+y

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.