Click here to Skip to main content
15,348,645 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: CCC Pin
pkfox9-Jun-21 22:28
professionalpkfox9-Jun-21 22:28 
GeneralRe: CCC Pin
OriginalGriff9-Jun-21 22:37
mveOriginalGriff9-Jun-21 22:37 
GeneralRe: CCC Pin
pkfox9-Jun-21 22:47
professionalpkfox9-Jun-21 22:47 
QuestionPermalink: How does it work? Pin
Cp-Coder9-Jun-21 12:20
MemberCp-Coder9-Jun-21 12:20 
AnswerRe: Permalink: How does it work? Pin
Greg Utas9-Jun-21 12:23
mveGreg Utas9-Jun-21 12:23 
GeneralRe: Permalink: How does it work? Pin
Cp-Coder9-Jun-21 12:24
MemberCp-Coder9-Jun-21 12:24 
AnswerRe: Permalink: How does it work? Pin
Richard Deeming9-Jun-21 21:44
mveRichard Deeming9-Jun-21 21:44 
RantWhen did syntax become so fussy? PinPopular
Chris Maunder9-Jun-21 10:26
cofounderChris Maunder9-Jun-21 10:26 
Paraphrased from Microsoft's own docs in order to make it readable
C#
MyMethod(options => _ = provider switch
{
    "option 1" => options.Method1(x => x.Prop),
    "option 2" => options.Method2(x => x.Prop),
     _ => throw new Exception($"Unsupported option: {option}")
});

Are we really helping the Art with this type of syntax? I'm trying to work out what we're saving here. Keystrokes? HDD space? Screen real estate?
cheers
Chris Maunder

GeneralRe: When did syntax become so fussy? Pin
Greg Utas9-Jun-21 10:32
mveGreg Utas9-Jun-21 10:32 
GeneralRe: When did syntax become so fussy? Pin
honey the codewitch10-Jun-21 4:28
mvahoney the codewitch10-Jun-21 4:28 
GeneralRe: When did syntax become so fussy? Pin
Greg Utas10-Jun-21 5:30
mveGreg Utas10-Jun-21 5:30 
GeneralRe: When did syntax become so fussy? Pin
Steve Naidamast11-Jun-21 6:18
professionalSteve Naidamast11-Jun-21 6:18 
GeneralRe: When did syntax become so fussy? Pin
raddevus9-Jun-21 10:34
mvaraddevus9-Jun-21 10:34 
GeneralRe: When did syntax become so fussy? Pin
Mircea Neacsu9-Jun-21 10:48
mvaMircea Neacsu9-Jun-21 10:48 
GeneralRe: When did syntax become so fussy? Pin
jathalls11-Jun-21 2:01
Memberjathalls11-Jun-21 2:01 
GeneralRe: When did syntax become so fussy? Pin
raddevus11-Jun-21 9:53
mvaraddevus11-Jun-21 9:53 
GeneralRe: When did syntax become so fussy? Pin
James Lonero12-Jun-21 17:44
MemberJames Lonero12-Jun-21 17:44 
GeneralRe: When did syntax become so fussy? Pin
jathalls12-Jun-21 22:28
Memberjathalls12-Jun-21 22:28 
GeneralRe: When did syntax become so fussy? Pin
Jon McKee9-Jun-21 11:06
professionalJon McKee9-Jun-21 11:06 
GeneralRe: When did syntax become so fussy? Pin
Wizard of Sleeves10-Jun-21 20:29
MemberWizard of Sleeves10-Jun-21 20:29 
GeneralRe: When did syntax become so fussy? Pin
Jon McKee10-Jun-21 23:33
professionalJon McKee10-Jun-21 23:33 
GeneralRe: When did syntax become so fussy? Pin
Wizard of Sleeves11-Jun-21 1:45
MemberWizard of Sleeves11-Jun-21 1:45 
GeneralRe: When did syntax become so fussy? Pin
Cp-Coder9-Jun-21 12:29
MemberCp-Coder9-Jun-21 12:29 
GeneralRe: When did syntax become so fussy? Pin
Nelek9-Jun-21 19:52
protectorNelek9-Jun-21 19:52 
GeneralRe: When did syntax become so fussy? Pin
Mike Hankey9-Jun-21 13:05
professionalMike Hankey9-Jun-21 13:05 

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.


Straw Poll

What language are you using for AI development or learning?
Whether you're at work or home, hard core coding or just trying to figure out this AI thing, which languages have you used in your adventures?
  Results   33 votes