this post was submitted on 12 Aug 2023
1558 points (97.7% liked)

Programmer Humor

32558 readers
390 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
all 28 comments
sorted by: hot top controversial new old
[–] annoyed_onion 95 points 1 year ago (5 children)

Just put everything into tables. That's how we did it when I were a lad

[–] [email protected] 31 points 1 year ago

OG grid layout

[–] ChickenLadyLovesLife 9 points 1 year ago (2 children)

I used to enjoy building webpages with Notepad.

[–] [email protected] 6 points 1 year ago (1 children)

Man this triggered some forgetten memories.

[–] ChickenLadyLovesLife 16 points 1 year ago

This is my favorite Notepad memory: in the late '90s I went through a six-month stretch where Internet Explorer's "View Source" command just totally stopped working. It would normally open up the HTML source of a page in Notepad and suddenly not having this made debugging ... challenging to say the least. Nobody else that I worked with had this problem and nobody could figure out what had happened to me.

The culprit turned out to be an inexplicable IE bug where View Source wouldn't work if you had a shortcut named "Notepad" on your desktop. It didn't even have to be a shortcut to Notepad, it just had to be named that. The fix was to just rename the shortcut "NotepadX" and then View Source worked again.

[–] annoyed_onion 3 points 1 year ago

Elements and attributes IN ALL CAPS, because reasons

[–] dylanTheDeveloper 9 points 1 year ago* (last edited 1 year ago) (1 children)

Works for Word aswel (just make em invisible)

[–] Klear 5 points 1 year ago

Also works for Lua.

[–] [email protected] 5 points 1 year ago (1 children)

This and bespoke, hand crafted rounded edges.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

that's how I kept my digtal axes so sharp by hand grinding img corners

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago)

That's right, we don't need no stinkin' CSS!

Update: Just for clarity - we most definitely need the stinkin' CSS.

[–] [email protected] 3 points 1 year ago

Frames… Lots of frames.

[–] [email protected] 58 points 1 year ago* (last edited 1 year ago) (2 children)
                    Awesome
 
  It's a really good skill to learn.           But Make sure you get a good work flow.  
      You don't want to be one of those that can't center a div
[–] [email protected] 37 points 1 year ago (1 children)
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
align-items: center;
justify-content: center;
display: grid;
place-items: center;
[–] [email protected] 16 points 1 year ago (1 children)

Pah too many words just use tabs 🤣

[–] dot20 19 points 1 year ago (1 children)
[–] [email protected] 23 points 1 year ago

W3C: nah those mfs have it way too easy, deprecates it

[–] [email protected] 1 points 1 year ago

Who are you calling a div?

[–] MeatsOfRage 24 points 1 year ago

Don't flex too hard

[–] Shady_Shiroe 21 points 1 year ago

Here is your trophy:

[–] [email protected] 13 points 1 year ago

without looking at the community i already saw from the top text that it has to be an css joke

[–] [email protected] 6 points 1 year ago

This is the real struggle

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

I sometimes think to grok CSS you have to have a printing degree.

[–] [email protected] 4 points 1 year ago (1 children)

Learning tailwind for the first the be like

[–] [email protected] 1 points 1 year ago

Ha! Just started that 2 days ago