Re:The case of the critical section that let multiple thread...
by robmccoll on Sunday March 23, 2025 @03:53PM
(#43455393)
Typedeffing away pointers means I don't know when copying or passing something if it's by value or by reference.
[ Parent
| on HN ]
Re:The case of the critical section that let multiple thread...
by nikanj on Monday March 24, 2025 @10:45AM
(#43461703)
If it starts with LPsomething or Psomething, it's a pointer. Turns out the much-hated hungarian notation does provide value
Re:The case of the critical section that let multiple thread...
by account42 on Monday March 24, 2025 @12:50PM
(#43463012)
Having your typedef be simply "something" and then using something* instead of Psomething would provide the same value and also be readable to people not familiar with your particular naming convention.