Click here to Skip to main content
15,891,981 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.

 
GeneralRe: Recruiters always overpromising Pin
Roger Wright1-Jun-21 15:30
professionalRoger Wright1-Jun-21 15:30 
QuestionLeveling up Pin
honey the codewitch30-May-21 6:29
mvahoney the codewitch30-May-21 6:29 
AnswerRe: Leveling up Pin
Greg Utas30-May-21 7:04
professionalGreg Utas30-May-21 7:04 
GeneralRe: Leveling up Pin
honey the codewitch30-May-21 7:14
mvahoney the codewitch30-May-21 7:14 
GeneralRe: Leveling up Pin
Greg Utas30-May-21 7:25
professionalGreg Utas30-May-21 7:25 
GeneralRe: Leveling up Pin
Joe Woodbury30-May-21 10:15
professionalJoe Woodbury30-May-21 10:15 
GeneralRe: Leveling up Pin
honey the codewitch30-May-21 11:47
mvahoney the codewitch30-May-21 11:47 
AnswerRe: Leveling up Pin
Mircea Neacsu30-May-21 13:56
Mircea Neacsu30-May-21 13:56 
Sorry if my answer might come across as a bit harsh.

Quote:
but it doesn't teach the newest features, nor does it teach super complicated constructs.
But is the super complicated stuff really necessary? I come from the era of Literate Programming and still have a strong belief that programs should be written for humans and only executed by computers. In case of a lot of template meta-programming, if mere mortals have difficulty grasping it, maybe we should just stay with simpler stuff.

Looking at your code fragment, a const object (we don't know what it is because auto hides that - could be a color by the name of it, but who knows) has a property channelr (whoever that may be) changed to 0.5. Oh, and this is an instantiation of a templatized function for some parameter channel_name::A. You say that makes the red color half transparent and I believe you but let me tell you that it's not apparent from your code and it's the exact opposite from the ideal of literate programming where code should read like a novel. Your code is efficient, generic, compact, whatever you want but easy to understand, it ain't.

Seems to me you are slaving for the computer instead of the other way around.
Mircea

GeneralRe: Leveling up Pin
honey the codewitch30-May-21 14:23
mvahoney the codewitch30-May-21 14:23 
AnswerRe: Leveling up Pin
Jon McKee30-May-21 14:39
professionalJon McKee30-May-21 14:39 
GeneralRe: Leveling up Pin
honey the codewitch30-May-21 14:44
mvahoney the codewitch30-May-21 14:44 
AnswerRe: Leveling up Pin
Kenneth Haugland30-May-21 21:49
mvaKenneth Haugland30-May-21 21:49 
GeneralRe: Leveling up Pin
honey the codewitch31-May-21 3:06
mvahoney the codewitch31-May-21 3:06 
GeneralRe: Leveling up Pin
Kenneth Haugland31-May-21 3:22
mvaKenneth Haugland31-May-21 3:22 
GeneralRe: Leveling up Pin
honey the codewitch31-May-21 4:23
mvahoney the codewitch31-May-21 4:23 
AnswerRe: Leveling up Pin
Sander Rossel31-May-21 1:11
professionalSander Rossel31-May-21 1:11 
GeneralRe: Leveling up Pin
honey the codewitch31-May-21 3:09
mvahoney the codewitch31-May-21 3:09 
GeneralRe: Leveling up Pin
Sander Rossel31-May-21 3:40
professionalSander Rossel31-May-21 3:40 
GeneralRe: Leveling up Pin
honey the codewitch31-May-21 4:20
mvahoney the codewitch31-May-21 4:20 
GeneralR.I.P. B.J. Thomas Pin
Cp-Coder30-May-21 2:29
Cp-Coder30-May-21 2:29 
GeneralRe: R.I.P. B.J. Thomas Pin
Richard Andrew x6430-May-21 3:05
professionalRichard Andrew x6430-May-21 3:05 
GeneralRe: R.I.P. B.J. Thomas Pin
Cp-Coder30-May-21 3:45
Cp-Coder30-May-21 3:45 
GeneralWanna use Edge? You might ... Pin
OriginalGriff30-May-21 2:11
mveOriginalGriff30-May-21 2:11 
GeneralRe: Wanna use Edge? You might ... Pin
Daniel Pfeffer30-May-21 2:15
professionalDaniel Pfeffer30-May-21 2:15 
GeneralRe: Wanna use Edge? You might ... Pin
OriginalGriff30-May-21 2:35
mveOriginalGriff30-May-21 2:35 

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.