this post was submitted on 02 Feb 2024
286 points (96.7% liked)

Programmer Humor

19207 readers
1289 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ShortFuse@lemmy.world 2 points 7 months ago* (last edited 7 months ago)

I don't code much C++, but then I'd lose alignment with: x = *p; and I feel that would bug me.

I'm looking at Google Style Guide for my next project and it says either is fine, just don't declare more than one per line.