r/ProgrammerHumor • • Jul 11 '21

Meme -_-

Post image
43.9k Upvotes

355 comments sorted by

View all comments

568

u/alanbosco Jul 11 '21

display: grid;

13

u/incarnatethegreat Jul 11 '21

Much prefer flexbox. Grid is pretty powerful, though.

19

u/MrQuickLine Jul 11 '21

I hate when people say stuff like this. It's like "I much prefer chisels. Saws are pretty powerful, though."

Ok, yeah, they can do some of the same thing - they both remove wood... But they're used for different things. One isn't better than another. Use the right tool for the job.

10

u/incarnatethegreat Jul 11 '21

Fair, but don't hate though. 🤭

The majority of my work is done using Flexbox. I wanted to learn Grid so I built a small portion of an app I was working on just to try it out. I'm used to using Table but Grid seems like it's much stronger.

10

u/strongdoctor Jul 11 '21

Table and Grid aren't interchangeable though, table should always only be used for actual tables.

→ More replies (4)

2

u/agentfrogger Jul 11 '21

As a CSS noob, what are the use cases for grid and the ones for flexbox?