this post was submitted on 02 Feb 2024
295 points (96.8% liked)

Programmer Humor

19695 readers
141 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
[–] [email protected] 2 points 9 months ago* (last edited 9 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.