Click here to Skip to main content
16,020,114 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralWhere can we all meet up when CP disappears Pin
pkfox3hrs 19mins ago
professionalpkfox3hrs 19mins ago 
GeneralRe: Where can we all meet up when CP disappears Pin
Peter_in_27801 hr 30mins ago
professionalPeter_in_27801 hr 30mins ago 
GeneralWordle 1,211 Pin
OriginalGriff4hrs 22mins ago
mveOriginalGriff4hrs 22mins ago 
GeneralRe: Wordle 1,211 - 3 4 me Pin
pkfox3hrs 53mins ago
professionalpkfox3hrs 53mins ago 
GeneralRe: Wordle 1,211 Pin
pkfox3hrs 48mins ago
professionalpkfox3hrs 48mins ago 
GeneralRe: Wordle 1,211 Pin
OriginalGriff3hrs 29mins ago
mveOriginalGriff3hrs 29mins ago 
GeneralRe: Wordle 1,211 Pin
pkfox3hrs 3mins ago
professionalpkfox3hrs 3mins ago 
GeneralRe: Wordle 1,211 Pin
OriginalGriff2hrs 46mins ago
mveOriginalGriff2hrs 46mins ago 
GeneralRe: Wordle 1,211 Pin
5teveH3hrs 20mins ago
5teveH3hrs 20mins ago 
GeneralRe: Wordle 1,211 Pin
pkfox3hrs 6mins ago
professionalpkfox3hrs 6mins ago 
GeneralRe: Wordle 1,211 Pin
Rich Leyshon8mins ago
Rich Leyshon8mins ago 
GeneralIf C had the template keyword I'd probably use C++ a lot less Pin
honey the codewitch4hrs 33mins ago
mvahoney the codewitch4hrs 33mins ago 
The main reason I prefer C++ over C is template** and constexpr. Recently they've added constexpr to the latest C standard, but I don't know how deep it goes - if it's as functional as it is in C++.

I have very little reason to use C++ otherwise. I'd actually prefer things if I wasn't dealing with classes with things like non-trivial constructors, destructors, and assignment operators.

Why?

Because RAII isn't very practical without exceptions, and if you're working with multiple different heaps at runtime.

I actually like C's simplicity, but dislike the preprocessor. I'd much prefer something typed, and with specializations and recursion.

** They'd have to allow template function specializations, or allow static functions in template structures in order to be particularly useful though. Not sure which route they'd take.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix


modified 4hrs 10mins ago.

GeneralRe: If C had the template keyword I'd probably use C++ a lot less Pin
Richard MacCutchan2hrs 30mins ago
mveRichard MacCutchan2hrs 30mins ago 
GeneralRe: If C had the template keyword I'd probably use C++ a lot less Pin
honey the codewitch6mins ago
mvahoney the codewitch6mins ago 
GeneralIf CodeProject Never Existed, Where Would You Have Gone? Pin
Steve Raw9hrs 20mins ago
professionalSteve Raw9hrs 20mins ago 
GeneralRe: If CodeProject Never Existed, Where Would You Have Gone? Pin
Greg Utas9hrs 6mins ago
professionalGreg Utas9hrs 6mins ago 
JokeRe: If CodeProject Never Existed, Where Would You Have Gone? Pin
Jeremy Falcon8hrs 39mins ago
professionalJeremy Falcon8hrs 39mins ago 
GeneralRe: If CodeProject Never Existed, Where Would You Have Gone? Pin
Mike Hankey8hrs 20mins ago
mveMike Hankey8hrs 20mins ago 
GeneralRe: If CodeProject Never Existed, Where Would You Have Gone? Pin
Jeremy Falcon6hrs 52mins ago
professionalJeremy Falcon6hrs 52mins ago 
GeneralRe: If CodeProject Never Existed, Where Would You Have Gone? Pin
PIEBALDconsult8hrs 18mins ago
mvePIEBALDconsult8hrs 18mins ago 
GeneralRe: If CodeProject Never Existed, Where Would You Have Gone? Pin
jmaida8hrs 7mins ago
jmaida8hrs 7mins ago 
GeneralRe: If CodeProject Never Existed, Where Would You Have Gone? Pin
FreedMalloc8hrs 6mins ago
FreedMalloc8hrs 6mins ago 
GeneralRe: If CodeProject Never Existed, Where Would You Have Gone? Pin
Amarnath S7hrs 1 min ago
professionalAmarnath S7hrs 1 min ago 
GeneralWordle 1,211 Pin
StarNamer@work11hrs 20mins ago
professionalStarNamer@work11hrs 20mins ago 
NewsBenchmarks are far from perfect, but... Pin
Jeremy Falcon11hrs 53mins ago
professionalJeremy Falcon11hrs 53mins ago 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.