293
Whitespace (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] ShortFuse@lemmy.world 2 points 8 months ago* (last edited 8 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.

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

Programmer Humor

19315 readers
647 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