[{"data":1,"prerenderedAt":8463},["ShallowReactive",2],{"blog:2013:probable-c-6-0-features-illustrated":3,"blogMore-Development":2310,"comments-probable-c-6-0-features-illustrated":2323},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"category":11,"tags":12,"excerpt":15,"body":41,"_type":2301,"_id":2302,"_source":2303,"_file":2304,"_stem":2305,"_extension":2306,"url":2307,"wordCount":2308,"minutes":173,"commentCount":2309},"/blog/2013/probable-c-6-0-features-illustrated","2013",false,"en","Probable C# 6.0 features illustrated","","2013-12-09T11:27:44+00:00","Development",[13,14],".NET","C#",{"type":16,"children":17},"root",[18,30],{"type":19,"tag":20,"props":21,"children":22},"element","p",{},[23,26,28],{"type":24,"value":25},"text","C# 6.0 is now available and the final list of features is well explained by ",{"type":24,"value":27},"Sunny Ahuwanya",{"type":24,"value":29}," so go there and try it with his interactive samples page.",{"type":19,"tag":20,"props":31,"children":32},{},[33,35,37,39],{"type":24,"value":34},"Adam Ralph has a list of the probable C# 6.0 features",{"type":24,"value":36}," Mads Torgersen from the C# design team covered at ",{"type":24,"value":38},"new Developers Conference() NDC 2013 in London",{"type":24,"value":40},".",{"type":16,"children":42,"toc":2253},[43,58,76,81,88,93,100,289,295,368,374,394,399,440,445,451,456,461,516,521,552,557,570,576,581,586,649,654,739,744,757,763,768,773,857,862,927,932,945,951,956,961,1062,1067,1153,1158,1163,1169,1174,1179,1264,1269,1348,1353,1366,1372,1385,1390,1550,1555,1631,1636,1641,1647,1652,1657,1859,1864,1922,1927,1940,1946,1951,1956,2021,2026,2080,2085,2098,2104,2109,2238,2247],{"type":19,"tag":44,"props":45,"children":46},"blockquote",{},[47],{"type":19,"tag":20,"props":48,"children":49},{},[50,51,57],{"type":24,"value":25},{"type":19,"tag":52,"props":53,"children":55},"a",{"href":54},"https://www.ahuwanya.net/blog/post/Exploring-C-Sharp-6",[56],{"type":24,"value":27},{"type":24,"value":29},{"type":19,"tag":20,"props":59,"children":60},{},[61,68,69,75],{"type":19,"tag":52,"props":62,"children":66},{"href":63,"rel":64},"https://adamralph.com/2013/12/06/ndc-diary-day-3/#more",[65],"nofollow",[67],{"type":24,"value":34},{"type":24,"value":36},{"type":19,"tag":52,"props":70,"children":73},{"href":71,"rel":72},"https://channel9.msdn.com/Forums/Coffeehouse/Mads-Torgersen--NDC-London--The-Future-of-C",[65],[74],{"type":24,"value":38},{"type":24,"value":40},{"type":19,"tag":20,"props":77,"children":78},{},[79],{"type":24,"value":80},"I thought it would be fun to show some before and after syntax for comparison and in doing so ended up with a few thoughts and questions.",{"type":19,"tag":82,"props":83,"children":85},"h2",{"id":84},"_1-primary-constructors",[86],{"type":24,"value":87},"1. Primary Constructors",{"type":19,"tag":20,"props":89,"children":90},{},[91],{"type":24,"value":92},"Shorter way to write a constructor that automatically assigns to private instance variables.",{"type":19,"tag":94,"props":95,"children":97},"h3",{"id":96},"before",[98],{"type":24,"value":99},"Before",{"type":19,"tag":101,"props":102,"children":106},"pre",{"className":103,"code":104,"language":105,"meta":9,"style":9},"language-csharp shiki shiki-themes everforest-light dracula","public class Point {\n  private int x, y;\n\n  public Point(int x, int y)\n    this.x = x;\n    this.y = y;\n  }\n}\n","csharp",[107],{"type":19,"tag":108,"props":109,"children":110},"code",{"__ignoreMap":9},[111,141,161,171,220,252,271,280],{"type":19,"tag":112,"props":113,"children":116},"span",{"class":114,"line":115},"line",1,[117,123,129,135],{"type":19,"tag":112,"props":118,"children":120},{"style":119},"--shiki-default:#F57D26;--shiki-dark:#FF79C6",[121],{"type":24,"value":122},"public",{"type":19,"tag":112,"props":124,"children":126},{"style":125},"--shiki-default:#F85552;--shiki-dark:#FF79C6",[127],{"type":24,"value":128}," class",{"type":19,"tag":112,"props":130,"children":132},{"style":131},"--shiki-default:#3A94C5;--shiki-dark:#8BE9FD",[133],{"type":24,"value":134}," Point",{"type":19,"tag":112,"props":136,"children":138},{"style":137},"--shiki-default:#5C6A72;--shiki-dark:#F8F8F2",[139],{"type":24,"value":140}," {\n",{"type":19,"tag":112,"props":142,"children":144},{"class":114,"line":143},2,[145,150,156],{"type":19,"tag":112,"props":146,"children":147},{"style":119},[148],{"type":24,"value":149},"  private",{"type":19,"tag":112,"props":151,"children":153},{"style":152},"--shiki-default:#3A94C5;--shiki-dark:#FF79C6",[154],{"type":24,"value":155}," int",{"type":19,"tag":112,"props":157,"children":158},{"style":137},[159],{"type":24,"value":160}," x, y;\n",{"type":19,"tag":112,"props":162,"children":164},{"class":114,"line":163},3,[165],{"type":19,"tag":112,"props":166,"children":168},{"emptyLinePlaceholder":167},true,[169],{"type":24,"value":170},"\n",{"type":19,"tag":112,"props":172,"children":174},{"class":114,"line":173},4,[175,180,185,190,195,201,206,210,215],{"type":19,"tag":112,"props":176,"children":177},{"style":119},[178],{"type":24,"value":179},"  public",{"type":19,"tag":112,"props":181,"children":183},{"style":182},"--shiki-default:#8DA101;--shiki-dark:#50FA7B",[184],{"type":24,"value":134},{"type":19,"tag":112,"props":186,"children":187},{"style":137},[188],{"type":24,"value":189},"(",{"type":19,"tag":112,"props":191,"children":192},{"style":152},[193],{"type":24,"value":194},"int",{"type":19,"tag":112,"props":196,"children":198},{"style":197},"--shiki-default:#5C6A72;--shiki-default-font-style:inherit;--shiki-dark:#FFB86C;--shiki-dark-font-style:italic",[199],{"type":24,"value":200}," x",{"type":19,"tag":112,"props":202,"children":203},{"style":137},[204],{"type":24,"value":205},", ",{"type":19,"tag":112,"props":207,"children":208},{"style":152},[209],{"type":24,"value":194},{"type":19,"tag":112,"props":211,"children":212},{"style":197},[213],{"type":24,"value":214}," y",{"type":19,"tag":112,"props":216,"children":217},{"style":137},[218],{"type":24,"value":219},")\n",{"type":19,"tag":112,"props":221,"children":223},{"class":114,"line":222},5,[224,229,233,238,243,247],{"type":19,"tag":112,"props":225,"children":226},{"style":182},[227],{"type":24,"value":228},"    this",{"type":19,"tag":112,"props":230,"children":231},{"style":137},[232],{"type":24,"value":40},{"type":19,"tag":112,"props":234,"children":235},{"style":182},[236],{"type":24,"value":237},"x",{"type":19,"tag":112,"props":239,"children":240},{"style":137},[241],{"type":24,"value":242}," = ",{"type":19,"tag":112,"props":244,"children":245},{"style":182},[246],{"type":24,"value":237},{"type":19,"tag":112,"props":248,"children":249},{"style":137},[250],{"type":24,"value":251},";\n",{"type":19,"tag":112,"props":253,"children":255},{"class":114,"line":254},6,[256,261,266],{"type":19,"tag":112,"props":257,"children":258},{"style":137},[259],{"type":24,"value":260},"    this.y ",{"type":19,"tag":112,"props":262,"children":263},{"style":119},[264],{"type":24,"value":265},"=",{"type":19,"tag":112,"props":267,"children":268},{"style":137},[269],{"type":24,"value":270}," y;\n",{"type":19,"tag":112,"props":272,"children":274},{"class":114,"line":273},7,[275],{"type":19,"tag":112,"props":276,"children":277},{"style":137},[278],{"type":24,"value":279},"  }\n",{"type":19,"tag":112,"props":281,"children":283},{"class":114,"line":282},8,[284],{"type":19,"tag":112,"props":285,"children":286},{"style":137},[287],{"type":24,"value":288},"}\n",{"type":19,"tag":94,"props":290,"children":292},{"id":291},"after",[293],{"type":24,"value":294},"After",{"type":19,"tag":101,"props":296,"children":298},{"className":103,"code":297,"language":105,"meta":9,"style":9},"public class Point(int x, int y) {\n  private int x, y;\n}\n",[299],{"type":19,"tag":108,"props":300,"children":301},{"__ignoreMap":9},[302,346,361],{"type":19,"tag":112,"props":303,"children":304},{"class":114,"line":115},[305,309,313,317,321,325,329,333,337,341],{"type":19,"tag":112,"props":306,"children":307},{"style":119},[308],{"type":24,"value":122},{"type":19,"tag":112,"props":310,"children":311},{"style":125},[312],{"type":24,"value":128},{"type":19,"tag":112,"props":314,"children":315},{"style":131},[316],{"type":24,"value":134},{"type":19,"tag":112,"props":318,"children":319},{"style":137},[320],{"type":24,"value":189},{"type":19,"tag":112,"props":322,"children":323},{"style":152},[324],{"type":24,"value":194},{"type":19,"tag":112,"props":326,"children":327},{"style":197},[328],{"type":24,"value":200},{"type":19,"tag":112,"props":330,"children":331},{"style":137},[332],{"type":24,"value":205},{"type":19,"tag":112,"props":334,"children":335},{"style":152},[336],{"type":24,"value":194},{"type":19,"tag":112,"props":338,"children":339},{"style":197},[340],{"type":24,"value":214},{"type":19,"tag":112,"props":342,"children":343},{"style":137},[344],{"type":24,"value":345},") {\n",{"type":19,"tag":112,"props":347,"children":348},{"class":114,"line":143},[349,353,357],{"type":19,"tag":112,"props":350,"children":351},{"style":119},[352],{"type":24,"value":149},{"type":19,"tag":112,"props":354,"children":355},{"style":152},[356],{"type":24,"value":155},{"type":19,"tag":112,"props":358,"children":359},{"style":137},[360],{"type":24,"value":160},{"type":19,"tag":112,"props":362,"children":363},{"class":114,"line":163},[364],{"type":19,"tag":112,"props":365,"children":366},{"style":137},[367],{"type":24,"value":288},{"type":19,"tag":94,"props":369,"children":371},{"id":370},"thoughts",[372],{"type":24,"value":373},"Thoughts",{"type":19,"tag":375,"props":376,"children":377},"ul",{},[378,384,389],{"type":19,"tag":379,"props":380,"children":381},"li",{},[382],{"type":24,"value":383},"Do you need to independently define x and y?",{"type":19,"tag":379,"props":385,"children":386},{},[387],{"type":24,"value":388},"Can you still write a body?",{"type":19,"tag":379,"props":390,"children":391},{},[392],{"type":24,"value":393},"How would you make the default private?",{"type":19,"tag":20,"props":395,"children":396},{},[397],{"type":24,"value":398},"This solution feels too constrained, would have preferred something like:",{"type":19,"tag":101,"props":400,"children":402},{"className":103,"code":401,"language":105,"meta":9,"style":9},"  public Point(set int x, set int y)\n",[403],{"type":19,"tag":108,"props":404,"children":405},{"__ignoreMap":9},[406],{"type":19,"tag":112,"props":407,"children":408},{"class":114,"line":115},[409,413,417,422,426,431,435],{"type":19,"tag":112,"props":410,"children":411},{"style":119},[412],{"type":24,"value":179},{"type":19,"tag":112,"props":414,"children":415},{"style":182},[416],{"type":24,"value":134},{"type":19,"tag":112,"props":418,"children":419},{"style":137},[420],{"type":24,"value":421},"(set ",{"type":19,"tag":112,"props":423,"children":424},{"style":152},[425],{"type":24,"value":194},{"type":19,"tag":112,"props":427,"children":428},{"style":137},[429],{"type":24,"value":430}," x, set ",{"type":19,"tag":112,"props":432,"children":433},{"style":152},[434],{"type":24,"value":194},{"type":19,"tag":112,"props":436,"children":437},{"style":137},[438],{"type":24,"value":439}," y)\n",{"type":19,"tag":20,"props":441,"children":442},{},[443],{"type":24,"value":444},"That set the property and optionally created a private one if it didn’t. Would allow bodies, use on multiple constructors etc.",{"type":19,"tag":82,"props":446,"children":448},{"id":447},"_2-readonly-auto-properties",[449],{"type":24,"value":450},"2. Readonly auto properties",{"type":19,"tag":20,"props":452,"children":453},{},[454],{"type":24,"value":455},"Readonly properties require less syntax.",{"type":19,"tag":94,"props":457,"children":459},{"id":458},"before-1",[460],{"type":24,"value":99},{"type":19,"tag":101,"props":462,"children":464},{"className":103,"code":463,"language":105,"meta":9,"style":9},"private readonly int x;\npublic int X { get { return x; } }\n",[465],{"type":19,"tag":108,"props":466,"children":467},{"__ignoreMap":9},[468,490],{"type":19,"tag":112,"props":469,"children":470},{"class":114,"line":115},[471,476,481,485],{"type":19,"tag":112,"props":472,"children":473},{"style":119},[474],{"type":24,"value":475},"private",{"type":19,"tag":112,"props":477,"children":478},{"style":119},[479],{"type":24,"value":480}," readonly",{"type":19,"tag":112,"props":482,"children":483},{"style":152},[484],{"type":24,"value":155},{"type":19,"tag":112,"props":486,"children":487},{"style":137},[488],{"type":24,"value":489}," x;\n",{"type":19,"tag":112,"props":491,"children":492},{"class":114,"line":143},[493,497,501,506,511],{"type":19,"tag":112,"props":494,"children":495},{"style":119},[496],{"type":24,"value":122},{"type":19,"tag":112,"props":498,"children":499},{"style":152},[500],{"type":24,"value":155},{"type":19,"tag":112,"props":502,"children":503},{"style":137},[504],{"type":24,"value":505}," X { get { ",{"type":19,"tag":112,"props":507,"children":508},{"style":125},[509],{"type":24,"value":510},"return",{"type":19,"tag":112,"props":512,"children":513},{"style":137},[514],{"type":24,"value":515}," x; } }\n",{"type":19,"tag":94,"props":517,"children":519},{"id":518},"after-1",[520],{"type":24,"value":294},{"type":19,"tag":101,"props":522,"children":524},{"className":103,"code":523,"language":105,"meta":9,"style":9},"public int X { get; } = x;\n",[525],{"type":19,"tag":108,"props":526,"children":527},{"__ignoreMap":9},[528],{"type":19,"tag":112,"props":529,"children":530},{"class":114,"line":115},[531,535,539,544,548],{"type":19,"tag":112,"props":532,"children":533},{"style":119},[534],{"type":24,"value":122},{"type":19,"tag":112,"props":536,"children":537},{"style":152},[538],{"type":24,"value":155},{"type":19,"tag":112,"props":540,"children":541},{"style":137},[542],{"type":24,"value":543}," X { get; } ",{"type":19,"tag":112,"props":545,"children":546},{"style":119},[547],{"type":24,"value":265},{"type":19,"tag":112,"props":549,"children":550},{"style":137},[551],{"type":24,"value":489},{"type":19,"tag":94,"props":553,"children":555},{"id":554},"thoughts-1",[556],{"type":24,"value":373},{"type":19,"tag":375,"props":558,"children":559},{},[560,565],{"type":19,"tag":379,"props":561,"children":562},{},[563],{"type":24,"value":564},"Love this.",{"type":19,"tag":379,"props":566,"children":567},{},[568],{"type":24,"value":569},"Very useful for immutable classes.",{"type":19,"tag":82,"props":571,"children":573},{"id":572},"_3-static-type-using-statements",[574],{"type":24,"value":575},"3. Static type using statements;",{"type":19,"tag":20,"props":577,"children":578},{},[579],{"type":24,"value":580},"Imports all the public static methods of a type into the current namespace.",{"type":19,"tag":94,"props":582,"children":584},{"id":583},"before-2",[585],{"type":24,"value":99},{"type":19,"tag":101,"props":587,"children":589},{"className":103,"code":588,"language":105,"meta":9,"style":9},"public double A { get { return Math.Sqrt(Math.Round(5.142)); } }\n",[590],{"type":19,"tag":108,"props":591,"children":592},{"__ignoreMap":9},[593],{"type":19,"tag":112,"props":594,"children":595},{"class":114,"line":115},[596,600,605,610,614,619,624,629,634,638,644],{"type":19,"tag":112,"props":597,"children":598},{"style":119},[599],{"type":24,"value":122},{"type":19,"tag":112,"props":601,"children":602},{"style":152},[603],{"type":24,"value":604}," double",{"type":19,"tag":112,"props":606,"children":607},{"style":137},[608],{"type":24,"value":609}," A { get { ",{"type":19,"tag":112,"props":611,"children":612},{"style":125},[613],{"type":24,"value":510},{"type":19,"tag":112,"props":615,"children":616},{"style":137},[617],{"type":24,"value":618}," Math.",{"type":19,"tag":112,"props":620,"children":621},{"style":182},[622],{"type":24,"value":623},"Sqrt",{"type":19,"tag":112,"props":625,"children":626},{"style":137},[627],{"type":24,"value":628},"(Math.",{"type":19,"tag":112,"props":630,"children":631},{"style":182},[632],{"type":24,"value":633},"Round",{"type":19,"tag":112,"props":635,"children":636},{"style":137},[637],{"type":24,"value":189},{"type":19,"tag":112,"props":639,"children":641},{"style":640},"--shiki-default:#DF69BA;--shiki-dark:#BD93F9",[642],{"type":24,"value":643},"5.142",{"type":19,"tag":112,"props":645,"children":646},{"style":137},[647],{"type":24,"value":648},")); } }\n",{"type":19,"tag":94,"props":650,"children":652},{"id":651},"after-2",[653],{"type":24,"value":294},{"type":19,"tag":101,"props":655,"children":657},{"className":103,"code":656,"language":105,"meta":9,"style":9},"using System.Math;\n\npublic double A { get { return Sqrt(Round(5.142)); } }\n",[658],{"type":19,"tag":108,"props":659,"children":660},{"__ignoreMap":9},[661,688,695],{"type":19,"tag":112,"props":662,"children":663},{"class":114,"line":115},[664,669,675,679,684],{"type":19,"tag":112,"props":665,"children":666},{"style":125},[667],{"type":24,"value":668},"using",{"type":19,"tag":112,"props":670,"children":672},{"style":671},"--shiki-default:#DF69BA;--shiki-default-font-style:inherit;--shiki-dark:#8BE9FD;--shiki-dark-font-style:italic",[673],{"type":24,"value":674}," System",{"type":19,"tag":112,"props":676,"children":677},{"style":137},[678],{"type":24,"value":40},{"type":19,"tag":112,"props":680,"children":681},{"style":671},[682],{"type":24,"value":683},"Math",{"type":19,"tag":112,"props":685,"children":686},{"style":137},[687],{"type":24,"value":251},{"type":19,"tag":112,"props":689,"children":690},{"class":114,"line":143},[691],{"type":19,"tag":112,"props":692,"children":693},{"emptyLinePlaceholder":167},[694],{"type":24,"value":170},{"type":19,"tag":112,"props":696,"children":697},{"class":114,"line":163},[698,702,706,710,714,719,723,727,731,735],{"type":19,"tag":112,"props":699,"children":700},{"style":119},[701],{"type":24,"value":122},{"type":19,"tag":112,"props":703,"children":704},{"style":152},[705],{"type":24,"value":604},{"type":19,"tag":112,"props":707,"children":708},{"style":137},[709],{"type":24,"value":609},{"type":19,"tag":112,"props":711,"children":712},{"style":125},[713],{"type":24,"value":510},{"type":19,"tag":112,"props":715,"children":716},{"style":182},[717],{"type":24,"value":718}," Sqrt",{"type":19,"tag":112,"props":720,"children":721},{"style":137},[722],{"type":24,"value":189},{"type":19,"tag":112,"props":724,"children":725},{"style":182},[726],{"type":24,"value":633},{"type":19,"tag":112,"props":728,"children":729},{"style":137},[730],{"type":24,"value":189},{"type":19,"tag":112,"props":732,"children":733},{"style":640},[734],{"type":24,"value":643},{"type":19,"tag":112,"props":736,"children":737},{"style":137},[738],{"type":24,"value":648},{"type":19,"tag":94,"props":740,"children":742},{"id":741},"thoughts-2",[743],{"type":24,"value":373},{"type":19,"tag":375,"props":745,"children":746},{},[747,752],{"type":19,"tag":379,"props":748,"children":749},{},[750],{"type":24,"value":751},"Not something I’ve run into often but no doubt very useful for Math-heavy classes.",{"type":19,"tag":379,"props":753,"children":754},{},[755],{"type":24,"value":756},"Could be useful for Enumerable LINQ-heavy classes if it works with static extension methods.",{"type":19,"tag":82,"props":758,"children":760},{"id":759},"_4-property-expressions",[761],{"type":24,"value":762},"4. Property Expressions",{"type":19,"tag":20,"props":764,"children":765},{},[766],{"type":24,"value":767},"Allows you to define a property using a shorthand syntax.",{"type":19,"tag":94,"props":769,"children":771},{"id":770},"before-3",[772],{"type":24,"value":99},{"type":19,"tag":101,"props":774,"children":776},{"className":103,"code":775,"language":105,"meta":9,"style":9},"public double Distance {\n  get { return Math.Sqrt((X * X) + (Y * Y)); }\n}\n",[777],{"type":19,"tag":108,"props":778,"children":779},{"__ignoreMap":9},[780,796,850],{"type":19,"tag":112,"props":781,"children":782},{"class":114,"line":115},[783,787,791],{"type":19,"tag":112,"props":784,"children":785},{"style":119},[786],{"type":24,"value":122},{"type":19,"tag":112,"props":788,"children":789},{"style":152},[790],{"type":24,"value":604},{"type":19,"tag":112,"props":792,"children":793},{"style":137},[794],{"type":24,"value":795}," Distance {\n",{"type":19,"tag":112,"props":797,"children":798},{"class":114,"line":143},[799,804,808,812,816,821,826,831,836,841,845],{"type":19,"tag":112,"props":800,"children":801},{"style":137},[802],{"type":24,"value":803},"  get { ",{"type":19,"tag":112,"props":805,"children":806},{"style":125},[807],{"type":24,"value":510},{"type":19,"tag":112,"props":809,"children":810},{"style":137},[811],{"type":24,"value":618},{"type":19,"tag":112,"props":813,"children":814},{"style":182},[815],{"type":24,"value":623},{"type":19,"tag":112,"props":817,"children":818},{"style":137},[819],{"type":24,"value":820},"((X ",{"type":19,"tag":112,"props":822,"children":823},{"style":119},[824],{"type":24,"value":825},"*",{"type":19,"tag":112,"props":827,"children":828},{"style":137},[829],{"type":24,"value":830}," X) ",{"type":19,"tag":112,"props":832,"children":833},{"style":119},[834],{"type":24,"value":835},"+",{"type":19,"tag":112,"props":837,"children":838},{"style":137},[839],{"type":24,"value":840}," (Y ",{"type":19,"tag":112,"props":842,"children":843},{"style":119},[844],{"type":24,"value":825},{"type":19,"tag":112,"props":846,"children":847},{"style":137},[848],{"type":24,"value":849}," Y)); }\n",{"type":19,"tag":112,"props":851,"children":852},{"class":114,"line":163},[853],{"type":19,"tag":112,"props":854,"children":855},{"style":137},[856],{"type":24,"value":288},{"type":19,"tag":94,"props":858,"children":860},{"id":859},"after-3",[861],{"type":24,"value":294},{"type":19,"tag":101,"props":863,"children":865},{"className":103,"code":864,"language":105,"meta":9,"style":9},"public double Distance => Math.Sqrt((X * X) + (Y * Y));\n",[866],{"type":19,"tag":108,"props":867,"children":868},{"__ignoreMap":9},[869],{"type":19,"tag":112,"props":870,"children":871},{"class":114,"line":115},[872,876,880,885,890,894,898,902,906,910,914,918,922],{"type":19,"tag":112,"props":873,"children":874},{"style":119},[875],{"type":24,"value":122},{"type":19,"tag":112,"props":877,"children":878},{"style":152},[879],{"type":24,"value":604},{"type":19,"tag":112,"props":881,"children":882},{"style":197},[883],{"type":24,"value":884}," Distance",{"type":19,"tag":112,"props":886,"children":887},{"style":119},[888],{"type":24,"value":889}," =>",{"type":19,"tag":112,"props":891,"children":892},{"style":137},[893],{"type":24,"value":618},{"type":19,"tag":112,"props":895,"children":896},{"style":182},[897],{"type":24,"value":623},{"type":19,"tag":112,"props":899,"children":900},{"style":137},[901],{"type":24,"value":820},{"type":19,"tag":112,"props":903,"children":904},{"style":119},[905],{"type":24,"value":825},{"type":19,"tag":112,"props":907,"children":908},{"style":137},[909],{"type":24,"value":830},{"type":19,"tag":112,"props":911,"children":912},{"style":119},[913],{"type":24,"value":835},{"type":19,"tag":112,"props":915,"children":916},{"style":137},[917],{"type":24,"value":840},{"type":19,"tag":112,"props":919,"children":920},{"style":119},[921],{"type":24,"value":825},{"type":19,"tag":112,"props":923,"children":924},{"style":137},[925],{"type":24,"value":926}," Y));\n",{"type":19,"tag":94,"props":928,"children":930},{"id":929},"thoughts-3",[931],{"type":24,"value":373},{"type":19,"tag":375,"props":933,"children":934},{},[935,940],{"type":19,"tag":379,"props":936,"children":937},{},[938],{"type":24,"value":939},"Small but useful syntax reduction.",{"type":19,"tag":379,"props":941,"children":942},{},[943],{"type":24,"value":944},"Has nothing to do with System.Linq.Expression despite the name.",{"type":19,"tag":82,"props":946,"children":948},{"id":947},"_5-method-expressions",[949],{"type":24,"value":950},"5. Method Expressions",{"type":19,"tag":20,"props":952,"children":953},{},[954],{"type":24,"value":955},"Allows you to define a method using a shorthand syntax.",{"type":19,"tag":94,"props":957,"children":959},{"id":958},"before-4",[960],{"type":24,"value":99},{"type":19,"tag":101,"props":962,"children":964},{"className":103,"code":963,"language":105,"meta":9,"style":9},"public Point Move(int dx, int dy) {\n  return new Point(X + dx1, Y + dy1);\n}\n",[965],{"type":19,"tag":108,"props":966,"children":967},{"__ignoreMap":9},[968,1015,1055],{"type":19,"tag":112,"props":969,"children":970},{"class":114,"line":115},[971,975,980,985,989,993,998,1002,1006,1011],{"type":19,"tag":112,"props":972,"children":973},{"style":119},[974],{"type":24,"value":122},{"type":19,"tag":112,"props":976,"children":978},{"style":977},"--shiki-default:#3A94C5;--shiki-default-font-style:inherit;--shiki-dark:#8BE9FD;--shiki-dark-font-style:italic",[979],{"type":24,"value":134},{"type":19,"tag":112,"props":981,"children":982},{"style":182},[983],{"type":24,"value":984}," Move",{"type":19,"tag":112,"props":986,"children":987},{"style":137},[988],{"type":24,"value":189},{"type":19,"tag":112,"props":990,"children":991},{"style":152},[992],{"type":24,"value":194},{"type":19,"tag":112,"props":994,"children":995},{"style":197},[996],{"type":24,"value":997}," dx",{"type":19,"tag":112,"props":999,"children":1000},{"style":137},[1001],{"type":24,"value":205},{"type":19,"tag":112,"props":1003,"children":1004},{"style":152},[1005],{"type":24,"value":194},{"type":19,"tag":112,"props":1007,"children":1008},{"style":197},[1009],{"type":24,"value":1010}," dy",{"type":19,"tag":112,"props":1012,"children":1013},{"style":137},[1014],{"type":24,"value":345},{"type":19,"tag":112,"props":1016,"children":1017},{"class":114,"line":143},[1018,1023,1028,1032,1037,1041,1046,1050],{"type":19,"tag":112,"props":1019,"children":1020},{"style":125},[1021],{"type":24,"value":1022},"  return",{"type":19,"tag":112,"props":1024,"children":1025},{"style":125},[1026],{"type":24,"value":1027}," new",{"type":19,"tag":112,"props":1029,"children":1030},{"style":977},[1031],{"type":24,"value":134},{"type":19,"tag":112,"props":1033,"children":1034},{"style":137},[1035],{"type":24,"value":1036},"(X ",{"type":19,"tag":112,"props":1038,"children":1039},{"style":119},[1040],{"type":24,"value":835},{"type":19,"tag":112,"props":1042,"children":1043},{"style":137},[1044],{"type":24,"value":1045}," dx1, Y ",{"type":19,"tag":112,"props":1047,"children":1048},{"style":119},[1049],{"type":24,"value":835},{"type":19,"tag":112,"props":1051,"children":1052},{"style":137},[1053],{"type":24,"value":1054}," dy1);\n",{"type":19,"tag":112,"props":1056,"children":1057},{"class":114,"line":163},[1058],{"type":19,"tag":112,"props":1059,"children":1060},{"style":137},[1061],{"type":24,"value":288},{"type":19,"tag":94,"props":1063,"children":1065},{"id":1064},"after-4",[1066],{"type":24,"value":294},{"type":19,"tag":101,"props":1068,"children":1070},{"className":103,"code":1069,"language":105,"meta":9,"style":9},"public Point Move(int dx, int dy) => new Point(X + dx, Y + dy);\n",[1071],{"type":19,"tag":108,"props":1072,"children":1073},{"__ignoreMap":9},[1074],{"type":19,"tag":112,"props":1075,"children":1076},{"class":114,"line":115},[1077,1081,1085,1089,1093,1097,1101,1105,1109,1113,1118,1123,1127,1131,1135,1139,1144,1148],{"type":19,"tag":112,"props":1078,"children":1079},{"style":119},[1080],{"type":24,"value":122},{"type":19,"tag":112,"props":1082,"children":1083},{"style":977},[1084],{"type":24,"value":134},{"type":19,"tag":112,"props":1086,"children":1087},{"style":182},[1088],{"type":24,"value":984},{"type":19,"tag":112,"props":1090,"children":1091},{"style":137},[1092],{"type":24,"value":189},{"type":19,"tag":112,"props":1094,"children":1095},{"style":152},[1096],{"type":24,"value":194},{"type":19,"tag":112,"props":1098,"children":1099},{"style":197},[1100],{"type":24,"value":997},{"type":19,"tag":112,"props":1102,"children":1103},{"style":137},[1104],{"type":24,"value":205},{"type":19,"tag":112,"props":1106,"children":1107},{"style":152},[1108],{"type":24,"value":194},{"type":19,"tag":112,"props":1110,"children":1111},{"style":197},[1112],{"type":24,"value":1010},{"type":19,"tag":112,"props":1114,"children":1115},{"style":137},[1116],{"type":24,"value":1117},") ",{"type":19,"tag":112,"props":1119,"children":1120},{"style":119},[1121],{"type":24,"value":1122},"=>",{"type":19,"tag":112,"props":1124,"children":1125},{"style":125},[1126],{"type":24,"value":1027},{"type":19,"tag":112,"props":1128,"children":1129},{"style":977},[1130],{"type":24,"value":134},{"type":19,"tag":112,"props":1132,"children":1133},{"style":137},[1134],{"type":24,"value":1036},{"type":19,"tag":112,"props":1136,"children":1137},{"style":119},[1138],{"type":24,"value":835},{"type":19,"tag":112,"props":1140,"children":1141},{"style":137},[1142],{"type":24,"value":1143}," dx, Y ",{"type":19,"tag":112,"props":1145,"children":1146},{"style":119},[1147],{"type":24,"value":835},{"type":19,"tag":112,"props":1149,"children":1150},{"style":137},[1151],{"type":24,"value":1152}," dy);\n",{"type":19,"tag":94,"props":1154,"children":1156},{"id":1155},"thoughts-4",[1157],{"type":24,"value":373},{"type":19,"tag":20,"props":1159,"children":1160},{},[1161],{"type":24,"value":1162},"Same as Property Expressions.",{"type":19,"tag":82,"props":1164,"children":1166},{"id":1165},"_6-params-for-enumerables",[1167],{"type":24,"value":1168},"6. Params for enumerables",{"type":19,"tag":20,"props":1170,"children":1171},{},[1172],{"type":24,"value":1173},"No longer need to define your params methods as an array and force early evaluation of the arguments.",{"type":19,"tag":94,"props":1175,"children":1177},{"id":1176},"before-5",[1178],{"type":24,"value":99},{"type":19,"tag":101,"props":1180,"children":1182},{"className":103,"code":1181,"language":105,"meta":9,"style":9},"Do(someEnum.ToArray());\npublic void Do(params int[] values) { ... }\n",[1183],{"type":19,"tag":108,"props":1184,"children":1185},{"__ignoreMap":9},[1186,1209],{"type":19,"tag":112,"props":1187,"children":1188},{"class":114,"line":115},[1189,1194,1199,1204],{"type":19,"tag":112,"props":1190,"children":1191},{"style":182},[1192],{"type":24,"value":1193},"Do",{"type":19,"tag":112,"props":1195,"children":1196},{"style":137},[1197],{"type":24,"value":1198},"(someEnum.",{"type":19,"tag":112,"props":1200,"children":1201},{"style":182},[1202],{"type":24,"value":1203},"ToArray",{"type":19,"tag":112,"props":1205,"children":1206},{"style":137},[1207],{"type":24,"value":1208},"());\n",{"type":19,"tag":112,"props":1210,"children":1211},{"class":114,"line":143},[1212,1216,1221,1226,1230,1235,1239,1244,1249,1254,1259],{"type":19,"tag":112,"props":1213,"children":1214},{"style":119},[1215],{"type":24,"value":122},{"type":19,"tag":112,"props":1217,"children":1218},{"style":152},[1219],{"type":24,"value":1220}," void",{"type":19,"tag":112,"props":1222,"children":1223},{"style":182},[1224],{"type":24,"value":1225}," Do",{"type":19,"tag":112,"props":1227,"children":1228},{"style":137},[1229],{"type":24,"value":189},{"type":19,"tag":112,"props":1231,"children":1232},{"style":119},[1233],{"type":24,"value":1234},"params",{"type":19,"tag":112,"props":1236,"children":1237},{"style":152},[1238],{"type":24,"value":155},{"type":19,"tag":112,"props":1240,"children":1241},{"style":137},[1242],{"type":24,"value":1243},"[] ",{"type":19,"tag":112,"props":1245,"children":1246},{"style":197},[1247],{"type":24,"value":1248},"values",{"type":19,"tag":112,"props":1250,"children":1251},{"style":137},[1252],{"type":24,"value":1253},") { ",{"type":19,"tag":112,"props":1255,"children":1256},{"style":119},[1257],{"type":24,"value":1258},"..",{"type":19,"tag":112,"props":1260,"children":1261},{"style":137},[1262],{"type":24,"value":1263},". }\n",{"type":19,"tag":94,"props":1265,"children":1267},{"id":1266},"after-5",[1268],{"type":24,"value":294},{"type":19,"tag":101,"props":1270,"children":1272},{"className":103,"code":1271,"language":105,"meta":9,"style":9},"Do(someEnum);\npublic void Do(params IEnumerable\u003CPoint> points) { ... }\n",[1273],{"type":19,"tag":108,"props":1274,"children":1275},{"__ignoreMap":9},[1276,1288],{"type":19,"tag":112,"props":1277,"children":1278},{"class":114,"line":115},[1279,1283],{"type":19,"tag":112,"props":1280,"children":1281},{"style":182},[1282],{"type":24,"value":1193},{"type":19,"tag":112,"props":1284,"children":1285},{"style":137},[1286],{"type":24,"value":1287},"(someEnum);\n",{"type":19,"tag":112,"props":1289,"children":1290},{"class":114,"line":143},[1291,1295,1299,1303,1307,1311,1316,1321,1326,1331,1336,1340,1344],{"type":19,"tag":112,"props":1292,"children":1293},{"style":119},[1294],{"type":24,"value":122},{"type":19,"tag":112,"props":1296,"children":1297},{"style":152},[1298],{"type":24,"value":1220},{"type":19,"tag":112,"props":1300,"children":1301},{"style":182},[1302],{"type":24,"value":1225},{"type":19,"tag":112,"props":1304,"children":1305},{"style":137},[1306],{"type":24,"value":189},{"type":19,"tag":112,"props":1308,"children":1309},{"style":119},[1310],{"type":24,"value":1234},{"type":19,"tag":112,"props":1312,"children":1313},{"style":977},[1314],{"type":24,"value":1315}," IEnumerable",{"type":19,"tag":112,"props":1317,"children":1318},{"style":137},[1319],{"type":24,"value":1320},"\u003C",{"type":19,"tag":112,"props":1322,"children":1323},{"style":977},[1324],{"type":24,"value":1325},"Point",{"type":19,"tag":112,"props":1327,"children":1328},{"style":137},[1329],{"type":24,"value":1330},"> ",{"type":19,"tag":112,"props":1332,"children":1333},{"style":197},[1334],{"type":24,"value":1335},"points",{"type":19,"tag":112,"props":1337,"children":1338},{"style":137},[1339],{"type":24,"value":1253},{"type":19,"tag":112,"props":1341,"children":1342},{"style":119},[1343],{"type":24,"value":1258},{"type":19,"tag":112,"props":1345,"children":1346},{"style":137},[1347],{"type":24,"value":1263},{"type":19,"tag":94,"props":1349,"children":1351},{"id":1350},"thoughts-5",[1352],{"type":24,"value":373},{"type":19,"tag":375,"props":1354,"children":1355},{},[1356,1361],{"type":19,"tag":379,"props":1357,"children":1358},{},[1359],{"type":24,"value":1360},"Can have params methods for IEnumerable and array side-by-side? Probably not.",{"type":19,"tag":379,"props":1362,"children":1363},{},[1364],{"type":24,"value":1365},"Is evaluation deferred until evaluated if you pass a single IEnumerable instead of a params?",{"type":19,"tag":82,"props":1367,"children":1369},{"id":1368},"_7-monadic-null-checking",[1370],{"type":24,"value":1371},"7. Monadic null checking",{"type":19,"tag":20,"props":1373,"children":1374},{},[1375,1377,1384],{"type":24,"value":1376},"Removes the need to check for nulls before accessing properties or methods. Known as the ",{"type":19,"tag":52,"props":1378,"children":1381},{"href":1379,"rel":1380},"http://groovy.codehaus.org/Operators#Operators-SafeNavigationOperator(?.)",[65],[1382],{"type":24,"value":1383},"Safe Navigation Operator in Groovy",{"type":24,"value":40},{"type":19,"tag":94,"props":1386,"children":1388},{"id":1387},"before-6",[1389],{"type":24,"value":99},{"type":19,"tag":101,"props":1391,"children":1393},{"className":103,"code":1392,"language":105,"meta":9,"style":9},"if (points != null) {\n  var next = points.FirstOrDefault();\n  if (next != null && next.X != null) return next.X;\n}\nreturn -1;\n",[1394],{"type":19,"tag":108,"props":1395,"children":1396},{"__ignoreMap":9},[1397,1424,1456,1522,1529],{"type":19,"tag":112,"props":1398,"children":1399},{"class":114,"line":115},[1400,1405,1410,1415,1420],{"type":19,"tag":112,"props":1401,"children":1402},{"style":125},[1403],{"type":24,"value":1404},"if",{"type":19,"tag":112,"props":1406,"children":1407},{"style":137},[1408],{"type":24,"value":1409}," (points ",{"type":19,"tag":112,"props":1411,"children":1412},{"style":119},[1413],{"type":24,"value":1414},"!=",{"type":19,"tag":112,"props":1416,"children":1417},{"style":640},[1418],{"type":24,"value":1419}," null",{"type":19,"tag":112,"props":1421,"children":1422},{"style":137},[1423],{"type":24,"value":345},{"type":19,"tag":112,"props":1425,"children":1426},{"class":114,"line":143},[1427,1432,1437,1441,1446,1451],{"type":19,"tag":112,"props":1428,"children":1429},{"style":152},[1430],{"type":24,"value":1431},"  var",{"type":19,"tag":112,"props":1433,"children":1434},{"style":137},[1435],{"type":24,"value":1436}," next ",{"type":19,"tag":112,"props":1438,"children":1439},{"style":119},[1440],{"type":24,"value":265},{"type":19,"tag":112,"props":1442,"children":1443},{"style":137},[1444],{"type":24,"value":1445}," points.",{"type":19,"tag":112,"props":1447,"children":1448},{"style":182},[1449],{"type":24,"value":1450},"FirstOrDefault",{"type":19,"tag":112,"props":1452,"children":1453},{"style":137},[1454],{"type":24,"value":1455},"();\n",{"type":19,"tag":112,"props":1457,"children":1458},{"class":114,"line":163},[1459,1464,1469,1473,1477,1482,1487,1493,1498,1502,1506,1510,1514,1518],{"type":19,"tag":112,"props":1460,"children":1461},{"style":125},[1462],{"type":24,"value":1463},"  if",{"type":19,"tag":112,"props":1465,"children":1466},{"style":137},[1467],{"type":24,"value":1468}," (next ",{"type":19,"tag":112,"props":1470,"children":1471},{"style":119},[1472],{"type":24,"value":1414},{"type":19,"tag":112,"props":1474,"children":1475},{"style":640},[1476],{"type":24,"value":1419},{"type":19,"tag":112,"props":1478,"children":1479},{"style":119},[1480],{"type":24,"value":1481}," &&",{"type":19,"tag":112,"props":1483,"children":1484},{"style":137},[1485],{"type":24,"value":1486}," next.",{"type":19,"tag":112,"props":1488,"children":1490},{"style":1489},"--shiki-default:#35A77C;--shiki-dark:#F8F8F2",[1491],{"type":24,"value":1492},"X",{"type":19,"tag":112,"props":1494,"children":1495},{"style":119},[1496],{"type":24,"value":1497}," !=",{"type":19,"tag":112,"props":1499,"children":1500},{"style":640},[1501],{"type":24,"value":1419},{"type":19,"tag":112,"props":1503,"children":1504},{"style":137},[1505],{"type":24,"value":1117},{"type":19,"tag":112,"props":1507,"children":1508},{"style":125},[1509],{"type":24,"value":510},{"type":19,"tag":112,"props":1511,"children":1512},{"style":137},[1513],{"type":24,"value":1486},{"type":19,"tag":112,"props":1515,"children":1516},{"style":1489},[1517],{"type":24,"value":1492},{"type":19,"tag":112,"props":1519,"children":1520},{"style":137},[1521],{"type":24,"value":251},{"type":19,"tag":112,"props":1523,"children":1524},{"class":114,"line":173},[1525],{"type":19,"tag":112,"props":1526,"children":1527},{"style":137},[1528],{"type":24,"value":288},{"type":19,"tag":112,"props":1530,"children":1531},{"class":114,"line":222},[1532,1536,1541,1546],{"type":19,"tag":112,"props":1533,"children":1534},{"style":125},[1535],{"type":24,"value":510},{"type":19,"tag":112,"props":1537,"children":1538},{"style":119},[1539],{"type":24,"value":1540}," -",{"type":19,"tag":112,"props":1542,"children":1543},{"style":640},[1544],{"type":24,"value":1545},"1",{"type":19,"tag":112,"props":1547,"children":1548},{"style":137},[1549],{"type":24,"value":251},{"type":19,"tag":94,"props":1551,"children":1553},{"id":1552},"after-6",[1554],{"type":24,"value":294},{"type":19,"tag":101,"props":1556,"children":1558},{"className":103,"code":1557,"language":105,"meta":9,"style":9},"var bestValue = points?.FirstOrDefault()?.X ?? -1;\n",[1559],{"type":19,"tag":108,"props":1560,"children":1561},{"__ignoreMap":9},[1562],{"type":19,"tag":112,"props":1563,"children":1564},{"class":114,"line":115},[1565,1570,1575,1579,1584,1589,1593,1597,1602,1606,1610,1614,1619,1623,1627],{"type":19,"tag":112,"props":1566,"children":1567},{"style":152},[1568],{"type":24,"value":1569},"var",{"type":19,"tag":112,"props":1571,"children":1572},{"style":137},[1573],{"type":24,"value":1574}," bestValue ",{"type":19,"tag":112,"props":1576,"children":1577},{"style":119},[1578],{"type":24,"value":265},{"type":19,"tag":112,"props":1580,"children":1581},{"style":137},[1582],{"type":24,"value":1583}," points",{"type":19,"tag":112,"props":1585,"children":1586},{"style":119},[1587],{"type":24,"value":1588},"?",{"type":19,"tag":112,"props":1590,"children":1591},{"style":137},[1592],{"type":24,"value":40},{"type":19,"tag":112,"props":1594,"children":1595},{"style":182},[1596],{"type":24,"value":1450},{"type":19,"tag":112,"props":1598,"children":1599},{"style":137},[1600],{"type":24,"value":1601},"()",{"type":19,"tag":112,"props":1603,"children":1604},{"style":119},[1605],{"type":24,"value":1588},{"type":19,"tag":112,"props":1607,"children":1608},{"style":137},[1609],{"type":24,"value":40},{"type":19,"tag":112,"props":1611,"children":1612},{"style":1489},[1613],{"type":24,"value":1492},{"type":19,"tag":112,"props":1615,"children":1616},{"style":119},[1617],{"type":24,"value":1618}," ??",{"type":19,"tag":112,"props":1620,"children":1621},{"style":119},[1622],{"type":24,"value":1540},{"type":19,"tag":112,"props":1624,"children":1625},{"style":640},[1626],{"type":24,"value":1545},{"type":19,"tag":112,"props":1628,"children":1629},{"style":137},[1630],{"type":24,"value":251},{"type":19,"tag":94,"props":1632,"children":1634},{"id":1633},"thoughts-6",[1635],{"type":24,"value":373},{"type":19,"tag":20,"props":1637,"children":1638},{},[1639],{"type":24,"value":1640},"Love it. Will reduce noise in code and hopefully reduce null reference errors everywhere!",{"type":19,"tag":82,"props":1642,"children":1644},{"id":1643},"_8-constructor-type-parameter-inference",[1645],{"type":24,"value":1646},"8. Constructor type parameter inference",{"type":19,"tag":20,"props":1648,"children":1649},{},[1650],{"type":24,"value":1651},"Removes the need to create static factory methods to infer generic types. This is helpful with Tuples etc.",{"type":19,"tag":94,"props":1653,"children":1655},{"id":1654},"before-7",[1656],{"type":24,"value":99},{"type":19,"tag":101,"props":1658,"children":1660},{"className":103,"code":1659,"language":105,"meta":9,"style":9},"var x = MyClass.Create(1, \"X\");\n\npublic MyClass\u003CT1, T2> Create\u003CT1, T2>(T1 a, T2 b) {\n    return new MyClass\u003CT1, T2>(a, b);\n}\n",[1661],{"type":19,"tag":108,"props":1662,"children":1663},{"__ignoreMap":9},[1664,1722,1729,1815,1852],{"type":19,"tag":112,"props":1665,"children":1666},{"class":114,"line":115},[1667,1671,1676,1680,1685,1690,1694,1698,1702,1708,1713,1717],{"type":19,"tag":112,"props":1668,"children":1669},{"style":152},[1670],{"type":24,"value":1569},{"type":19,"tag":112,"props":1672,"children":1673},{"style":137},[1674],{"type":24,"value":1675}," x ",{"type":19,"tag":112,"props":1677,"children":1678},{"style":119},[1679],{"type":24,"value":265},{"type":19,"tag":112,"props":1681,"children":1682},{"style":137},[1683],{"type":24,"value":1684}," MyClass.",{"type":19,"tag":112,"props":1686,"children":1687},{"style":182},[1688],{"type":24,"value":1689},"Create",{"type":19,"tag":112,"props":1691,"children":1692},{"style":137},[1693],{"type":24,"value":189},{"type":19,"tag":112,"props":1695,"children":1696},{"style":640},[1697],{"type":24,"value":1545},{"type":19,"tag":112,"props":1699,"children":1700},{"style":137},[1701],{"type":24,"value":205},{"type":19,"tag":112,"props":1703,"children":1705},{"style":1704},"--shiki-default:#8DA101;--shiki-dark:#E9F284",[1706],{"type":24,"value":1707},"\"",{"type":19,"tag":112,"props":1709,"children":1711},{"style":1710},"--shiki-default:#8DA101;--shiki-dark:#F1FA8C",[1712],{"type":24,"value":1492},{"type":19,"tag":112,"props":1714,"children":1715},{"style":1704},[1716],{"type":24,"value":1707},{"type":19,"tag":112,"props":1718,"children":1719},{"style":137},[1720],{"type":24,"value":1721},");\n",{"type":19,"tag":112,"props":1723,"children":1724},{"class":114,"line":143},[1725],{"type":19,"tag":112,"props":1726,"children":1727},{"emptyLinePlaceholder":167},[1728],{"type":24,"value":170},{"type":19,"tag":112,"props":1730,"children":1731},{"class":114,"line":163},[1732,1736,1741,1745,1750,1754,1759,1763,1767,1771,1776,1780,1784,1789,1793,1798,1802,1806,1811],{"type":19,"tag":112,"props":1733,"children":1734},{"style":119},[1735],{"type":24,"value":122},{"type":19,"tag":112,"props":1737,"children":1738},{"style":977},[1739],{"type":24,"value":1740}," MyClass",{"type":19,"tag":112,"props":1742,"children":1743},{"style":137},[1744],{"type":24,"value":1320},{"type":19,"tag":112,"props":1746,"children":1747},{"style":977},[1748],{"type":24,"value":1749},"T1",{"type":19,"tag":112,"props":1751,"children":1752},{"style":137},[1753],{"type":24,"value":205},{"type":19,"tag":112,"props":1755,"children":1756},{"style":977},[1757],{"type":24,"value":1758},"T2",{"type":19,"tag":112,"props":1760,"children":1761},{"style":137},[1762],{"type":24,"value":1330},{"type":19,"tag":112,"props":1764,"children":1765},{"style":182},[1766],{"type":24,"value":1689},{"type":19,"tag":112,"props":1768,"children":1769},{"style":137},[1770],{"type":24,"value":1320},{"type":19,"tag":112,"props":1772,"children":1774},{"style":1773},"--shiki-default:#3A94C5;--shiki-default-font-style:inherit;--shiki-dark:#FFB86C;--shiki-dark-font-style:italic",[1775],{"type":24,"value":1749},{"type":19,"tag":112,"props":1777,"children":1778},{"style":137},[1779],{"type":24,"value":205},{"type":19,"tag":112,"props":1781,"children":1782},{"style":1773},[1783],{"type":24,"value":1758},{"type":19,"tag":112,"props":1785,"children":1786},{"style":137},[1787],{"type":24,"value":1788},">(",{"type":19,"tag":112,"props":1790,"children":1791},{"style":977},[1792],{"type":24,"value":1749},{"type":19,"tag":112,"props":1794,"children":1795},{"style":197},[1796],{"type":24,"value":1797}," a",{"type":19,"tag":112,"props":1799,"children":1800},{"style":137},[1801],{"type":24,"value":205},{"type":19,"tag":112,"props":1803,"children":1804},{"style":977},[1805],{"type":24,"value":1758},{"type":19,"tag":112,"props":1807,"children":1808},{"style":197},[1809],{"type":24,"value":1810}," b",{"type":19,"tag":112,"props":1812,"children":1813},{"style":137},[1814],{"type":24,"value":345},{"type":19,"tag":112,"props":1816,"children":1817},{"class":114,"line":173},[1818,1823,1827,1831,1835,1839,1843,1847],{"type":19,"tag":112,"props":1819,"children":1820},{"style":125},[1821],{"type":24,"value":1822},"    return",{"type":19,"tag":112,"props":1824,"children":1825},{"style":125},[1826],{"type":24,"value":1027},{"type":19,"tag":112,"props":1828,"children":1829},{"style":977},[1830],{"type":24,"value":1740},{"type":19,"tag":112,"props":1832,"children":1833},{"style":137},[1834],{"type":24,"value":1320},{"type":19,"tag":112,"props":1836,"children":1837},{"style":977},[1838],{"type":24,"value":1749},{"type":19,"tag":112,"props":1840,"children":1841},{"style":137},[1842],{"type":24,"value":205},{"type":19,"tag":112,"props":1844,"children":1845},{"style":977},[1846],{"type":24,"value":1758},{"type":19,"tag":112,"props":1848,"children":1849},{"style":137},[1850],{"type":24,"value":1851},">(a, b);\n",{"type":19,"tag":112,"props":1853,"children":1854},{"class":114,"line":222},[1855],{"type":19,"tag":112,"props":1856,"children":1857},{"style":137},[1858],{"type":24,"value":288},{"type":19,"tag":94,"props":1860,"children":1862},{"id":1861},"after-7",[1863],{"type":24,"value":294},{"type":19,"tag":101,"props":1865,"children":1867},{"className":103,"code":1866,"language":105,"meta":9,"style":9},"var x = new MyClass(1, \"X\");\n",[1868],{"type":19,"tag":108,"props":1869,"children":1870},{"__ignoreMap":9},[1871],{"type":19,"tag":112,"props":1872,"children":1873},{"class":114,"line":115},[1874,1878,1882,1886,1890,1894,1898,1902,1906,1910,1914,1918],{"type":19,"tag":112,"props":1875,"children":1876},{"style":152},[1877],{"type":24,"value":1569},{"type":19,"tag":112,"props":1879,"children":1880},{"style":137},[1881],{"type":24,"value":1675},{"type":19,"tag":112,"props":1883,"children":1884},{"style":119},[1885],{"type":24,"value":265},{"type":19,"tag":112,"props":1887,"children":1888},{"style":125},[1889],{"type":24,"value":1027},{"type":19,"tag":112,"props":1891,"children":1892},{"style":977},[1893],{"type":24,"value":1740},{"type":19,"tag":112,"props":1895,"children":1896},{"style":137},[1897],{"type":24,"value":189},{"type":19,"tag":112,"props":1899,"children":1900},{"style":640},[1901],{"type":24,"value":1545},{"type":19,"tag":112,"props":1903,"children":1904},{"style":137},[1905],{"type":24,"value":205},{"type":19,"tag":112,"props":1907,"children":1908},{"style":1704},[1909],{"type":24,"value":1707},{"type":19,"tag":112,"props":1911,"children":1912},{"style":1710},[1913],{"type":24,"value":1492},{"type":19,"tag":112,"props":1915,"children":1916},{"style":1704},[1917],{"type":24,"value":1707},{"type":19,"tag":112,"props":1919,"children":1920},{"style":137},[1921],{"type":24,"value":1721},{"type":19,"tag":94,"props":1923,"children":1925},{"id":1924},"thoughts-7",[1926],{"type":24,"value":373},{"type":19,"tag":375,"props":1928,"children":1929},{},[1930,1935],{"type":19,"tag":379,"props":1931,"children":1932},{},[1933],{"type":24,"value":1934},"Another great addition.",{"type":19,"tag":379,"props":1936,"children":1937},{},[1938],{"type":24,"value":1939},"Does it understand list and collection initializers to automatically determine the generic types too?",{"type":19,"tag":82,"props":1941,"children":1943},{"id":1942},"_9-inline-declarations-for-out-params",[1944],{"type":24,"value":1945},"9. Inline declarations for out params",{"type":19,"tag":20,"props":1947,"children":1948},{},[1949],{"type":24,"value":1950},"Lets you declare the out variables inline with the call.",{"type":19,"tag":94,"props":1952,"children":1954},{"id":1953},"before-8",[1955],{"type":24,"value":99},{"type":19,"tag":101,"props":1957,"children":1959},{"className":103,"code":1958,"language":105,"meta":9,"style":9},"int x;\nint.TryParse(\"123\", out x);\n",[1960],{"type":19,"tag":108,"props":1961,"children":1962},{"__ignoreMap":9},[1963,1974],{"type":19,"tag":112,"props":1964,"children":1965},{"class":114,"line":115},[1966,1970],{"type":19,"tag":112,"props":1967,"children":1968},{"style":152},[1969],{"type":24,"value":194},{"type":19,"tag":112,"props":1971,"children":1972},{"style":137},[1973],{"type":24,"value":489},{"type":19,"tag":112,"props":1975,"children":1976},{"class":114,"line":143},[1977,1981,1985,1990,1994,1998,2003,2007,2011,2016],{"type":19,"tag":112,"props":1978,"children":1979},{"style":152},[1980],{"type":24,"value":194},{"type":19,"tag":112,"props":1982,"children":1983},{"style":137},[1984],{"type":24,"value":40},{"type":19,"tag":112,"props":1986,"children":1987},{"style":182},[1988],{"type":24,"value":1989},"TryParse",{"type":19,"tag":112,"props":1991,"children":1992},{"style":137},[1993],{"type":24,"value":189},{"type":19,"tag":112,"props":1995,"children":1996},{"style":1704},[1997],{"type":24,"value":1707},{"type":19,"tag":112,"props":1999,"children":2000},{"style":1710},[2001],{"type":24,"value":2002},"123",{"type":19,"tag":112,"props":2004,"children":2005},{"style":1704},[2006],{"type":24,"value":1707},{"type":19,"tag":112,"props":2008,"children":2009},{"style":137},[2010],{"type":24,"value":205},{"type":19,"tag":112,"props":2012,"children":2013},{"style":119},[2014],{"type":24,"value":2015},"out",{"type":19,"tag":112,"props":2017,"children":2018},{"style":137},[2019],{"type":24,"value":2020}," x);\n",{"type":19,"tag":94,"props":2022,"children":2024},{"id":2023},"after-8",[2025],{"type":24,"value":294},{"type":19,"tag":101,"props":2027,"children":2029},{"className":103,"code":2028,"language":105,"meta":9,"style":9},"int.TryParse(\"123\", out int x);\n",[2030],{"type":19,"tag":108,"props":2031,"children":2032},{"__ignoreMap":9},[2033],{"type":19,"tag":112,"props":2034,"children":2035},{"class":114,"line":115},[2036,2040,2044,2048,2052,2056,2060,2064,2068,2072,2076],{"type":19,"tag":112,"props":2037,"children":2038},{"style":152},[2039],{"type":24,"value":194},{"type":19,"tag":112,"props":2041,"children":2042},{"style":137},[2043],{"type":24,"value":40},{"type":19,"tag":112,"props":2045,"children":2046},{"style":182},[2047],{"type":24,"value":1989},{"type":19,"tag":112,"props":2049,"children":2050},{"style":137},[2051],{"type":24,"value":189},{"type":19,"tag":112,"props":2053,"children":2054},{"style":1704},[2055],{"type":24,"value":1707},{"type":19,"tag":112,"props":2057,"children":2058},{"style":1710},[2059],{"type":24,"value":2002},{"type":19,"tag":112,"props":2061,"children":2062},{"style":1704},[2063],{"type":24,"value":1707},{"type":19,"tag":112,"props":2065,"children":2066},{"style":137},[2067],{"type":24,"value":205},{"type":19,"tag":112,"props":2069,"children":2070},{"style":119},[2071],{"type":24,"value":2015},{"type":19,"tag":112,"props":2073,"children":2074},{"style":152},[2075],{"type":24,"value":155},{"type":19,"tag":112,"props":2077,"children":2078},{"style":137},[2079],{"type":24,"value":2020},{"type":19,"tag":94,"props":2081,"children":2083},{"id":2082},"thoughts-8",[2084],{"type":24,"value":373},{"type":19,"tag":375,"props":2086,"children":2087},{},[2088,2093],{"type":19,"tag":379,"props":2089,"children":2090},{},[2091],{"type":24,"value":2092},"Not a particularly large syntax reduction.",{"type":19,"tag":379,"props":2094,"children":2095},{},[2096],{"type":24,"value":2097},"Shorter code for Try methods and DirectX.",{"type":19,"tag":82,"props":2099,"children":2101},{"id":2100},"wrapping-up",[2102],{"type":24,"value":2103},"Wrapping up",{"type":19,"tag":20,"props":2105,"children":2106},{},[2107],{"type":24,"value":2108},"Hopefully there are a few more gems to come that would help reduce noise. Would especially like to see syntax that wired up an interface to an internal instance variable where not specifically overridden to aid in encapsulation, e.g.",{"type":19,"tag":101,"props":2110,"children":2112},{"className":103,"code":2111,"language":105,"meta":9,"style":9},"public MyClass : IList =&gt; myList {\n  private IList myList;\n\n  public Add(object item) {\n    // Do something first\n    myList.Add(item);\n  }\n}\n",[2113],{"type":19,"tag":108,"props":2114,"children":2115},{"__ignoreMap":9},[2116,2142,2160,2167,2197,2206,2224,2231],{"type":19,"tag":112,"props":2117,"children":2118},{"class":114,"line":115},[2119,2123,2127,2132,2137],{"type":19,"tag":112,"props":2120,"children":2121},{"style":119},[2122],{"type":24,"value":122},{"type":19,"tag":112,"props":2124,"children":2125},{"style":1489},[2126],{"type":24,"value":1740},{"type":19,"tag":112,"props":2128,"children":2129},{"style":137},[2130],{"type":24,"value":2131}," : IList ",{"type":19,"tag":112,"props":2133,"children":2134},{"style":119},[2135],{"type":24,"value":2136},"=&",{"type":19,"tag":112,"props":2138,"children":2139},{"style":137},[2140],{"type":24,"value":2141},"gt; myList {\n",{"type":19,"tag":112,"props":2143,"children":2144},{"class":114,"line":143},[2145,2150,2155],{"type":19,"tag":112,"props":2146,"children":2147},{"style":137},[2148],{"type":24,"value":2149},"  private ",{"type":19,"tag":112,"props":2151,"children":2152},{"style":977},[2153],{"type":24,"value":2154},"IList",{"type":19,"tag":112,"props":2156,"children":2157},{"style":137},[2158],{"type":24,"value":2159}," myList;\n",{"type":19,"tag":112,"props":2161,"children":2162},{"class":114,"line":163},[2163],{"type":19,"tag":112,"props":2164,"children":2165},{"emptyLinePlaceholder":167},[2166],{"type":24,"value":170},{"type":19,"tag":112,"props":2168,"children":2169},{"class":114,"line":173},[2170,2174,2179,2183,2188,2193],{"type":19,"tag":112,"props":2171,"children":2172},{"style":977},[2173],{"type":24,"value":179},{"type":19,"tag":112,"props":2175,"children":2176},{"style":182},[2177],{"type":24,"value":2178}," Add",{"type":19,"tag":112,"props":2180,"children":2181},{"style":137},[2182],{"type":24,"value":189},{"type":19,"tag":112,"props":2184,"children":2185},{"style":152},[2186],{"type":24,"value":2187},"object",{"type":19,"tag":112,"props":2189,"children":2190},{"style":197},[2191],{"type":24,"value":2192}," item",{"type":19,"tag":112,"props":2194,"children":2195},{"style":137},[2196],{"type":24,"value":345},{"type":19,"tag":112,"props":2198,"children":2199},{"class":114,"line":222},[2200],{"type":19,"tag":112,"props":2201,"children":2203},{"style":2202},"--shiki-default:#939F91;--shiki-default-font-style:italic;--shiki-dark:#6272A4;--shiki-dark-font-style:inherit",[2204],{"type":24,"value":2205},"    // Do something first\n",{"type":19,"tag":112,"props":2207,"children":2208},{"class":114,"line":254},[2209,2214,2219],{"type":19,"tag":112,"props":2210,"children":2211},{"style":137},[2212],{"type":24,"value":2213},"    myList.",{"type":19,"tag":112,"props":2215,"children":2216},{"style":182},[2217],{"type":24,"value":2218},"Add",{"type":19,"tag":112,"props":2220,"children":2221},{"style":137},[2222],{"type":24,"value":2223},"(item);\n",{"type":19,"tag":112,"props":2225,"children":2226},{"class":114,"line":273},[2227],{"type":19,"tag":112,"props":2228,"children":2229},{"style":137},[2230],{"type":24,"value":279},{"type":19,"tag":112,"props":2232,"children":2233},{"class":114,"line":282},[2234],{"type":19,"tag":112,"props":2235,"children":2236},{"style":137},[2237],{"type":24,"value":288},{"type":19,"tag":20,"props":2239,"children":2240},{},[2241],{"type":19,"tag":2242,"props":2243,"children":2244},"em",{},[2245],{"type":24,"value":2246},"[)amien",{"type":19,"tag":2248,"props":2249,"children":2250},"style",{},[2251],{"type":24,"value":2252},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":9,"searchDepth":143,"depth":143,"links":2254},[2255,2260,2265,2270,2275,2280,2285,2290,2295,2300],{"id":84,"depth":143,"text":87,"children":2256},[2257,2258,2259],{"id":96,"depth":163,"text":99},{"id":291,"depth":163,"text":294},{"id":370,"depth":163,"text":373},{"id":447,"depth":143,"text":450,"children":2261},[2262,2263,2264],{"id":458,"depth":163,"text":99},{"id":518,"depth":163,"text":294},{"id":554,"depth":163,"text":373},{"id":572,"depth":143,"text":575,"children":2266},[2267,2268,2269],{"id":583,"depth":163,"text":99},{"id":651,"depth":163,"text":294},{"id":741,"depth":163,"text":373},{"id":759,"depth":143,"text":762,"children":2271},[2272,2273,2274],{"id":770,"depth":163,"text":99},{"id":859,"depth":163,"text":294},{"id":929,"depth":163,"text":373},{"id":947,"depth":143,"text":950,"children":2276},[2277,2278,2279],{"id":958,"depth":163,"text":99},{"id":1064,"depth":163,"text":294},{"id":1155,"depth":163,"text":373},{"id":1165,"depth":143,"text":1168,"children":2281},[2282,2283,2284],{"id":1176,"depth":163,"text":99},{"id":1266,"depth":163,"text":294},{"id":1350,"depth":163,"text":373},{"id":1368,"depth":143,"text":1371,"children":2286},[2287,2288,2289],{"id":1387,"depth":163,"text":99},{"id":1552,"depth":163,"text":294},{"id":1633,"depth":163,"text":373},{"id":1643,"depth":143,"text":1646,"children":2291},[2292,2293,2294],{"id":1654,"depth":163,"text":99},{"id":1861,"depth":163,"text":294},{"id":1924,"depth":163,"text":373},{"id":1942,"depth":143,"text":1945,"children":2296},[2297,2298,2299],{"id":1953,"depth":163,"text":99},{"id":2023,"depth":163,"text":294},{"id":2082,"depth":163,"text":373},{"id":2100,"depth":143,"text":2103},"markdown","content:blog:2013:probable-c-6-0-features-illustrated.md","content","blog/2013/probable-c-6-0-features-illustrated.md","blog/2013/probable-c-6-0-features-illustrated","md","/blog/2013/probable-c-6-0-features-illustrated/",887,79,[2311,2315,2319],{"title":2312,"date":2313,"url":2314},"HTML5 Video Cheatsheet: Optimizing videos for the web","2025-12-05T00:00:00Z","/blog/2025/html5-video-cheatsheet/",{"title":2316,"date":2317,"url":2318},"Transactions in the MongoDB EF Core Provider","2025-10-25","/blog/2025/mongodb-explicit-transactions/",{"title":2320,"date":2321,"url":2322},"Queryable Encryption with the MongoDB EF Core Provider","2025-09-22","/blog/2025/mongodb-queryable-encryption/",[2324,2791,2911,2946,3043,3317,3522,3751,3803,4058,4189,4209,4230,4437,4457,4477,4654,4740,4944,4964,5059,5248,5279,5412,5433,5453,5577,5675,5876,5944,6127,6148,6241,6266,6287,6307,6367,6384,6405,6422,6442,6462,6491,6511,6537,6640,6660,6759,6780,6835,6855,6879,6909,7144,7165,7191,7289,7310,7331,7357,7374,7402,7439,7609,7630,7655,7676,7792,7812,7975,7995,8016,8104,8129,8150,8168,8273,8290,8442],{"_path":2325,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":2327,"description":2328,"id":2329,"name":2330,"email":2331,"avatar":2332,"date":2333,"body":2334,"_type":2301,"_id":2788,"_source":2303,"_file":2789,"_stem":2790,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/99790","probable-c-6-0-features-illustrated","99790","WriteLine(«Welcome to my version of Roslyn!»); - Nothing terrible ever seen!\nGive then add another denotation of the brackets:\nWriteLine(\u003C>);\nAnd maybe even add aliases for command localizations:\nalias ЗаписатьСтроку = WriteLine;\n..\nЗаписатьСтроку(\u003C>);",99790,"Pavel","me@mail.ru","https://www.gravatar.com/avatar/d1f736439bc6b22e119b438bb0c26dd0?r=pg&d=retro","2014-06-17T13:20:59",{"type":16,"children":2335,"toc":2786},[2336,2340,2345,2454,2459,2520,2525,2530,2573,2578,2625,2630,2724,2729,2734,2777,2782],{"type":19,"tag":20,"props":2337,"children":2338},{},[2339],{"type":24,"value":2328},{"type":19,"tag":20,"props":2341,"children":2342},{},[2343],{"type":24,"value":2344},"Until the anounce date of sixth version of the C# language shown promise.\nMost who picked the language wishes to develop their program in \"C++\"-like programming language.\nProgrammers who are wishing to use Scala or F# are very-very few!\nInstead of optimizing the compiling code and improve the quality of the language it was created another piece of trash.",{"type":19,"tag":101,"props":2346,"children":2348},{"className":103,"code":2347,"language":105,"meta":9,"style":9},"int X=>x*x;\nint X {get {x*x;}};\nvar x=(var y=rand(10);y*y);\n",[2349],{"type":19,"tag":108,"props":2350,"children":2351},{"__ignoreMap":9},[2352,2381,2402],{"type":19,"tag":112,"props":2353,"children":2354},{"class":114,"line":115},[2355,2359,2364,2368,2372,2376],{"type":19,"tag":112,"props":2356,"children":2357},{"style":152},[2358],{"type":24,"value":194},{"type":19,"tag":112,"props":2360,"children":2361},{"style":197},[2362],{"type":24,"value":2363}," X",{"type":19,"tag":112,"props":2365,"children":2366},{"style":119},[2367],{"type":24,"value":1122},{"type":19,"tag":112,"props":2369,"children":2370},{"style":137},[2371],{"type":24,"value":237},{"type":19,"tag":112,"props":2373,"children":2374},{"style":119},[2375],{"type":24,"value":825},{"type":19,"tag":112,"props":2377,"children":2378},{"style":137},[2379],{"type":24,"value":2380},"x;\n",{"type":19,"tag":112,"props":2382,"children":2383},{"class":114,"line":143},[2384,2388,2393,2397],{"type":19,"tag":112,"props":2385,"children":2386},{"style":152},[2387],{"type":24,"value":194},{"type":19,"tag":112,"props":2389,"children":2390},{"style":137},[2391],{"type":24,"value":2392}," X {get {x",{"type":19,"tag":112,"props":2394,"children":2395},{"style":119},[2396],{"type":24,"value":825},{"type":19,"tag":112,"props":2398,"children":2399},{"style":137},[2400],{"type":24,"value":2401},"x;}};\n",{"type":19,"tag":112,"props":2403,"children":2404},{"class":114,"line":163},[2405,2409,2413,2417,2422,2426,2431,2435,2440,2445,2449],{"type":19,"tag":112,"props":2406,"children":2407},{"style":152},[2408],{"type":24,"value":1569},{"type":19,"tag":112,"props":2410,"children":2411},{"style":137},[2412],{"type":24,"value":200},{"type":19,"tag":112,"props":2414,"children":2415},{"style":119},[2416],{"type":24,"value":265},{"type":19,"tag":112,"props":2418,"children":2419},{"style":137},[2420],{"type":24,"value":2421},"(var y",{"type":19,"tag":112,"props":2423,"children":2424},{"style":119},[2425],{"type":24,"value":265},{"type":19,"tag":112,"props":2427,"children":2428},{"style":182},[2429],{"type":24,"value":2430},"rand",{"type":19,"tag":112,"props":2432,"children":2433},{"style":137},[2434],{"type":24,"value":189},{"type":19,"tag":112,"props":2436,"children":2437},{"style":640},[2438],{"type":24,"value":2439},"10",{"type":19,"tag":112,"props":2441,"children":2442},{"style":137},[2443],{"type":24,"value":2444},");y",{"type":19,"tag":112,"props":2446,"children":2447},{"style":119},[2448],{"type":24,"value":825},{"type":19,"tag":112,"props":2450,"children":2451},{"style":137},[2452],{"type":24,"value":2453},"y);\n",{"type":19,"tag":20,"props":2455,"children":2456},{},[2457],{"type":24,"value":2458},"And it increases the readability of the program...",{"type":19,"tag":101,"props":2460,"children":2461},{"className":103,"code":864,"language":105,"meta":9,"style":9},[2462],{"type":19,"tag":108,"props":2463,"children":2464},{"__ignoreMap":9},[2465],{"type":19,"tag":112,"props":2466,"children":2467},{"class":114,"line":115},[2468,2472,2476,2480,2484,2488,2492,2496,2500,2504,2508,2512,2516],{"type":19,"tag":112,"props":2469,"children":2470},{"style":119},[2471],{"type":24,"value":122},{"type":19,"tag":112,"props":2473,"children":2474},{"style":152},[2475],{"type":24,"value":604},{"type":19,"tag":112,"props":2477,"children":2478},{"style":197},[2479],{"type":24,"value":884},{"type":19,"tag":112,"props":2481,"children":2482},{"style":119},[2483],{"type":24,"value":889},{"type":19,"tag":112,"props":2485,"children":2486},{"style":137},[2487],{"type":24,"value":618},{"type":19,"tag":112,"props":2489,"children":2490},{"style":182},[2491],{"type":24,"value":623},{"type":19,"tag":112,"props":2493,"children":2494},{"style":137},[2495],{"type":24,"value":820},{"type":19,"tag":112,"props":2497,"children":2498},{"style":119},[2499],{"type":24,"value":825},{"type":19,"tag":112,"props":2501,"children":2502},{"style":137},[2503],{"type":24,"value":830},{"type":19,"tag":112,"props":2505,"children":2506},{"style":119},[2507],{"type":24,"value":835},{"type":19,"tag":112,"props":2509,"children":2510},{"style":137},[2511],{"type":24,"value":840},{"type":19,"tag":112,"props":2513,"children":2514},{"style":119},[2515],{"type":24,"value":825},{"type":19,"tag":112,"props":2517,"children":2518},{"style":137},[2519],{"type":24,"value":926},{"type":19,"tag":20,"props":2521,"children":2522},{},[2523],{"type":24,"value":2524},"At a first glance it might be confused with the delegate",{"type":19,"tag":20,"props":2526,"children":2527},{},[2528],{"type":24,"value":2529},"Indexed member initializer:",{"type":19,"tag":101,"props":2531,"children":2533},{"className":103,"code":2532,"language":105,"meta":9,"style":9},"new JObject { $x = 3, $y = 7\n",[2534],{"type":19,"tag":108,"props":2535,"children":2536},{"__ignoreMap":9},[2537],{"type":19,"tag":112,"props":2538,"children":2539},{"class":114,"line":115},[2540,2545,2550,2554,2559,2564,2568],{"type":19,"tag":112,"props":2541,"children":2542},{"style":119},[2543],{"type":24,"value":2544},"new",{"type":19,"tag":112,"props":2546,"children":2547},{"style":137},[2548],{"type":24,"value":2549}," JObject { $x ",{"type":19,"tag":112,"props":2551,"children":2552},{"style":119},[2553],{"type":24,"value":265},{"type":19,"tag":112,"props":2555,"children":2556},{"style":640},[2557],{"type":24,"value":2558}," 3",{"type":19,"tag":112,"props":2560,"children":2561},{"style":137},[2562],{"type":24,"value":2563},", $y ",{"type":19,"tag":112,"props":2565,"children":2566},{"style":119},[2567],{"type":24,"value":265},{"type":19,"tag":112,"props":2569,"children":2570},{"style":640},[2571],{"type":24,"value":2572}," 7\n",{"type":19,"tag":20,"props":2574,"children":2575},{},[2576],{"type":24,"value":2577},"and indexed member access",{"type":19,"tag":101,"props":2579,"children":2581},{"className":103,"code":2580,"language":105,"meta":9,"style":9},"c.$name = c.$first + \" \" + c.$last;\n",[2582],{"type":19,"tag":108,"props":2583,"children":2584},{"__ignoreMap":9},[2585],{"type":19,"tag":112,"props":2586,"children":2587},{"class":114,"line":115},[2588,2593,2597,2602,2606,2611,2615,2620],{"type":19,"tag":112,"props":2589,"children":2590},{"style":137},[2591],{"type":24,"value":2592},"c.$name ",{"type":19,"tag":112,"props":2594,"children":2595},{"style":119},[2596],{"type":24,"value":265},{"type":19,"tag":112,"props":2598,"children":2599},{"style":137},[2600],{"type":24,"value":2601}," c.$first ",{"type":19,"tag":112,"props":2603,"children":2604},{"style":119},[2605],{"type":24,"value":835},{"type":19,"tag":112,"props":2607,"children":2608},{"style":1704},[2609],{"type":24,"value":2610}," \"",{"type":19,"tag":112,"props":2612,"children":2613},{"style":1704},[2614],{"type":24,"value":2610},{"type":19,"tag":112,"props":2616,"children":2617},{"style":119},[2618],{"type":24,"value":2619}," +",{"type":19,"tag":112,"props":2621,"children":2622},{"style":137},[2623],{"type":24,"value":2624}," c.$last;\n",{"type":19,"tag":20,"props":2626,"children":2627},{},[2628],{"type":24,"value":2629},"It generally looks like a failed attempt to realize the potential of DLR.\nThe next step will probably be the following:",{"type":19,"tag":101,"props":2631,"children":2633},{"className":103,"code":2632,"language":105,"meta":9,"style":9},"var n = \"name\";\nc.$(n) = c.$(\"first\") + \" \" + c.$last;\n",[2634],{"type":19,"tag":108,"props":2635,"children":2636},{"__ignoreMap":9},[2637,2670],{"type":19,"tag":112,"props":2638,"children":2639},{"class":114,"line":115},[2640,2644,2649,2653,2657,2662,2666],{"type":19,"tag":112,"props":2641,"children":2642},{"style":152},[2643],{"type":24,"value":1569},{"type":19,"tag":112,"props":2645,"children":2646},{"style":137},[2647],{"type":24,"value":2648}," n ",{"type":19,"tag":112,"props":2650,"children":2651},{"style":119},[2652],{"type":24,"value":265},{"type":19,"tag":112,"props":2654,"children":2655},{"style":1704},[2656],{"type":24,"value":2610},{"type":19,"tag":112,"props":2658,"children":2659},{"style":1710},[2660],{"type":24,"value":2661},"name",{"type":19,"tag":112,"props":2663,"children":2664},{"style":1704},[2665],{"type":24,"value":1707},{"type":19,"tag":112,"props":2667,"children":2668},{"style":137},[2669],{"type":24,"value":251},{"type":19,"tag":112,"props":2671,"children":2672},{"class":114,"line":143},[2673,2678,2682,2687,2691,2696,2700,2704,2708,2712,2716,2720],{"type":19,"tag":112,"props":2674,"children":2675},{"style":137},[2676],{"type":24,"value":2677},"c.$(n) ",{"type":19,"tag":112,"props":2679,"children":2680},{"style":119},[2681],{"type":24,"value":265},{"type":19,"tag":112,"props":2683,"children":2684},{"style":137},[2685],{"type":24,"value":2686}," c.$(",{"type":19,"tag":112,"props":2688,"children":2689},{"style":1704},[2690],{"type":24,"value":1707},{"type":19,"tag":112,"props":2692,"children":2693},{"style":1710},[2694],{"type":24,"value":2695},"first",{"type":19,"tag":112,"props":2697,"children":2698},{"style":1704},[2699],{"type":24,"value":1707},{"type":19,"tag":112,"props":2701,"children":2702},{"style":137},[2703],{"type":24,"value":1117},{"type":19,"tag":112,"props":2705,"children":2706},{"style":119},[2707],{"type":24,"value":835},{"type":19,"tag":112,"props":2709,"children":2710},{"style":1704},[2711],{"type":24,"value":2610},{"type":19,"tag":112,"props":2713,"children":2714},{"style":1704},[2715],{"type":24,"value":2610},{"type":19,"tag":112,"props":2717,"children":2718},{"style":119},[2719],{"type":24,"value":2619},{"type":19,"tag":112,"props":2721,"children":2722},{"style":137},[2723],{"type":24,"value":2624},{"type":19,"tag":20,"props":2725,"children":2726},{},[2727],{"type":24,"value":2728},"But on the other hand, if field values will be stored in dictionaries within the class, then this programming language is generally not necessary. We can use JavaScript. His speed will then be the same.",{"type":19,"tag":20,"props":2730,"children":2731},{},[2732],{"type":24,"value":2733},"NameOf operator:",{"type":19,"tag":101,"props":2735,"children":2737},{"className":103,"code":2736,"language":105,"meta":9,"style":9},"string s = nameof(Console.Write);\n",[2738],{"type":19,"tag":108,"props":2739,"children":2740},{"__ignoreMap":9},[2741],{"type":19,"tag":112,"props":2742,"children":2743},{"class":114,"line":115},[2744,2749,2754,2758,2763,2768,2773],{"type":19,"tag":112,"props":2745,"children":2746},{"style":152},[2747],{"type":24,"value":2748},"string",{"type":19,"tag":112,"props":2750,"children":2751},{"style":137},[2752],{"type":24,"value":2753}," s ",{"type":19,"tag":112,"props":2755,"children":2756},{"style":119},[2757],{"type":24,"value":265},{"type":19,"tag":112,"props":2759,"children":2760},{"style":125},[2761],{"type":24,"value":2762}," nameof",{"type":19,"tag":112,"props":2764,"children":2765},{"style":137},[2766],{"type":24,"value":2767},"(Console.",{"type":19,"tag":112,"props":2769,"children":2770},{"style":1489},[2771],{"type":24,"value":2772},"Write",{"type":19,"tag":112,"props":2774,"children":2775},{"style":137},[2776],{"type":24,"value":1721},{"type":19,"tag":20,"props":2778,"children":2779},{},[2780],{"type":24,"value":2781},"Although perhaps will finally something useful. If you do not think that there are better implementation..",{"type":19,"tag":2248,"props":2783,"children":2784},{},[2785],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":2787},[],"content:comments:probable-c-6-0-features-illustrated:99790.md","comments/probable-c-6-0-features-illustrated/99790.md","comments/probable-c-6-0-features-illustrated/99790",{"_path":2792,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":2793,"description":2794,"id":2795,"name":2796,"email":2797,"avatar":2798,"date":2799,"body":2800,"_type":2301,"_id":2908,"_source":2303,"_file":2909,"_stem":2910,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/94126","94126","Looks great. For #1, I like the way TypeScript has done this:",94126,"Matthijs Wessels","matthijs.wessels@gmail.com","https://www.gravatar.com/avatar/40b5f28734eebede3eefaa215d902daf?r=pg&d=retro","2014-05-30T05:36:52",{"type":16,"children":2801,"toc":2906},[2802,2806,2902],{"type":19,"tag":20,"props":2803,"children":2804},{},[2805],{"type":24,"value":2794},{"type":19,"tag":101,"props":2807,"children":2809},{"className":103,"code":2808,"language":105,"meta":9,"style":9},"public class Point {\n    public Point(private int x, public int y, int z)\n    // other initialisation using z.\n}\n",[2810],{"type":19,"tag":108,"props":2811,"children":2812},{"__ignoreMap":9},[2813,2832,2887,2895],{"type":19,"tag":112,"props":2814,"children":2815},{"class":114,"line":115},[2816,2820,2824,2828],{"type":19,"tag":112,"props":2817,"children":2818},{"style":119},[2819],{"type":24,"value":122},{"type":19,"tag":112,"props":2821,"children":2822},{"style":125},[2823],{"type":24,"value":128},{"type":19,"tag":112,"props":2825,"children":2826},{"style":131},[2827],{"type":24,"value":134},{"type":19,"tag":112,"props":2829,"children":2830},{"style":137},[2831],{"type":24,"value":140},{"type":19,"tag":112,"props":2833,"children":2834},{"class":114,"line":143},[2835,2840,2844,2848,2852,2856,2861,2865,2869,2874,2878,2883],{"type":19,"tag":112,"props":2836,"children":2837},{"style":119},[2838],{"type":24,"value":2839},"    public",{"type":19,"tag":112,"props":2841,"children":2842},{"style":182},[2843],{"type":24,"value":134},{"type":19,"tag":112,"props":2845,"children":2846},{"style":137},[2847],{"type":24,"value":189},{"type":19,"tag":112,"props":2849,"children":2850},{"style":977},[2851],{"type":24,"value":475},{"type":19,"tag":112,"props":2853,"children":2854},{"style":197},[2855],{"type":24,"value":155},{"type":19,"tag":112,"props":2857,"children":2858},{"style":137},[2859],{"type":24,"value":2860}," x, ",{"type":19,"tag":112,"props":2862,"children":2863},{"style":977},[2864],{"type":24,"value":122},{"type":19,"tag":112,"props":2866,"children":2867},{"style":197},[2868],{"type":24,"value":155},{"type":19,"tag":112,"props":2870,"children":2871},{"style":137},[2872],{"type":24,"value":2873}," y, ",{"type":19,"tag":112,"props":2875,"children":2876},{"style":152},[2877],{"type":24,"value":194},{"type":19,"tag":112,"props":2879,"children":2880},{"style":197},[2881],{"type":24,"value":2882}," z",{"type":19,"tag":112,"props":2884,"children":2885},{"style":137},[2886],{"type":24,"value":219},{"type":19,"tag":112,"props":2888,"children":2889},{"class":114,"line":163},[2890],{"type":19,"tag":112,"props":2891,"children":2892},{"style":2202},[2893],{"type":24,"value":2894},"    // other initialisation using z.\n",{"type":19,"tag":112,"props":2896,"children":2897},{"class":114,"line":173},[2898],{"type":19,"tag":112,"props":2899,"children":2900},{"style":137},[2901],{"type":24,"value":288},{"type":19,"tag":2248,"props":2903,"children":2904},{},[2905],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":2907},[],"content:comments:probable-c-6-0-features-illustrated:94126.md","comments/probable-c-6-0-features-illustrated/94126.md","comments/probable-c-6-0-features-illustrated/94126",{"_path":2912,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":2913,"description":2914,"id":2915,"name":2916,"email":2917,"avatar":2918,"url":2919,"date":2920,"body":2921,"_type":2301,"_id":2943,"_source":2303,"_file":2944,"_stem":2945,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/78432","78432","I love most of this, but the proposed syntax for readonly auto-properties is -- pardon my french -- butt ugly! Why not use the already existing readonly keyword?",78432,"Asbjørn Ulsberg","asbjorn@ulsberg.no","https://www.gravatar.com/avatar/086e5b232508e13d262ed6c98b949402?r=pg&d=retro","https://asbjor.nu/","2014-04-11T01:14:45",{"type":16,"children":2922,"toc":2941},[2923,2936],{"type":19,"tag":20,"props":2924,"children":2925},{},[2926,2928,2934],{"type":24,"value":2927},"I love most of this, but the proposed syntax for readonly auto-properties is -- pardon my french -- butt ugly! Why not use the already existing ",{"type":19,"tag":108,"props":2929,"children":2931},{"className":2930},[],[2932],{"type":24,"value":2933},"readonly",{"type":24,"value":2935}," keyword?",{"type":19,"tag":20,"props":2937,"children":2938},{},[2939],{"type":24,"value":2940},"public readonly int X { get; }",{"title":9,"searchDepth":143,"depth":143,"links":2942},[],"content:comments:probable-c-6-0-features-illustrated:78432.md","comments/probable-c-6-0-features-illustrated/78432.md","comments/probable-c-6-0-features-illustrated/78432",{"_path":2947,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":2948,"description":2949,"id":2950,"name":2951,"email":2952,"avatar":2953,"date":2954,"body":2955,"_type":2301,"_id":3040,"_source":2303,"_file":3041,"_stem":3042,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/78427","78427","Values. Like var but cannot be changed.",78427,"Wouter","voswouter87@hotmail.com","https://www.gravatar.com/avatar/8730e4ba1992a30e615a8531fbe581af?r=pg&d=retro","2014-04-10T03:17:22",{"type":16,"children":2956,"toc":3038},[2957,2969,3029,3034],{"type":19,"tag":20,"props":2958,"children":2959},{},[2960,2962,2967],{"type":24,"value":2961},"Values. Like ",{"type":19,"tag":108,"props":2963,"children":2965},{"className":2964},[],[2966],{"type":24,"value":1569},{"type":24,"value":2968}," but cannot be changed.",{"type":19,"tag":101,"props":2970,"children":2972},{"className":103,"code":2971,"language":105,"meta":9,"style":9},"val five = 5;\nfive = 6; // Causes error\n",[2973],{"type":19,"tag":108,"props":2974,"children":2975},{"__ignoreMap":9},[2976,3002],{"type":19,"tag":112,"props":2977,"children":2978},{"class":114,"line":115},[2979,2984,2989,2993,2998],{"type":19,"tag":112,"props":2980,"children":2981},{"style":977},[2982],{"type":24,"value":2983},"val",{"type":19,"tag":112,"props":2985,"children":2986},{"style":137},[2987],{"type":24,"value":2988}," five ",{"type":19,"tag":112,"props":2990,"children":2991},{"style":119},[2992],{"type":24,"value":265},{"type":19,"tag":112,"props":2994,"children":2995},{"style":640},[2996],{"type":24,"value":2997}," 5",{"type":19,"tag":112,"props":2999,"children":3000},{"style":137},[3001],{"type":24,"value":251},{"type":19,"tag":112,"props":3003,"children":3004},{"class":114,"line":143},[3005,3010,3014,3019,3024],{"type":19,"tag":112,"props":3006,"children":3007},{"style":137},[3008],{"type":24,"value":3009},"five ",{"type":19,"tag":112,"props":3011,"children":3012},{"style":119},[3013],{"type":24,"value":265},{"type":19,"tag":112,"props":3015,"children":3016},{"style":640},[3017],{"type":24,"value":3018}," 6",{"type":19,"tag":112,"props":3020,"children":3021},{"style":137},[3022],{"type":24,"value":3023},"; ",{"type":19,"tag":112,"props":3025,"children":3026},{"style":2202},[3027],{"type":24,"value":3028},"// Causes error\n",{"type":19,"tag":20,"props":3030,"children":3031},{},[3032],{"type":24,"value":3033},"Currently it's impossible to force this.",{"type":19,"tag":2248,"props":3035,"children":3036},{},[3037],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":3039},[],"content:comments:probable-c-6-0-features-illustrated:78427.md","comments/probable-c-6-0-features-illustrated/78427.md","comments/probable-c-6-0-features-illustrated/78427",{"_path":3044,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":3045,"description":3046,"id":3047,"name":3048,"email":3049,"avatar":3050,"date":3051,"body":3052,"_type":2301,"_id":3314,"_source":2303,"_file":3315,"_stem":3316,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/78259","78259","I hope none of this makes it to C# 6.0.",78259,"Leon","lgeyser@gmail.com","https://www.gravatar.com/avatar/c6958bf88b82dfb0cd44611d16e9ec71?r=pg&d=retro","2014-03-29T04:23:02",{"type":16,"children":3053,"toc":3312},[3054,3058,3063,3079,3189,3194,3199,3308],{"type":19,"tag":20,"props":3055,"children":3056},{},[3057],{"type":24,"value":3046},{"type":19,"tag":20,"props":3059,"children":3060},{},[3061],{"type":24,"value":3062},"I am OK with 7",{"type":19,"tag":20,"props":3064,"children":3065},{},[3066,3068,3073,3075],{"type":24,"value":3067},"by quickly looking at 8 scrolling through code you might make the mistake to think you are making an instance of a non-generic class.\nBy using the ‘var’ keyword you also hide the fact that it is actually ",{"type":19,"tag":108,"props":3069,"children":3070},{},[3071],{"type":24,"value":3072},"MyClass",{"type":24,"value":3074}," and not ",{"type":19,"tag":108,"props":3076,"children":3077},{},[3078],{"type":24,"value":3072},{"type":19,"tag":101,"props":3080,"children":3082},{"className":103,"code":3081,"language":105,"meta":9,"style":9},"var x = new MyClass(1, \"X\");\nvar y = new MyClass(\"x\", 1);\n",[3083],{"type":19,"tag":108,"props":3084,"children":3085},{"__ignoreMap":9},[3086,3137],{"type":19,"tag":112,"props":3087,"children":3088},{"class":114,"line":115},[3089,3093,3097,3101,3105,3109,3113,3117,3121,3125,3129,3133],{"type":19,"tag":112,"props":3090,"children":3091},{"style":152},[3092],{"type":24,"value":1569},{"type":19,"tag":112,"props":3094,"children":3095},{"style":137},[3096],{"type":24,"value":1675},{"type":19,"tag":112,"props":3098,"children":3099},{"style":119},[3100],{"type":24,"value":265},{"type":19,"tag":112,"props":3102,"children":3103},{"style":125},[3104],{"type":24,"value":1027},{"type":19,"tag":112,"props":3106,"children":3107},{"style":977},[3108],{"type":24,"value":1740},{"type":19,"tag":112,"props":3110,"children":3111},{"style":137},[3112],{"type":24,"value":189},{"type":19,"tag":112,"props":3114,"children":3115},{"style":640},[3116],{"type":24,"value":1545},{"type":19,"tag":112,"props":3118,"children":3119},{"style":137},[3120],{"type":24,"value":205},{"type":19,"tag":112,"props":3122,"children":3123},{"style":1704},[3124],{"type":24,"value":1707},{"type":19,"tag":112,"props":3126,"children":3127},{"style":1710},[3128],{"type":24,"value":1492},{"type":19,"tag":112,"props":3130,"children":3131},{"style":1704},[3132],{"type":24,"value":1707},{"type":19,"tag":112,"props":3134,"children":3135},{"style":137},[3136],{"type":24,"value":1721},{"type":19,"tag":112,"props":3138,"children":3139},{"class":114,"line":143},[3140,3144,3149,3153,3157,3161,3165,3169,3173,3177,3181,3185],{"type":19,"tag":112,"props":3141,"children":3142},{"style":152},[3143],{"type":24,"value":1569},{"type":19,"tag":112,"props":3145,"children":3146},{"style":137},[3147],{"type":24,"value":3148}," y ",{"type":19,"tag":112,"props":3150,"children":3151},{"style":119},[3152],{"type":24,"value":265},{"type":19,"tag":112,"props":3154,"children":3155},{"style":125},[3156],{"type":24,"value":1027},{"type":19,"tag":112,"props":3158,"children":3159},{"style":977},[3160],{"type":24,"value":1740},{"type":19,"tag":112,"props":3162,"children":3163},{"style":137},[3164],{"type":24,"value":189},{"type":19,"tag":112,"props":3166,"children":3167},{"style":1704},[3168],{"type":24,"value":1707},{"type":19,"tag":112,"props":3170,"children":3171},{"style":1710},[3172],{"type":24,"value":237},{"type":19,"tag":112,"props":3174,"children":3175},{"style":1704},[3176],{"type":24,"value":1707},{"type":19,"tag":112,"props":3178,"children":3179},{"style":137},[3180],{"type":24,"value":205},{"type":19,"tag":112,"props":3182,"children":3183},{"style":640},[3184],{"type":24,"value":1545},{"type":19,"tag":112,"props":3186,"children":3187},{"style":137},[3188],{"type":24,"value":1721},{"type":19,"tag":20,"props":3190,"children":3191},{},[3192],{"type":24,"value":3193},"x and y are not compatible with each other.",{"type":19,"tag":20,"props":3195,"children":3196},{},[3197],{"type":24,"value":3198},"I guess 8 is OK if the programmers use it like this:",{"type":19,"tag":101,"props":3200,"children":3202},{"className":103,"code":3201,"language":105,"meta":9,"style":9},"MyClass x = new MyClass(1, \"X\");\nMyClass y = new MyClass(\"x\", 1);\n",[3203],{"type":19,"tag":108,"props":3204,"children":3205},{"__ignoreMap":9},[3206,3257],{"type":19,"tag":112,"props":3207,"children":3208},{"class":114,"line":115},[3209,3213,3217,3221,3225,3229,3233,3237,3241,3245,3249,3253],{"type":19,"tag":112,"props":3210,"children":3211},{"style":977},[3212],{"type":24,"value":3072},{"type":19,"tag":112,"props":3214,"children":3215},{"style":137},[3216],{"type":24,"value":1675},{"type":19,"tag":112,"props":3218,"children":3219},{"style":119},[3220],{"type":24,"value":265},{"type":19,"tag":112,"props":3222,"children":3223},{"style":125},[3224],{"type":24,"value":1027},{"type":19,"tag":112,"props":3226,"children":3227},{"style":977},[3228],{"type":24,"value":1740},{"type":19,"tag":112,"props":3230,"children":3231},{"style":137},[3232],{"type":24,"value":189},{"type":19,"tag":112,"props":3234,"children":3235},{"style":640},[3236],{"type":24,"value":1545},{"type":19,"tag":112,"props":3238,"children":3239},{"style":137},[3240],{"type":24,"value":205},{"type":19,"tag":112,"props":3242,"children":3243},{"style":1704},[3244],{"type":24,"value":1707},{"type":19,"tag":112,"props":3246,"children":3247},{"style":1710},[3248],{"type":24,"value":1492},{"type":19,"tag":112,"props":3250,"children":3251},{"style":1704},[3252],{"type":24,"value":1707},{"type":19,"tag":112,"props":3254,"children":3255},{"style":137},[3256],{"type":24,"value":1721},{"type":19,"tag":112,"props":3258,"children":3259},{"class":114,"line":143},[3260,3264,3268,3272,3276,3280,3284,3288,3292,3296,3300,3304],{"type":19,"tag":112,"props":3261,"children":3262},{"style":977},[3263],{"type":24,"value":3072},{"type":19,"tag":112,"props":3265,"children":3266},{"style":137},[3267],{"type":24,"value":3148},{"type":19,"tag":112,"props":3269,"children":3270},{"style":119},[3271],{"type":24,"value":265},{"type":19,"tag":112,"props":3273,"children":3274},{"style":125},[3275],{"type":24,"value":1027},{"type":19,"tag":112,"props":3277,"children":3278},{"style":977},[3279],{"type":24,"value":1740},{"type":19,"tag":112,"props":3281,"children":3282},{"style":137},[3283],{"type":24,"value":189},{"type":19,"tag":112,"props":3285,"children":3286},{"style":1704},[3287],{"type":24,"value":1707},{"type":19,"tag":112,"props":3289,"children":3290},{"style":1710},[3291],{"type":24,"value":237},{"type":19,"tag":112,"props":3293,"children":3294},{"style":1704},[3295],{"type":24,"value":1707},{"type":19,"tag":112,"props":3297,"children":3298},{"style":137},[3299],{"type":24,"value":205},{"type":19,"tag":112,"props":3301,"children":3302},{"style":640},[3303],{"type":24,"value":1545},{"type":19,"tag":112,"props":3305,"children":3306},{"style":137},[3307],{"type":24,"value":1721},{"type":19,"tag":2248,"props":3309,"children":3310},{},[3311],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":3313},[],"content:comments:probable-c-6-0-features-illustrated:78259.md","comments/probable-c-6-0-features-illustrated/78259.md","comments/probable-c-6-0-features-illustrated/78259",{"_path":3318,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":3319,"description":3320,"id":3321,"name":3322,"email":3323,"avatar":3324,"url":3325,"date":3326,"body":3327,"_type":2301,"_id":3519,"_source":2303,"_file":3520,"_stem":3521,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/78060","78060","To John Bergman:",78060,"Jenda","jenda@krynicky.cz","https://www.gravatar.com/avatar/2b1852597384867df77c4014d4f16db0?r=pg&d=retro","https://jendaperl.blogspot.cz/","2014-03-21T02:05:03",{"type":16,"children":3328,"toc":3517},[3329,3333,3513],{"type":19,"tag":20,"props":3330,"children":3331},{},[3332],{"type":24,"value":3320},{"type":19,"tag":101,"props":3334,"children":3336},{"className":103,"code":3335,"language":105,"meta":9,"style":9},"public static bool In(this T obj, params T[] list) {\n    return list.Contains(obj);\n}\n..\nif (x.In(3,6,8,12)) { ..\n}\n",[3337],{"type":19,"tag":108,"props":3338,"children":3339},{"__ignoreMap":9},[3340,3406,3428,3435,3443,3506],{"type":19,"tag":112,"props":3341,"children":3342},{"class":114,"line":115},[3343,3347,3352,3357,3362,3366,3371,3376,3381,3385,3389,3393,3397,3402],{"type":19,"tag":112,"props":3344,"children":3345},{"style":119},[3346],{"type":24,"value":122},{"type":19,"tag":112,"props":3348,"children":3349},{"style":119},[3350],{"type":24,"value":3351}," static",{"type":19,"tag":112,"props":3353,"children":3354},{"style":152},[3355],{"type":24,"value":3356}," bool",{"type":19,"tag":112,"props":3358,"children":3359},{"style":182},[3360],{"type":24,"value":3361}," In",{"type":19,"tag":112,"props":3363,"children":3364},{"style":137},[3365],{"type":24,"value":189},{"type":19,"tag":112,"props":3367,"children":3368},{"style":119},[3369],{"type":24,"value":3370},"this",{"type":19,"tag":112,"props":3372,"children":3373},{"style":977},[3374],{"type":24,"value":3375}," T",{"type":19,"tag":112,"props":3377,"children":3378},{"style":197},[3379],{"type":24,"value":3380}," obj",{"type":19,"tag":112,"props":3382,"children":3383},{"style":137},[3384],{"type":24,"value":205},{"type":19,"tag":112,"props":3386,"children":3387},{"style":119},[3388],{"type":24,"value":1234},{"type":19,"tag":112,"props":3390,"children":3391},{"style":977},[3392],{"type":24,"value":3375},{"type":19,"tag":112,"props":3394,"children":3395},{"style":137},[3396],{"type":24,"value":1243},{"type":19,"tag":112,"props":3398,"children":3399},{"style":197},[3400],{"type":24,"value":3401},"list",{"type":19,"tag":112,"props":3403,"children":3404},{"style":137},[3405],{"type":24,"value":345},{"type":19,"tag":112,"props":3407,"children":3408},{"class":114,"line":143},[3409,3413,3418,3423],{"type":19,"tag":112,"props":3410,"children":3411},{"style":125},[3412],{"type":24,"value":1822},{"type":19,"tag":112,"props":3414,"children":3415},{"style":137},[3416],{"type":24,"value":3417}," list.",{"type":19,"tag":112,"props":3419,"children":3420},{"style":182},[3421],{"type":24,"value":3422},"Contains",{"type":19,"tag":112,"props":3424,"children":3425},{"style":137},[3426],{"type":24,"value":3427},"(obj);\n",{"type":19,"tag":112,"props":3429,"children":3430},{"class":114,"line":163},[3431],{"type":19,"tag":112,"props":3432,"children":3433},{"style":137},[3434],{"type":24,"value":288},{"type":19,"tag":112,"props":3436,"children":3437},{"class":114,"line":173},[3438],{"type":19,"tag":112,"props":3439,"children":3440},{"style":119},[3441],{"type":24,"value":3442},"..\n",{"type":19,"tag":112,"props":3444,"children":3445},{"class":114,"line":222},[3446,3450,3455,3460,3464,3469,3474,3479,3483,3488,3492,3497,3502],{"type":19,"tag":112,"props":3447,"children":3448},{"style":125},[3449],{"type":24,"value":1404},{"type":19,"tag":112,"props":3451,"children":3452},{"style":137},[3453],{"type":24,"value":3454}," (x.",{"type":19,"tag":112,"props":3456,"children":3457},{"style":182},[3458],{"type":24,"value":3459},"In",{"type":19,"tag":112,"props":3461,"children":3462},{"style":137},[3463],{"type":24,"value":189},{"type":19,"tag":112,"props":3465,"children":3466},{"style":640},[3467],{"type":24,"value":3468},"3",{"type":19,"tag":112,"props":3470,"children":3471},{"style":137},[3472],{"type":24,"value":3473},",",{"type":19,"tag":112,"props":3475,"children":3476},{"style":640},[3477],{"type":24,"value":3478},"6",{"type":19,"tag":112,"props":3480,"children":3481},{"style":137},[3482],{"type":24,"value":3473},{"type":19,"tag":112,"props":3484,"children":3485},{"style":640},[3486],{"type":24,"value":3487},"8",{"type":19,"tag":112,"props":3489,"children":3490},{"style":137},[3491],{"type":24,"value":3473},{"type":19,"tag":112,"props":3493,"children":3494},{"style":640},[3495],{"type":24,"value":3496},"12",{"type":19,"tag":112,"props":3498,"children":3499},{"style":137},[3500],{"type":24,"value":3501},")) { ",{"type":19,"tag":112,"props":3503,"children":3504},{"style":119},[3505],{"type":24,"value":3442},{"type":19,"tag":112,"props":3507,"children":3508},{"class":114,"line":254},[3509],{"type":19,"tag":112,"props":3510,"children":3511},{"style":137},[3512],{"type":24,"value":288},{"type":19,"tag":2248,"props":3514,"children":3515},{},[3516],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":3518},[],"content:comments:probable-c-6-0-features-illustrated:78060.md","comments/probable-c-6-0-features-illustrated/78060.md","comments/probable-c-6-0-features-illustrated/78060",{"_path":3523,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":3524,"description":3525,"id":3526,"name":3322,"email":3323,"avatar":3324,"url":3325,"date":3527,"body":3528,"_type":2301,"_id":3748,"_source":2303,"_file":3749,"_stem":3750,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/78059","78059","I do hope the #2 doesn't make it!",78059,"2014-03-21T01:54:08",{"type":16,"children":3529,"toc":3746},[3530,3534,3539,3544,3549,3589,3594,3671,3676,3705,3710,3742],{"type":19,"tag":20,"props":3531,"children":3532},{},[3533],{"type":24,"value":3525},{"type":19,"tag":20,"props":3535,"children":3536},{},[3537],{"type":24,"value":3538},"The point is ... this syntax is confusing and would be better used for something different, for property with automatic backing field initialization.",{"type":19,"tag":20,"props":3540,"children":3541},{},[3542],{"type":24,"value":3543},"Now if you need such a property to be initialized to a different than the default value you have to do that somewhere many lines away in the constructor and if that property is static, it even has to be a static constructor with is something you are not supposed to have unless you have to according to Analyze Code in VS.",{"type":19,"tag":20,"props":3545,"children":3546},{},[3547],{"type":24,"value":3548},"I'd much rather have",{"type":19,"tag":101,"props":3550,"children":3552},{"className":103,"code":3551,"language":105,"meta":9,"style":9},"public static int Timeout { get; set; } = 100;\n",[3553],{"type":19,"tag":108,"props":3554,"children":3555},{"__ignoreMap":9},[3556],{"type":19,"tag":112,"props":3557,"children":3558},{"class":114,"line":115},[3559,3563,3567,3571,3576,3580,3585],{"type":19,"tag":112,"props":3560,"children":3561},{"style":119},[3562],{"type":24,"value":122},{"type":19,"tag":112,"props":3564,"children":3565},{"style":119},[3566],{"type":24,"value":3351},{"type":19,"tag":112,"props":3568,"children":3569},{"style":152},[3570],{"type":24,"value":155},{"type":19,"tag":112,"props":3572,"children":3573},{"style":137},[3574],{"type":24,"value":3575}," Timeout { get; set; } ",{"type":19,"tag":112,"props":3577,"children":3578},{"style":119},[3579],{"type":24,"value":265},{"type":19,"tag":112,"props":3581,"children":3582},{"style":640},[3583],{"type":24,"value":3584}," 100",{"type":19,"tag":112,"props":3586,"children":3587},{"style":137},[3588],{"type":24,"value":251},{"type":19,"tag":20,"props":3590,"children":3591},{},[3592],{"type":24,"value":3593},"in place of",{"type":19,"tag":101,"props":3595,"children":3597},{"className":103,"code":3596,"language":105,"meta":9,"style":9},"private static int _timeout = 100;\npublic static int Timeout { get { return _timeout; } set { _timeout = value;\n",[3598],{"type":19,"tag":108,"props":3599,"children":3600},{"__ignoreMap":9},[3601,3633],{"type":19,"tag":112,"props":3602,"children":3603},{"class":114,"line":115},[3604,3608,3612,3616,3621,3625,3629],{"type":19,"tag":112,"props":3605,"children":3606},{"style":119},[3607],{"type":24,"value":475},{"type":19,"tag":112,"props":3609,"children":3610},{"style":119},[3611],{"type":24,"value":3351},{"type":19,"tag":112,"props":3613,"children":3614},{"style":152},[3615],{"type":24,"value":155},{"type":19,"tag":112,"props":3617,"children":3618},{"style":137},[3619],{"type":24,"value":3620}," _timeout ",{"type":19,"tag":112,"props":3622,"children":3623},{"style":119},[3624],{"type":24,"value":265},{"type":19,"tag":112,"props":3626,"children":3627},{"style":640},[3628],{"type":24,"value":3584},{"type":19,"tag":112,"props":3630,"children":3631},{"style":137},[3632],{"type":24,"value":251},{"type":19,"tag":112,"props":3634,"children":3635},{"class":114,"line":143},[3636,3640,3644,3648,3653,3657,3662,3666],{"type":19,"tag":112,"props":3637,"children":3638},{"style":119},[3639],{"type":24,"value":122},{"type":19,"tag":112,"props":3641,"children":3642},{"style":119},[3643],{"type":24,"value":3351},{"type":19,"tag":112,"props":3645,"children":3646},{"style":152},[3647],{"type":24,"value":155},{"type":19,"tag":112,"props":3649,"children":3650},{"style":137},[3651],{"type":24,"value":3652}," Timeout { get { ",{"type":19,"tag":112,"props":3654,"children":3655},{"style":125},[3656],{"type":24,"value":510},{"type":19,"tag":112,"props":3658,"children":3659},{"style":137},[3660],{"type":24,"value":3661}," _timeout; } set { _timeout ",{"type":19,"tag":112,"props":3663,"children":3664},{"style":119},[3665],{"type":24,"value":265},{"type":19,"tag":112,"props":3667,"children":3668},{"style":137},[3669],{"type":24,"value":3670}," value;\n",{"type":19,"tag":20,"props":3672,"children":3673},{},[3674],{"type":24,"value":3675},"than ... waitasecond ... what does that example actually mean?!? Is the",{"type":19,"tag":101,"props":3677,"children":3678},{"className":103,"code":523,"language":105,"meta":9,"style":9},[3679],{"type":19,"tag":108,"props":3680,"children":3681},{"__ignoreMap":9},[3682],{"type":19,"tag":112,"props":3683,"children":3684},{"class":114,"line":115},[3685,3689,3693,3697,3701],{"type":19,"tag":112,"props":3686,"children":3687},{"style":119},[3688],{"type":24,"value":122},{"type":19,"tag":112,"props":3690,"children":3691},{"style":152},[3692],{"type":24,"value":155},{"type":19,"tag":112,"props":3694,"children":3695},{"style":137},[3696],{"type":24,"value":543},{"type":19,"tag":112,"props":3698,"children":3699},{"style":119},[3700],{"type":24,"value":265},{"type":19,"tag":112,"props":3702,"children":3703},{"style":137},[3704],{"type":24,"value":489},{"type":19,"tag":20,"props":3706,"children":3707},{},[3708],{"type":24,"value":3709},"really supposed to replace the two lines above? What's the \"x\" then?\nIf you really do care so much on the distinction between the property being \"readonly\" and \"with private setter\", then why not",{"type":19,"tag":101,"props":3711,"children":3713},{"className":103,"code":3712,"language":105,"meta":9,"style":9},"public int X { get; readonly set;\n",[3714],{"type":19,"tag":108,"props":3715,"children":3716},{"__ignoreMap":9},[3717],{"type":19,"tag":112,"props":3718,"children":3719},{"class":114,"line":115},[3720,3724,3728,3733,3737],{"type":19,"tag":112,"props":3721,"children":3722},{"style":119},[3723],{"type":24,"value":122},{"type":19,"tag":112,"props":3725,"children":3726},{"style":152},[3727],{"type":24,"value":155},{"type":19,"tag":112,"props":3729,"children":3730},{"style":137},[3731],{"type":24,"value":3732}," X { get; ",{"type":19,"tag":112,"props":3734,"children":3735},{"style":119},[3736],{"type":24,"value":2933},{"type":19,"tag":112,"props":3738,"children":3739},{"style":137},[3740],{"type":24,"value":3741}," set;\n",{"type":19,"tag":2248,"props":3743,"children":3744},{},[3745],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":3747},[],"content:comments:probable-c-6-0-features-illustrated:78059.md","comments/probable-c-6-0-features-illustrated/78059.md","comments/probable-c-6-0-features-illustrated/78059",{"_path":3752,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":3753,"description":3754,"id":3755,"name":3756,"email":3757,"avatar":3758,"url":3759,"date":3760,"body":3761,"_type":2301,"_id":3800,"_source":2303,"_file":3801,"_stem":3802,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/78006","78006","I would definitely like to see #6, #7, #8, but I don't care much for the rest.\nIt would be nice to make it easier to create immutable classes, but I'd prefer a syntax like",78006,"Marcel Veldhuizen","blog@thorarin.net","https://www.gravatar.com/avatar/384a21efd288e987311eae6bf041de6a?r=pg&d=retro","https://thorarin.net/blog/","2014-03-18T23:17:56",{"type":16,"children":3762,"toc":3798},[3763,3767,3794],{"type":19,"tag":20,"props":3764,"children":3765},{},[3766],{"type":24,"value":3754},{"type":19,"tag":101,"props":3768,"children":3770},{"className":103,"code":3769,"language":105,"meta":9,"style":9},"public readonly int X { get;\n",[3771],{"type":19,"tag":108,"props":3772,"children":3773},{"__ignoreMap":9},[3774],{"type":19,"tag":112,"props":3775,"children":3776},{"class":114,"line":115},[3777,3781,3785,3789],{"type":19,"tag":112,"props":3778,"children":3779},{"style":119},[3780],{"type":24,"value":122},{"type":19,"tag":112,"props":3782,"children":3783},{"style":119},[3784],{"type":24,"value":480},{"type":19,"tag":112,"props":3786,"children":3787},{"style":152},[3788],{"type":24,"value":155},{"type":19,"tag":112,"props":3790,"children":3791},{"style":137},[3792],{"type":24,"value":3793}," X { get;\n",{"type":19,"tag":2248,"props":3795,"children":3796},{},[3797],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":3799},[],"content:comments:probable-c-6-0-features-illustrated:78006.md","comments/probable-c-6-0-features-illustrated/78006.md","comments/probable-c-6-0-features-illustrated/78006",{"_path":3804,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":3805,"description":3806,"id":3807,"name":3808,"email":3809,"avatar":3810,"url":3811,"date":3812,"body":3813,"_type":2301,"_id":4055,"_source":2303,"_file":4056,"_stem":4057,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/77904","77904","Most needed features are presented in Nemerle language and MS can adapt them.\nFor instance it has get-only properties as expected to be used.",77904,"NN","nn1436401@gmail.com","https://www.gravatar.com/avatar/52d445b3234e100bc93c9accfce29d98?r=pg&d=retro","https://nemerleweb.com","2014-03-15T11:28:24",{"type":16,"children":3814,"toc":4053},[3815,3819,3931,3936,4049],{"type":19,"tag":20,"props":3816,"children":3817},{},[3818],{"type":24,"value":3806},{"type":19,"tag":101,"props":3820,"children":3822},{"className":103,"code":3821,"language":105,"meta":9,"style":9},"class A\n{\n    public Prop : int { get; } // Public property and hidden private field\n    public this()\n    {\n       Prop = 1; // Initialization in constructor writes to the hidden field\n    }\n}\n",[3823],{"type":19,"tag":108,"props":3824,"children":3825},{"__ignoreMap":9},[3826,3839,3847,3864,3882,3890,3916,3924],{"type":19,"tag":112,"props":3827,"children":3828},{"class":114,"line":115},[3829,3834],{"type":19,"tag":112,"props":3830,"children":3831},{"style":125},[3832],{"type":24,"value":3833},"class",{"type":19,"tag":112,"props":3835,"children":3836},{"style":131},[3837],{"type":24,"value":3838}," A\n",{"type":19,"tag":112,"props":3840,"children":3841},{"class":114,"line":143},[3842],{"type":19,"tag":112,"props":3843,"children":3844},{"style":137},[3845],{"type":24,"value":3846},"{\n",{"type":19,"tag":112,"props":3848,"children":3849},{"class":114,"line":163},[3850,3854,3859],{"type":19,"tag":112,"props":3851,"children":3852},{"style":119},[3853],{"type":24,"value":2839},{"type":19,"tag":112,"props":3855,"children":3856},{"style":137},[3857],{"type":24,"value":3858}," Prop : int { get; } ",{"type":19,"tag":112,"props":3860,"children":3861},{"style":2202},[3862],{"type":24,"value":3863},"// Public property and hidden private field\n",{"type":19,"tag":112,"props":3865,"children":3866},{"class":114,"line":173},[3867,3871,3877],{"type":19,"tag":112,"props":3868,"children":3869},{"style":119},[3870],{"type":24,"value":2839},{"type":19,"tag":112,"props":3872,"children":3874},{"style":3873},"--shiki-default:#DF69BA;--shiki-default-font-style:inherit;--shiki-dark:#BD93F9;--shiki-dark-font-style:italic",[3875],{"type":24,"value":3876}," this",{"type":19,"tag":112,"props":3878,"children":3879},{"style":137},[3880],{"type":24,"value":3881},"()\n",{"type":19,"tag":112,"props":3883,"children":3884},{"class":114,"line":222},[3885],{"type":19,"tag":112,"props":3886,"children":3887},{"style":137},[3888],{"type":24,"value":3889},"    {\n",{"type":19,"tag":112,"props":3891,"children":3892},{"class":114,"line":254},[3893,3898,3902,3907,3911],{"type":19,"tag":112,"props":3894,"children":3895},{"style":137},[3896],{"type":24,"value":3897},"       Prop ",{"type":19,"tag":112,"props":3899,"children":3900},{"style":119},[3901],{"type":24,"value":265},{"type":19,"tag":112,"props":3903,"children":3904},{"style":640},[3905],{"type":24,"value":3906}," 1",{"type":19,"tag":112,"props":3908,"children":3909},{"style":137},[3910],{"type":24,"value":3023},{"type":19,"tag":112,"props":3912,"children":3913},{"style":2202},[3914],{"type":24,"value":3915},"// Initialization in constructor writes to the hidden field\n",{"type":19,"tag":112,"props":3917,"children":3918},{"class":114,"line":273},[3919],{"type":19,"tag":112,"props":3920,"children":3921},{"style":137},[3922],{"type":24,"value":3923},"    }\n",{"type":19,"tag":112,"props":3925,"children":3926},{"class":114,"line":282},[3927],{"type":19,"tag":112,"props":3928,"children":3929},{"style":137},[3930],{"type":24,"value":288},{"type":19,"tag":20,"props":3932,"children":3933},{},[3934],{"type":24,"value":3935},"And this is how simple immutable class with constructors and properties looks like:",{"type":19,"tag":101,"props":3937,"children":3939},{"className":103,"code":3938,"language":105,"meta":9,"style":9},"[Record]\nclass Data\n{\n    public Name : string { get; }\n    public MiddleName : string { get; }\n    public Address : string { get; }\n}\n",[3940],{"type":19,"tag":108,"props":3941,"children":3942},{"__ignoreMap":9},[3943,3961,3973,3980,3992,4018,4042],{"type":19,"tag":112,"props":3944,"children":3945},{"class":114,"line":115},[3946,3951,3956],{"type":19,"tag":112,"props":3947,"children":3948},{"style":137},[3949],{"type":24,"value":3950},"[",{"type":19,"tag":112,"props":3952,"children":3953},{"style":977},[3954],{"type":24,"value":3955},"Record",{"type":19,"tag":112,"props":3957,"children":3958},{"style":137},[3959],{"type":24,"value":3960},"]\n",{"type":19,"tag":112,"props":3962,"children":3963},{"class":114,"line":143},[3964,3968],{"type":19,"tag":112,"props":3965,"children":3966},{"style":125},[3967],{"type":24,"value":3833},{"type":19,"tag":112,"props":3969,"children":3970},{"style":131},[3971],{"type":24,"value":3972}," Data\n",{"type":19,"tag":112,"props":3974,"children":3975},{"class":114,"line":163},[3976],{"type":19,"tag":112,"props":3977,"children":3978},{"style":137},[3979],{"type":24,"value":3846},{"type":19,"tag":112,"props":3981,"children":3982},{"class":114,"line":173},[3983,3987],{"type":19,"tag":112,"props":3984,"children":3985},{"style":119},[3986],{"type":24,"value":2839},{"type":19,"tag":112,"props":3988,"children":3989},{"style":137},[3990],{"type":24,"value":3991}," Name : string { get; }\n",{"type":19,"tag":112,"props":3993,"children":3994},{"class":114,"line":222},[3995,3999,4004,4009,4013],{"type":19,"tag":112,"props":3996,"children":3997},{"style":119},[3998],{"type":24,"value":2839},{"type":19,"tag":112,"props":4000,"children":4001},{"style":1489},[4002],{"type":24,"value":4003}," MiddleName",{"type":19,"tag":112,"props":4005,"children":4006},{"style":137},[4007],{"type":24,"value":4008}," : ",{"type":19,"tag":112,"props":4010,"children":4011},{"style":152},[4012],{"type":24,"value":2748},{"type":19,"tag":112,"props":4014,"children":4015},{"style":137},[4016],{"type":24,"value":4017}," { get; }\n",{"type":19,"tag":112,"props":4019,"children":4020},{"class":114,"line":254},[4021,4025,4030,4034,4038],{"type":19,"tag":112,"props":4022,"children":4023},{"style":119},[4024],{"type":24,"value":2839},{"type":19,"tag":112,"props":4026,"children":4027},{"style":1489},[4028],{"type":24,"value":4029}," Address",{"type":19,"tag":112,"props":4031,"children":4032},{"style":137},[4033],{"type":24,"value":4008},{"type":19,"tag":112,"props":4035,"children":4036},{"style":152},[4037],{"type":24,"value":2748},{"type":19,"tag":112,"props":4039,"children":4040},{"style":137},[4041],{"type":24,"value":4017},{"type":19,"tag":112,"props":4043,"children":4044},{"class":114,"line":273},[4045],{"type":19,"tag":112,"props":4046,"children":4047},{"style":137},[4048],{"type":24,"value":288},{"type":19,"tag":2248,"props":4050,"children":4051},{},[4052],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":4054},[],"content:comments:probable-c-6-0-features-illustrated:77904.md","comments/probable-c-6-0-features-illustrated/77904.md","comments/probable-c-6-0-features-illustrated/77904",{"_path":4059,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":4060,"description":4061,"id":4062,"name":4063,"email":4064,"avatar":4065,"date":4066,"body":4067,"_type":2301,"_id":4186,"_source":2303,"_file":4187,"_stem":4188,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/77692","77692","One scoop of syntactic sugar that I think would be nice to have that is not on the list would be implicit var for iterators.\nInstead of",77692,"Alan Bates","kalanbates@gmail.com","https://www.gravatar.com/avatar/85f2f801cfb39822bf9c807f80d80b35?r=pg&d=retro","2014-03-11T01:39:01",{"type":16,"children":4068,"toc":4184},[4069,4073,4111,4116,4151,4156,4175,4180],{"type":19,"tag":20,"props":4070,"children":4071},{},[4072],{"type":24,"value":4061},{"type":19,"tag":101,"props":4074,"children":4076},{"className":103,"code":4075,"language":105,"meta":9,"style":9},"foreach(var entity in entities)\n",[4077],{"type":19,"tag":108,"props":4078,"children":4079},{"__ignoreMap":9},[4080],{"type":19,"tag":112,"props":4081,"children":4082},{"class":114,"line":115},[4083,4088,4092,4096,4101,4106],{"type":19,"tag":112,"props":4084,"children":4085},{"style":125},[4086],{"type":24,"value":4087},"foreach",{"type":19,"tag":112,"props":4089,"children":4090},{"style":137},[4091],{"type":24,"value":189},{"type":19,"tag":112,"props":4093,"children":4094},{"style":152},[4095],{"type":24,"value":1569},{"type":19,"tag":112,"props":4097,"children":4098},{"style":137},[4099],{"type":24,"value":4100}," entity ",{"type":19,"tag":112,"props":4102,"children":4103},{"style":125},[4104],{"type":24,"value":4105},"in",{"type":19,"tag":112,"props":4107,"children":4108},{"style":137},[4109],{"type":24,"value":4110}," entities)\n",{"type":19,"tag":20,"props":4112,"children":4113},{},[4114],{"type":24,"value":4115},"or",{"type":19,"tag":101,"props":4117,"children":4119},{"className":103,"code":4118,"language":105,"meta":9,"style":9},"foreach(Entity entity in entities)\n",[4120],{"type":19,"tag":108,"props":4121,"children":4122},{"__ignoreMap":9},[4123],{"type":19,"tag":112,"props":4124,"children":4125},{"class":114,"line":115},[4126,4130,4134,4139,4143,4147],{"type":19,"tag":112,"props":4127,"children":4128},{"style":125},[4129],{"type":24,"value":4087},{"type":19,"tag":112,"props":4131,"children":4132},{"style":137},[4133],{"type":24,"value":189},{"type":19,"tag":112,"props":4135,"children":4136},{"style":977},[4137],{"type":24,"value":4138},"Entity",{"type":19,"tag":112,"props":4140,"children":4141},{"style":137},[4142],{"type":24,"value":4100},{"type":19,"tag":112,"props":4144,"children":4145},{"style":125},[4146],{"type":24,"value":4105},{"type":19,"tag":112,"props":4148,"children":4149},{"style":137},[4150],{"type":24,"value":4110},{"type":19,"tag":20,"props":4152,"children":4153},{},[4154],{"type":24,"value":4155},"just simply",{"type":19,"tag":101,"props":4157,"children":4159},{"className":103,"code":4158,"language":105,"meta":9,"style":9},"foreach(entity in entities)\n",[4160],{"type":19,"tag":108,"props":4161,"children":4162},{"__ignoreMap":9},[4163],{"type":19,"tag":112,"props":4164,"children":4165},{"class":114,"line":115},[4166,4170],{"type":19,"tag":112,"props":4167,"children":4168},{"style":125},[4169],{"type":24,"value":4087},{"type":19,"tag":112,"props":4171,"children":4172},{"style":137},[4173],{"type":24,"value":4174},"(entity in entities)\n",{"type":19,"tag":20,"props":4176,"children":4177},{},[4178],{"type":24,"value":4179},"...while still allowing the explicit case",{"type":19,"tag":2248,"props":4181,"children":4182},{},[4183],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":4185},[],"content:comments:probable-c-6-0-features-illustrated:77692.md","comments/probable-c-6-0-features-illustrated/77692.md","comments/probable-c-6-0-features-illustrated/77692",{"_path":4190,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":4191,"description":4192,"id":4193,"name":4194,"email":4195,"avatar":4196,"date":4197,"body":4198,"_type":2301,"_id":4206,"_source":2303,"_file":4207,"_stem":4208,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/76855","76855","Inline out-parameters are nice but why not take it one step further to prevent the use of out-parameters completely; allow return tuples instead like in python.",76855,"Joz","lafkdsjadfsjkladfskj@sadfkljsadfkjljdskl.com","https://www.gravatar.com/avatar/80fb6d06dc6f201ff3e3514f47d6ddee?r=pg&d=retro","2014-03-01T05:54:46",{"type":16,"children":4199,"toc":4204},[4200],{"type":19,"tag":20,"props":4201,"children":4202},{},[4203],{"type":24,"value":4192},{"title":9,"searchDepth":143,"depth":143,"links":4205},[],"content:comments:probable-c-6-0-features-illustrated:76855.md","comments/probable-c-6-0-features-illustrated/76855.md","comments/probable-c-6-0-features-illustrated/76855",{"_path":4210,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":4211,"description":4212,"id":4213,"name":4214,"email":4215,"avatar":4216,"url":4217,"date":4218,"body":4219,"_type":2301,"_id":4227,"_source":2303,"_file":4228,"_stem":4229,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/76392","76392","True anonymous types would be extremely helpful both in TDD and in production code. I would love to be able to quickly stub a dependency or parameter by saying var stub = new IMyInterface { value = \"foo\", method => x*y }. This can work well for DTO objects, especially if they are only created and returned form only one or two linq statements, as well and encourage coding to interfaces. This is the only feature Java has that I wish C# had.",76392,"Jason Bowers","jcolt45@hotmail.com","https://www.gravatar.com/avatar/28d3fae18fece1f8b58106d8d8bfdfb2?r=pg&d=retro","https://www.linkedin.com/in/jcbowers","2014-02-15T19:29:23",{"type":16,"children":4220,"toc":4225},[4221],{"type":19,"tag":20,"props":4222,"children":4223},{},[4224],{"type":24,"value":4212},{"title":9,"searchDepth":143,"depth":143,"links":4226},[],"content:comments:probable-c-6-0-features-illustrated:76392.md","comments/probable-c-6-0-features-illustrated/76392.md","comments/probable-c-6-0-features-illustrated/76392",{"_path":4231,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":4232,"description":4233,"id":4234,"name":4235,"email":4236,"avatar":4237,"date":4238,"body":4239,"_type":2301,"_id":4434,"_source":2303,"_file":4435,"_stem":4436,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/76260","76260","Tom Tucker suggestion is good.\nToday if you have an property that has some logic on int you must declare a private field too.\nThe problem is that inside the code of the class, the field can be accessed directly (without going through the property).\nWith Tucker's suggestion we can write something like this:",76260,"Carlos Beppler","beppler@gmail.com","https://www.gravatar.com/avatar/745df707f8995a37ef23ab89ae66d61d?r=pg&d=retro","2014-02-11T05:06:29",{"type":16,"children":4240,"toc":4432},[4241,4245,4428],{"type":19,"tag":20,"props":4242,"children":4243},{},[4244],{"type":24,"value":4233},{"type":19,"tag":101,"props":4246,"children":4248},{"className":103,"code":4247,"language":105,"meta":9,"style":9},"public string MyProp {\n    string myprop = string.Empty;\n    get { return myprop; }\n    set {\n        if (string.IsNullOrWhiteSpace(value))\n           throw new ArgumentNullException(\"value\");\n        myprop = value;\n    }\n}\n",[4249],{"type":19,"tag":108,"props":4250,"children":4251},{"__ignoreMap":9},[4252,4269,4303,4320,4328,4359,4397,4413,4420],{"type":19,"tag":112,"props":4253,"children":4254},{"class":114,"line":115},[4255,4259,4264],{"type":19,"tag":112,"props":4256,"children":4257},{"style":119},[4258],{"type":24,"value":122},{"type":19,"tag":112,"props":4260,"children":4261},{"style":152},[4262],{"type":24,"value":4263}," string",{"type":19,"tag":112,"props":4265,"children":4266},{"style":137},[4267],{"type":24,"value":4268}," MyProp {\n",{"type":19,"tag":112,"props":4270,"children":4271},{"class":114,"line":143},[4272,4277,4282,4286,4290,4294,4299],{"type":19,"tag":112,"props":4273,"children":4274},{"style":152},[4275],{"type":24,"value":4276},"    string",{"type":19,"tag":112,"props":4278,"children":4279},{"style":137},[4280],{"type":24,"value":4281}," myprop ",{"type":19,"tag":112,"props":4283,"children":4284},{"style":119},[4285],{"type":24,"value":265},{"type":19,"tag":112,"props":4287,"children":4288},{"style":152},[4289],{"type":24,"value":4263},{"type":19,"tag":112,"props":4291,"children":4292},{"style":137},[4293],{"type":24,"value":40},{"type":19,"tag":112,"props":4295,"children":4296},{"style":1489},[4297],{"type":24,"value":4298},"Empty",{"type":19,"tag":112,"props":4300,"children":4301},{"style":137},[4302],{"type":24,"value":251},{"type":19,"tag":112,"props":4304,"children":4305},{"class":114,"line":163},[4306,4311,4315],{"type":19,"tag":112,"props":4307,"children":4308},{"style":137},[4309],{"type":24,"value":4310},"    get { ",{"type":19,"tag":112,"props":4312,"children":4313},{"style":125},[4314],{"type":24,"value":510},{"type":19,"tag":112,"props":4316,"children":4317},{"style":137},[4318],{"type":24,"value":4319}," myprop; }\n",{"type":19,"tag":112,"props":4321,"children":4322},{"class":114,"line":173},[4323],{"type":19,"tag":112,"props":4324,"children":4325},{"style":137},[4326],{"type":24,"value":4327},"    set {\n",{"type":19,"tag":112,"props":4329,"children":4330},{"class":114,"line":222},[4331,4336,4341,4345,4349,4354],{"type":19,"tag":112,"props":4332,"children":4333},{"style":125},[4334],{"type":24,"value":4335},"        if",{"type":19,"tag":112,"props":4337,"children":4338},{"style":137},[4339],{"type":24,"value":4340}," (",{"type":19,"tag":112,"props":4342,"children":4343},{"style":152},[4344],{"type":24,"value":2748},{"type":19,"tag":112,"props":4346,"children":4347},{"style":137},[4348],{"type":24,"value":40},{"type":19,"tag":112,"props":4350,"children":4351},{"style":182},[4352],{"type":24,"value":4353},"IsNullOrWhiteSpace",{"type":19,"tag":112,"props":4355,"children":4356},{"style":137},[4357],{"type":24,"value":4358},"(value))\n",{"type":19,"tag":112,"props":4360,"children":4361},{"class":114,"line":254},[4362,4367,4371,4376,4380,4384,4389,4393],{"type":19,"tag":112,"props":4363,"children":4364},{"style":125},[4365],{"type":24,"value":4366},"           throw",{"type":19,"tag":112,"props":4368,"children":4369},{"style":125},[4370],{"type":24,"value":1027},{"type":19,"tag":112,"props":4372,"children":4373},{"style":977},[4374],{"type":24,"value":4375}," ArgumentNullException",{"type":19,"tag":112,"props":4377,"children":4378},{"style":137},[4379],{"type":24,"value":189},{"type":19,"tag":112,"props":4381,"children":4382},{"style":1704},[4383],{"type":24,"value":1707},{"type":19,"tag":112,"props":4385,"children":4386},{"style":1710},[4387],{"type":24,"value":4388},"value",{"type":19,"tag":112,"props":4390,"children":4391},{"style":1704},[4392],{"type":24,"value":1707},{"type":19,"tag":112,"props":4394,"children":4395},{"style":137},[4396],{"type":24,"value":1721},{"type":19,"tag":112,"props":4398,"children":4399},{"class":114,"line":273},[4400,4405,4409],{"type":19,"tag":112,"props":4401,"children":4402},{"style":137},[4403],{"type":24,"value":4404},"        myprop ",{"type":19,"tag":112,"props":4406,"children":4407},{"style":119},[4408],{"type":24,"value":265},{"type":19,"tag":112,"props":4410,"children":4411},{"style":137},[4412],{"type":24,"value":3670},{"type":19,"tag":112,"props":4414,"children":4415},{"class":114,"line":282},[4416],{"type":19,"tag":112,"props":4417,"children":4418},{"style":137},[4419],{"type":24,"value":3923},{"type":19,"tag":112,"props":4421,"children":4423},{"class":114,"line":4422},9,[4424],{"type":19,"tag":112,"props":4425,"children":4426},{"style":137},[4427],{"type":24,"value":288},{"type":19,"tag":2248,"props":4429,"children":4430},{},[4431],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":4433},[],"content:comments:probable-c-6-0-features-illustrated:76260.md","comments/probable-c-6-0-features-illustrated/76260.md","comments/probable-c-6-0-features-illustrated/76260",{"_path":4438,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":4439,"description":4440,"id":4441,"name":4442,"email":4443,"avatar":4444,"date":4445,"body":4446,"_type":2301,"_id":4454,"_source":2303,"_file":4455,"_stem":4456,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/76205","76205","Monadic null checking is very nice, but the others are just syntax pollution. I disliked \"using Math\" the most. Please do not introduce something like this! It has the same drawbacks as using namespace std. Methods are perfectly good wrapped into classes.",76205,"someone","wegewg@wegf.com","https://www.gravatar.com/avatar/a9498e59b78d50b8a615f04a180392dd?r=pg&d=retro","2014-02-09T03:02:36",{"type":16,"children":4447,"toc":4452},[4448],{"type":19,"tag":20,"props":4449,"children":4450},{},[4451],{"type":24,"value":4440},{"title":9,"searchDepth":143,"depth":143,"links":4453},[],"content:comments:probable-c-6-0-features-illustrated:76205.md","comments/probable-c-6-0-features-illustrated/76205.md","comments/probable-c-6-0-features-illustrated/76205",{"_path":4458,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":4459,"description":4460,"id":4461,"name":4462,"email":4463,"avatar":4464,"date":4465,"body":4466,"_type":2301,"_id":4474,"_source":2303,"_file":4475,"_stem":4476,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/76161","76161","Inspired from functional programming? Most ideas sounds similar to fsharp.",76161,"Vallarasu","vals@live.in","https://www.gravatar.com/avatar/80795e97f77645cabeb2fc4bd74b2b03?r=pg&d=retro","2014-02-07T12:05:58",{"type":16,"children":4467,"toc":4472},[4468],{"type":19,"tag":20,"props":4469,"children":4470},{},[4471],{"type":24,"value":4460},{"title":9,"searchDepth":143,"depth":143,"links":4473},[],"content:comments:probable-c-6-0-features-illustrated:76161.md","comments/probable-c-6-0-features-illustrated/76161.md","comments/probable-c-6-0-features-illustrated/76161",{"_path":4478,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":4479,"description":4480,"id":4481,"name":4482,"email":4483,"avatar":4484,"date":4485,"body":4486,"_type":2301,"_id":4651,"_source":2303,"_file":4652,"_stem":4653,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/76143","76143","Why is that x introduced on read only properties?",76143,"João Vitor P. Moraes","jvlppm@gmail.com","https://www.gravatar.com/avatar/f57302f2917f1011ab1c063943542e42?r=pg&d=retro","2014-02-07T03:12:14",{"type":16,"children":4487,"toc":4649},[4488,4492,4521,4526,4548,4553,4583,4588,4612,4617,4640,4645],{"type":19,"tag":20,"props":4489,"children":4490},{},[4491],{"type":24,"value":4480},{"type":19,"tag":101,"props":4493,"children":4494},{"className":103,"code":523,"language":105,"meta":9,"style":9},[4495],{"type":19,"tag":108,"props":4496,"children":4497},{"__ignoreMap":9},[4498],{"type":19,"tag":112,"props":4499,"children":4500},{"class":114,"line":115},[4501,4505,4509,4513,4517],{"type":19,"tag":112,"props":4502,"children":4503},{"style":119},[4504],{"type":24,"value":122},{"type":19,"tag":112,"props":4506,"children":4507},{"style":152},[4508],{"type":24,"value":155},{"type":19,"tag":112,"props":4510,"children":4511},{"style":137},[4512],{"type":24,"value":543},{"type":19,"tag":112,"props":4514,"children":4515},{"style":119},[4516],{"type":24,"value":265},{"type":19,"tag":112,"props":4518,"children":4519},{"style":137},[4520],{"type":24,"value":489},{"type":19,"tag":20,"props":4522,"children":4523},{},[4524],{"type":24,"value":4525},"Why not simply",{"type":19,"tag":101,"props":4527,"children":4529},{"className":103,"code":4528,"language":105,"meta":9,"style":9},"public int X { get;\n",[4530],{"type":19,"tag":108,"props":4531,"children":4532},{"__ignoreMap":9},[4533],{"type":19,"tag":112,"props":4534,"children":4535},{"class":114,"line":115},[4536,4540,4544],{"type":19,"tag":112,"props":4537,"children":4538},{"style":119},[4539],{"type":24,"value":122},{"type":19,"tag":112,"props":4541,"children":4542},{"style":152},[4543],{"type":24,"value":155},{"type":19,"tag":112,"props":4545,"children":4546},{"style":137},[4547],{"type":24,"value":3793},{"type":19,"tag":20,"props":4549,"children":4550},{},[4551],{"type":24,"value":4552},"And the setter acts like a read-only attribute? The proposed syntax allows for things like",{"type":19,"tag":101,"props":4554,"children":4556},{"className":103,"code":4555,"language":105,"meta":9,"style":9},"public int X { get; } = y;\n",[4557],{"type":19,"tag":108,"props":4558,"children":4559},{"__ignoreMap":9},[4560],{"type":19,"tag":112,"props":4561,"children":4562},{"class":114,"line":115},[4563,4567,4571,4575,4579],{"type":19,"tag":112,"props":4564,"children":4565},{"style":119},[4566],{"type":24,"value":122},{"type":19,"tag":112,"props":4568,"children":4569},{"style":152},[4570],{"type":24,"value":155},{"type":19,"tag":112,"props":4572,"children":4573},{"style":137},[4574],{"type":24,"value":543},{"type":19,"tag":112,"props":4576,"children":4577},{"style":119},[4578],{"type":24,"value":265},{"type":19,"tag":112,"props":4580,"children":4581},{"style":137},[4582],{"type":24,"value":270},{"type":19,"tag":20,"props":4584,"children":4585},{},[4586],{"type":24,"value":4587},"and in the constructor you would have",{"type":19,"tag":101,"props":4589,"children":4591},{"className":103,"code":4590,"language":105,"meta":9,"style":9},"y = 5\n",[4592],{"type":19,"tag":108,"props":4593,"children":4594},{"__ignoreMap":9},[4595],{"type":19,"tag":112,"props":4596,"children":4597},{"class":114,"line":115},[4598,4603,4607],{"type":19,"tag":112,"props":4599,"children":4600},{"style":137},[4601],{"type":24,"value":4602},"y ",{"type":19,"tag":112,"props":4604,"children":4605},{"style":119},[4606],{"type":24,"value":265},{"type":19,"tag":112,"props":4608,"children":4609},{"style":640},[4610],{"type":24,"value":4611}," 5\n",{"type":19,"tag":20,"props":4613,"children":4614},{},[4615],{"type":24,"value":4616},"which would only bring confusion",{"type":19,"tag":101,"props":4618,"children":4620},{"className":103,"code":4619,"language":105,"meta":9,"style":9},"X = 5\n",[4621],{"type":19,"tag":108,"props":4622,"children":4623},{"__ignoreMap":9},[4624],{"type":19,"tag":112,"props":4625,"children":4626},{"class":114,"line":115},[4627,4632,4636],{"type":19,"tag":112,"props":4628,"children":4629},{"style":137},[4630],{"type":24,"value":4631},"X ",{"type":19,"tag":112,"props":4633,"children":4634},{"style":119},[4635],{"type":24,"value":265},{"type":19,"tag":112,"props":4637,"children":4638},{"style":640},[4639],{"type":24,"value":4611},{"type":19,"tag":20,"props":4641,"children":4642},{},[4643],{"type":24,"value":4644},"is cleaner, simpler, and avoids confusion.",{"type":19,"tag":2248,"props":4646,"children":4647},{},[4648],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":4650},[],"content:comments:probable-c-6-0-features-illustrated:76143.md","comments/probable-c-6-0-features-illustrated/76143.md","comments/probable-c-6-0-features-illustrated/76143",{"_path":4655,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":4656,"description":4657,"id":4658,"name":4659,"email":4660,"avatar":4661,"date":4662,"body":4663,"_type":2301,"_id":4737,"_source":2303,"_file":4738,"_stem":4739,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/76140","76140","#6 would be more logical if instead of IEnumerable, params could be used on IReadOnlyList",76140,"Kralizek","kralizek@gmail.com","https://www.gravatar.com/avatar/a42d95147120c2d351b765b98a0cfce5?r=pg&d=retro","2014-02-07T01:27:25",{"type":16,"children":4664,"toc":4735},[4665,4669,4674,4731],{"type":19,"tag":20,"props":4666,"children":4667},{},[4668],{"type":24,"value":4657},{"type":19,"tag":20,"props":4670,"children":4671},{},[4672],{"type":24,"value":4673},"And, method return type inference!",{"type":19,"tag":101,"props":4675,"children":4677},{"className":103,"code":4676,"language":105,"meta":9,"style":9},"public var GetValue()\n{\n    return 1;\n}\n",[4678],{"type":19,"tag":108,"props":4679,"children":4680},{"__ignoreMap":9},[4681,4702,4709,4724],{"type":19,"tag":112,"props":4682,"children":4683},{"class":114,"line":115},[4684,4688,4693,4698],{"type":19,"tag":112,"props":4685,"children":4686},{"style":119},[4687],{"type":24,"value":122},{"type":19,"tag":112,"props":4689,"children":4690},{"style":977},[4691],{"type":24,"value":4692}," var",{"type":19,"tag":112,"props":4694,"children":4695},{"style":182},[4696],{"type":24,"value":4697}," GetValue",{"type":19,"tag":112,"props":4699,"children":4700},{"style":137},[4701],{"type":24,"value":3881},{"type":19,"tag":112,"props":4703,"children":4704},{"class":114,"line":143},[4705],{"type":19,"tag":112,"props":4706,"children":4707},{"style":137},[4708],{"type":24,"value":3846},{"type":19,"tag":112,"props":4710,"children":4711},{"class":114,"line":163},[4712,4716,4720],{"type":19,"tag":112,"props":4713,"children":4714},{"style":125},[4715],{"type":24,"value":1822},{"type":19,"tag":112,"props":4717,"children":4718},{"style":640},[4719],{"type":24,"value":3906},{"type":19,"tag":112,"props":4721,"children":4722},{"style":137},[4723],{"type":24,"value":251},{"type":19,"tag":112,"props":4725,"children":4726},{"class":114,"line":173},[4727],{"type":19,"tag":112,"props":4728,"children":4729},{"style":137},[4730],{"type":24,"value":288},{"type":19,"tag":2248,"props":4732,"children":4733},{},[4734],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":4736},[],"content:comments:probable-c-6-0-features-illustrated:76140.md","comments/probable-c-6-0-features-illustrated/76140.md","comments/probable-c-6-0-features-illustrated/76140",{"_path":4741,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":4742,"description":4743,"id":4744,"name":4745,"email":4746,"avatar":4747,"date":4748,"body":4749,"_type":2301,"_id":4941,"_source":2303,"_file":4942,"_stem":4943,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/76116","76116","@Dave Van den Eynde",76116,"David Taylor","mail@davtaylor.com","https://www.gravatar.com/avatar/3ad30c84b619dddcbb3e8c1b6c7121aa?r=pg&d=retro","2014-02-06T00:39:43",{"type":16,"children":4750,"toc":4939},[4751,4755,4760,4807,4812,4839,4862,4867,4898,4903,4930,4935],{"type":19,"tag":20,"props":4752,"children":4753},{},[4754],{"type":24,"value":4743},{"type":19,"tag":20,"props":4756,"children":4757},{},[4758],{"type":24,"value":4759},"Are you sure it doesn't solve it.",{"type":19,"tag":101,"props":4761,"children":4763},{"className":103,"code":4762,"language":105,"meta":9,"style":9},"obj.Maybe(obj => obj.Property);\n",[4764],{"type":19,"tag":108,"props":4765,"children":4766},{"__ignoreMap":9},[4767],{"type":19,"tag":112,"props":4768,"children":4769},{"class":114,"line":115},[4770,4775,4780,4784,4789,4793,4798,4803],{"type":19,"tag":112,"props":4771,"children":4772},{"style":137},[4773],{"type":24,"value":4774},"obj.",{"type":19,"tag":112,"props":4776,"children":4777},{"style":182},[4778],{"type":24,"value":4779},"Maybe",{"type":19,"tag":112,"props":4781,"children":4782},{"style":137},[4783],{"type":24,"value":189},{"type":19,"tag":112,"props":4785,"children":4786},{"style":197},[4787],{"type":24,"value":4788},"obj",{"type":19,"tag":112,"props":4790,"children":4791},{"style":119},[4792],{"type":24,"value":889},{"type":19,"tag":112,"props":4794,"children":4795},{"style":137},[4796],{"type":24,"value":4797}," obj.",{"type":19,"tag":112,"props":4799,"children":4800},{"style":1489},[4801],{"type":24,"value":4802},"Property",{"type":19,"tag":112,"props":4804,"children":4805},{"style":137},[4806],{"type":24,"value":1721},{"type":19,"tag":20,"props":4808,"children":4809},{},[4810],{"type":24,"value":4811},"becomes",{"type":19,"tag":101,"props":4813,"children":4815},{"className":103,"code":4814,"language":105,"meta":9,"style":9},"obj?.Property\n",[4816],{"type":19,"tag":108,"props":4817,"children":4818},{"__ignoreMap":9},[4819],{"type":19,"tag":112,"props":4820,"children":4821},{"class":114,"line":115},[4822,4826,4830,4834],{"type":19,"tag":112,"props":4823,"children":4824},{"style":137},[4825],{"type":24,"value":4788},{"type":19,"tag":112,"props":4827,"children":4828},{"style":119},[4829],{"type":24,"value":1588},{"type":19,"tag":112,"props":4831,"children":4832},{"style":137},[4833],{"type":24,"value":40},{"type":19,"tag":112,"props":4835,"children":4836},{"style":1489},[4837],{"type":24,"value":4838},"Property\n",{"type":19,"tag":101,"props":4840,"children":4842},{"className":103,"code":4841,"language":105,"meta":9,"style":9},"obj.Maybe(ProjectionFunc);\n",[4843],{"type":19,"tag":108,"props":4844,"children":4845},{"__ignoreMap":9},[4846],{"type":19,"tag":112,"props":4847,"children":4848},{"class":114,"line":115},[4849,4853,4857],{"type":19,"tag":112,"props":4850,"children":4851},{"style":137},[4852],{"type":24,"value":4774},{"type":19,"tag":112,"props":4854,"children":4855},{"style":182},[4856],{"type":24,"value":4779},{"type":19,"tag":112,"props":4858,"children":4859},{"style":137},[4860],{"type":24,"value":4861},"(ProjectionFunc);\n",{"type":19,"tag":20,"props":4863,"children":4864},{},[4865],{"type":24,"value":4866},"would more often become written using an extension method:",{"type":19,"tag":101,"props":4868,"children":4870},{"className":103,"code":4869,"language":105,"meta":9,"style":9},"obj?.ProjectionFunc()\n",[4871],{"type":19,"tag":108,"props":4872,"children":4873},{"__ignoreMap":9},[4874],{"type":19,"tag":112,"props":4875,"children":4876},{"class":114,"line":115},[4877,4881,4885,4889,4894],{"type":19,"tag":112,"props":4878,"children":4879},{"style":137},[4880],{"type":24,"value":4788},{"type":19,"tag":112,"props":4882,"children":4883},{"style":119},[4884],{"type":24,"value":1588},{"type":19,"tag":112,"props":4886,"children":4887},{"style":137},[4888],{"type":24,"value":40},{"type":19,"tag":112,"props":4890,"children":4891},{"style":182},[4892],{"type":24,"value":4893},"ProjectionFunc",{"type":19,"tag":112,"props":4895,"children":4896},{"style":137},[4897],{"type":24,"value":3881},{"type":19,"tag":20,"props":4899,"children":4900},{},[4901],{"type":24,"value":4902},"Or using the number 3 \"Static type using statements\" it might be written",{"type":19,"tag":101,"props":4904,"children":4906},{"className":103,"code":4905,"language":105,"meta":9,"style":9},"ProjectionFunc(obj?)\n",[4907],{"type":19,"tag":108,"props":4908,"children":4909},{"__ignoreMap":9},[4910],{"type":19,"tag":112,"props":4911,"children":4912},{"class":114,"line":115},[4913,4917,4922,4926],{"type":19,"tag":112,"props":4914,"children":4915},{"style":182},[4916],{"type":24,"value":4893},{"type":19,"tag":112,"props":4918,"children":4919},{"style":137},[4920],{"type":24,"value":4921},"(obj",{"type":19,"tag":112,"props":4923,"children":4924},{"style":119},[4925],{"type":24,"value":1588},{"type":19,"tag":112,"props":4927,"children":4928},{"style":137},[4929],{"type":24,"value":219},{"type":19,"tag":20,"props":4931,"children":4932},{},[4933],{"type":24,"value":4934},"Lets wait and see how all this composes.",{"type":19,"tag":2248,"props":4936,"children":4937},{},[4938],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":4940},[],"content:comments:probable-c-6-0-features-illustrated:76116.md","comments/probable-c-6-0-features-illustrated/76116.md","comments/probable-c-6-0-features-illustrated/76116",{"_path":4945,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":4946,"description":4947,"id":4948,"name":4949,"email":4950,"avatar":4951,"date":4952,"body":4953,"_type":2301,"_id":4961,"_source":2303,"_file":4962,"_stem":4963,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/75508","75508","Suraj Deshpande is right. I felt that the syntaxes presented here are expressed as unreadable statements and they are hard to maintain.\nShorthands are supposed to be readable. It would be nice to write a bit more code in order to be maintainable.",75508,"Junior","juniormayhe@gmail.com","https://www.gravatar.com/avatar/834755eb1212009904ab822b64295ffb?r=pg&d=retro","2014-01-11T17:28:04",{"type":16,"children":4954,"toc":4959},[4955],{"type":19,"tag":20,"props":4956,"children":4957},{},[4958],{"type":24,"value":4947},{"title":9,"searchDepth":143,"depth":143,"links":4960},[],"content:comments:probable-c-6-0-features-illustrated:75508.md","comments/probable-c-6-0-features-illustrated/75508.md","comments/probable-c-6-0-features-illustrated/75508",{"_path":4965,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":4966,"description":4967,"id":4968,"name":4969,"email":4970,"avatar":4971,"date":4972,"body":4973,"_type":2301,"_id":5056,"_source":2303,"_file":5057,"_stem":5058,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/75449","75449","#7 is cool and all, but it won't make my homebrew Maybe extension method obsolete. Right now I can do this:",75449,"Dave Van den Eynde","dave@groovbird.com","https://www.gravatar.com/avatar/1c3de6158085f955497b46705ffbdebc?r=pg&d=retro","2014-01-10T01:36:47",{"type":16,"children":4974,"toc":5054},[4975,4979,5019,5024,5045,5050],{"type":19,"tag":20,"props":4976,"children":4977},{},[4978],{"type":24,"value":4967},{"type":19,"tag":101,"props":4980,"children":4982},{"className":103,"code":4981,"language":105,"meta":9,"style":9},"obj.Maybe(obj =? obj.Property);\n",[4983],{"type":19,"tag":108,"props":4984,"children":4985},{"__ignoreMap":9},[4986],{"type":19,"tag":112,"props":4987,"children":4988},{"class":114,"line":115},[4989,4993,4997,5002,5007,5011,5015],{"type":19,"tag":112,"props":4990,"children":4991},{"style":137},[4992],{"type":24,"value":4774},{"type":19,"tag":112,"props":4994,"children":4995},{"style":182},[4996],{"type":24,"value":4779},{"type":19,"tag":112,"props":4998,"children":4999},{"style":137},[5000],{"type":24,"value":5001},"(obj ",{"type":19,"tag":112,"props":5003,"children":5004},{"style":119},[5005],{"type":24,"value":5006},"=?",{"type":19,"tag":112,"props":5008,"children":5009},{"style":137},[5010],{"type":24,"value":4797},{"type":19,"tag":112,"props":5012,"children":5013},{"style":1489},[5014],{"type":24,"value":4802},{"type":19,"tag":112,"props":5016,"children":5017},{"style":137},[5018],{"type":24,"value":1721},{"type":19,"tag":20,"props":5020,"children":5021},{},[5022],{"type":24,"value":5023},"Now that would be fine if it was obj?.Property instead, but I use it more often like this:",{"type":19,"tag":101,"props":5025,"children":5026},{"className":103,"code":4841,"language":105,"meta":9,"style":9},[5027],{"type":19,"tag":108,"props":5028,"children":5029},{"__ignoreMap":9},[5030],{"type":19,"tag":112,"props":5031,"children":5032},{"class":114,"line":115},[5033,5037,5041],{"type":19,"tag":112,"props":5034,"children":5035},{"style":137},[5036],{"type":24,"value":4774},{"type":19,"tag":112,"props":5038,"children":5039},{"style":182},[5040],{"type":24,"value":4779},{"type":19,"tag":112,"props":5042,"children":5043},{"style":137},[5044],{"type":24,"value":4861},{"type":19,"tag":20,"props":5046,"children":5047},{},[5048],{"type":24,"value":5049},"I don't see how this new operator would \"fix\" that use case.",{"type":19,"tag":2248,"props":5051,"children":5052},{},[5053],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":5055},[],"content:comments:probable-c-6-0-features-illustrated:75449.md","comments/probable-c-6-0-features-illustrated/75449.md","comments/probable-c-6-0-features-illustrated/75449",{"_path":5060,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":5061,"description":5062,"id":5063,"name":5064,"email":5065,"avatar":5066,"date":5067,"body":5068,"_type":2301,"_id":5245,"_source":2303,"_file":5246,"_stem":5247,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/74489","74489","I cannot stress enough how important what Keith Dahlby said is. I often had beautiful functional constructs that needed to use local variables just because of Try methods.",74489,"tec-goblin","nikolaskp@hotmail.com","https://www.gravatar.com/avatar/efd82aba8d3a4f1d827e68be28feba0b?r=pg&d=retro","2013-12-18T08:40:32",{"type":16,"children":5069,"toc":5243},[5070,5074,5079,5239],{"type":19,"tag":20,"props":5071,"children":5072},{},[5073],{"type":24,"value":5062},{"type":19,"tag":20,"props":5075,"children":5076},{},[5077],{"type":24,"value":5078},"In other news, I would like to see 4 & 5 combined as well:",{"type":19,"tag":101,"props":5080,"children":5082},{"className":103,"code":5081,"language":105,"meta":9,"style":9},"public ISet IdSet\n{\n    get => new HashSet(ids.Split(\",\"));\n    set { ids = value == null ? null : string.join(value, \",\"); }\n}\n",[5083],{"type":19,"tag":108,"props":5084,"children":5085},{"__ignoreMap":9},[5086,5098,5105,5157,5232],{"type":19,"tag":112,"props":5087,"children":5088},{"class":114,"line":115},[5089,5093],{"type":19,"tag":112,"props":5090,"children":5091},{"style":119},[5092],{"type":24,"value":122},{"type":19,"tag":112,"props":5094,"children":5095},{"style":137},[5096],{"type":24,"value":5097}," ISet IdSet\n",{"type":19,"tag":112,"props":5099,"children":5100},{"class":114,"line":143},[5101],{"type":19,"tag":112,"props":5102,"children":5103},{"style":137},[5104],{"type":24,"value":3846},{"type":19,"tag":112,"props":5106,"children":5107},{"class":114,"line":163},[5108,5113,5117,5121,5126,5131,5136,5140,5144,5148,5152],{"type":19,"tag":112,"props":5109,"children":5110},{"style":197},[5111],{"type":24,"value":5112},"    get",{"type":19,"tag":112,"props":5114,"children":5115},{"style":119},[5116],{"type":24,"value":889},{"type":19,"tag":112,"props":5118,"children":5119},{"style":125},[5120],{"type":24,"value":1027},{"type":19,"tag":112,"props":5122,"children":5123},{"style":977},[5124],{"type":24,"value":5125}," HashSet",{"type":19,"tag":112,"props":5127,"children":5128},{"style":137},[5129],{"type":24,"value":5130},"(ids.",{"type":19,"tag":112,"props":5132,"children":5133},{"style":182},[5134],{"type":24,"value":5135},"Split",{"type":19,"tag":112,"props":5137,"children":5138},{"style":137},[5139],{"type":24,"value":189},{"type":19,"tag":112,"props":5141,"children":5142},{"style":1704},[5143],{"type":24,"value":1707},{"type":19,"tag":112,"props":5145,"children":5146},{"style":1710},[5147],{"type":24,"value":3473},{"type":19,"tag":112,"props":5149,"children":5150},{"style":1704},[5151],{"type":24,"value":1707},{"type":19,"tag":112,"props":5153,"children":5154},{"style":137},[5155],{"type":24,"value":5156},"));\n",{"type":19,"tag":112,"props":5158,"children":5159},{"class":114,"line":173},[5160,5165,5169,5174,5179,5183,5188,5192,5197,5201,5205,5210,5215,5219,5223,5227],{"type":19,"tag":112,"props":5161,"children":5162},{"style":137},[5163],{"type":24,"value":5164},"    set { ids ",{"type":19,"tag":112,"props":5166,"children":5167},{"style":119},[5168],{"type":24,"value":265},{"type":19,"tag":112,"props":5170,"children":5171},{"style":137},[5172],{"type":24,"value":5173}," value ",{"type":19,"tag":112,"props":5175,"children":5176},{"style":119},[5177],{"type":24,"value":5178},"==",{"type":19,"tag":112,"props":5180,"children":5181},{"style":640},[5182],{"type":24,"value":1419},{"type":19,"tag":112,"props":5184,"children":5185},{"style":119},[5186],{"type":24,"value":5187}," ?",{"type":19,"tag":112,"props":5189,"children":5190},{"style":640},[5191],{"type":24,"value":1419},{"type":19,"tag":112,"props":5193,"children":5194},{"style":119},[5195],{"type":24,"value":5196}," :",{"type":19,"tag":112,"props":5198,"children":5199},{"style":152},[5200],{"type":24,"value":4263},{"type":19,"tag":112,"props":5202,"children":5203},{"style":137},[5204],{"type":24,"value":40},{"type":19,"tag":112,"props":5206,"children":5207},{"style":182},[5208],{"type":24,"value":5209},"join",{"type":19,"tag":112,"props":5211,"children":5212},{"style":137},[5213],{"type":24,"value":5214},"(value, ",{"type":19,"tag":112,"props":5216,"children":5217},{"style":1704},[5218],{"type":24,"value":1707},{"type":19,"tag":112,"props":5220,"children":5221},{"style":1710},[5222],{"type":24,"value":3473},{"type":19,"tag":112,"props":5224,"children":5225},{"style":1704},[5226],{"type":24,"value":1707},{"type":19,"tag":112,"props":5228,"children":5229},{"style":137},[5230],{"type":24,"value":5231},"); }\n",{"type":19,"tag":112,"props":5233,"children":5234},{"class":114,"line":222},[5235],{"type":19,"tag":112,"props":5236,"children":5237},{"style":137},[5238],{"type":24,"value":288},{"type":19,"tag":2248,"props":5240,"children":5241},{},[5242],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":5244},[],"content:comments:probable-c-6-0-features-illustrated:74489.md","comments/probable-c-6-0-features-illustrated/74489.md","comments/probable-c-6-0-features-illustrated/74489",{"_path":5249,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":5250,"description":5251,"id":5252,"name":5253,"email":5254,"avatar":5255,"url":5256,"date":5257,"body":5258,"_type":2301,"_id":5276,"_source":2303,"_file":5277,"_stem":5278,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/74344","74344","Have to agree with Patrick on this one.",74344,"Blair","blair.joel.davidson@gmail.com","https://www.gravatar.com/avatar/8e2e43b2447a50eb166e638f7970562a?r=pg&d=retro","https://squigglybrackets.me","2013-12-16T06:51:59",{"type":16,"children":5259,"toc":5274},[5260,5264,5269],{"type":19,"tag":20,"props":5261,"children":5262},{},[5263],{"type":24,"value":5251},{"type":19,"tag":20,"props":5265,"children":5266},{},[5267],{"type":24,"value":5268},"I do like the groovy style null check syntax.",{"type":19,"tag":20,"props":5270,"children":5271},{},[5272],{"type":24,"value":5273},"Algebraic data types, Higher kinded types, curried and partial function support like scala, scala style classes with primary constructors to reduce boilerplate code, type keyword for immuatable which is type checked, type aliases would be cool, enums as generic params as with integers like C++,",{"title":9,"searchDepth":143,"depth":143,"links":5275},[],"content:comments:probable-c-6-0-features-illustrated:74344.md","comments/probable-c-6-0-features-illustrated/74344.md","comments/probable-c-6-0-features-illustrated/74344",{"_path":5280,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":5281,"description":5282,"id":5283,"name":5284,"email":5285,"avatar":5286,"date":5287,"body":5288,"_type":2301,"_id":5409,"_source":2303,"_file":5410,"_stem":5411,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/74156","74156","It's good to see C# evolving. Most of the possible changes are welcome, but I can't see any true radical changes on the horizon, which for the most part is a good thing. The last thing I would want is to have C# change into some horrible C++ like language, trying to squeeze every type of programming structure into the language.\nI've been using C# since 2004 and feel that it has reached a maturity that won't be helped by simply adding features for very little gain.",74156,"Patrick","patq@netspace.net.au","https://www.gravatar.com/avatar/51df877c3dbde0f95ef678558e55ae7d?r=pg&d=retro","2013-12-13T18:56:58",{"type":16,"children":5289,"toc":5407},[5290,5294,5299,5402],{"type":19,"tag":20,"props":5291,"children":5292},{},[5293],{"type":24,"value":5282},{"type":19,"tag":20,"props":5295,"children":5296},{},[5297],{"type":24,"value":5298},"People wanting progress to a more advanced and robust language on the .NET platform should simply go to F#. I've been using F# now for 3 years and I could never go back to C# as my primary problem solving language. Here is the list the goodness that F# provides ...",{"type":19,"tag":375,"props":5300,"children":5301},{},[5302,5307,5312,5317,5322,5327,5332,5337,5342,5347,5352,5357,5362,5367,5372,5377,5382,5387,5392,5397],{"type":19,"tag":379,"props":5303,"children":5304},{},[5305],{"type":24,"value":5306},"Immutability by default",{"type":19,"tag":379,"props":5308,"children":5309},{},[5310],{"type":24,"value":5311},"Option types (eliminates null exceptions)",{"type":19,"tag":379,"props":5313,"children":5314},{},[5315],{"type":24,"value":5316},"Algebraic Data Types",{"type":19,"tag":379,"props":5318,"children":5319},{},[5320],{"type":24,"value":5321},"Units of Measure",{"type":19,"tag":379,"props":5323,"children":5324},{},[5325],{"type":24,"value":5326},"Pattern Matching",{"type":19,"tag":379,"props":5328,"children":5329},{},[5330],{"type":24,"value":5331},"Computation Expressions",{"type":19,"tag":379,"props":5333,"children":5334},{},[5335],{"type":24,"value":5336},"Type Providers",{"type":19,"tag":379,"props":5338,"children":5339},{},[5340],{"type":24,"value":5341},"Real nested functions",{"type":19,"tag":379,"props":5343,"children":5344},{},[5345],{"type":24,"value":5346},"Proper record types",{"type":19,"tag":379,"props":5348,"children":5349},{},[5350],{"type":24,"value":5351},"Non-nullable reference types",{"type":19,"tag":379,"props":5353,"children":5354},{},[5355],{"type":24,"value":5356},"Value based semantics",{"type":19,"tag":379,"props":5358,"children":5359},{},[5360],{"type":24,"value":5361},"Hindley–Milner type inference",{"type":19,"tag":379,"props":5363,"children":5364},{},[5365],{"type":24,"value":5366},"Curried functions and partial function application",{"type":19,"tag":379,"props":5368,"children":5369},{},[5370],{"type":24,"value":5371},"Function in-lining",{"type":19,"tag":379,"props":5373,"children":5374},{},[5375],{"type":24,"value":5376},"Succinct tuple syntax and manipulation",{"type":19,"tag":379,"props":5378,"children":5379},{},[5380],{"type":24,"value":5381},"Object Expressions (create interface implementations on-the-fly without a concrete class implementation)",{"type":19,"tag":379,"props":5383,"children":5384},{},[5385],{"type":24,"value":5386},"Elimination of uninitialized variables",{"type":19,"tag":379,"props":5388,"children":5389},{},[5390],{"type":24,"value":5391},"Statically resolved type parameters (aka type-safe static duck typing)",{"type":19,"tag":379,"props":5393,"children":5394},{},[5395],{"type":24,"value":5396},"Type synonyms/aliases",{"type":19,"tag":379,"props":5398,"children":5399},{},[5400],{"type":24,"value":5401},"Type-safe string formatting",{"type":19,"tag":20,"props":5403,"children":5404},{},[5405],{"type":24,"value":5406},"The above features are what you need in a true 21st century programming language, and are unlikely to be incorporated into C# any time soon.",{"title":9,"searchDepth":143,"depth":143,"links":5408},[],"content:comments:probable-c-6-0-features-illustrated:74156.md","comments/probable-c-6-0-features-illustrated/74156.md","comments/probable-c-6-0-features-illustrated/74156",{"_path":5413,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":5414,"description":5415,"id":5416,"name":5417,"email":5418,"avatar":5419,"url":5420,"date":5421,"body":5422,"_type":2301,"_id":5430,"_source":2303,"_file":5431,"_stem":5432,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/74080","74080","Given the massive attack vector it opens I'm okay with that.",74080,"Damien Guard","damien@envytech.co.uk","https://www.gravatar.com/avatar/dc72963e7279d34c85ed4c0b731ce5a9?r=pg&d=retro","https://damieng.com/","2013-12-12T13:03:53",{"type":16,"children":5423,"toc":5428},[5424],{"type":19,"tag":20,"props":5425,"children":5426},{},[5427],{"type":24,"value":5415},{"title":9,"searchDepth":143,"depth":143,"links":5429},[],"content:comments:probable-c-6-0-features-illustrated:74080.md","comments/probable-c-6-0-features-illustrated/74080.md","comments/probable-c-6-0-features-illustrated/74080",{"_path":5434,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":5435,"description":5436,"id":5437,"name":5438,"email":5439,"avatar":5440,"date":5441,"body":5442,"_type":2301,"_id":5450,"_source":2303,"_file":5451,"_stem":5452,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/74078","74078","{Turns on the news} \"The human race has come together and we've landed on Mars & C# still doesn't have string interpolation\"",74078,"Eric Williams","ericwilliams76@gmail.com","https://www.gravatar.com/avatar/7706810925693a2ed7f83993aa4b8c21?r=pg&d=retro","2013-12-12T12:40:09",{"type":16,"children":5443,"toc":5448},[5444],{"type":19,"tag":20,"props":5445,"children":5446},{},[5447],{"type":24,"value":5436},{"title":9,"searchDepth":143,"depth":143,"links":5449},[],"content:comments:probable-c-6-0-features-illustrated:74078.md","comments/probable-c-6-0-features-illustrated/74078.md","comments/probable-c-6-0-features-illustrated/74078",{"_path":5454,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":5455,"description":5456,"id":5457,"name":5458,"email":5459,"avatar":5460,"date":5461,"body":5462,"_type":2301,"_id":5574,"_source":2303,"_file":5575,"_stem":5576,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/74059","74059","My idea, a FormatStringAttribute to mark methods that take format strings and then to automate variable interpolation using names instead of positions.",74059,"Tom R","tom.rathbone@gmail.com","https://www.gravatar.com/avatar/433ce421a358d55b9f2982008f645336?r=pg&d=retro","2013-12-12T08:15:07",{"type":16,"children":5463,"toc":5572},[5464,5468,5519,5524,5563,5568],{"type":19,"tag":20,"props":5465,"children":5466},{},[5467],{"type":24,"value":5456},{"type":19,"tag":101,"props":5469,"children":5471},{"className":103,"code":5470,"language":105,"meta":9,"style":9},"Console.WriteLine(\"A = {0} B = {1} C = {2}\", variableA, b.Property, _fieldC);\n",[5472],{"type":19,"tag":108,"props":5473,"children":5474},{"__ignoreMap":9},[5475],{"type":19,"tag":112,"props":5476,"children":5477},{"class":114,"line":115},[5478,5483,5488,5492,5496,5501,5505,5510,5514],{"type":19,"tag":112,"props":5479,"children":5480},{"style":137},[5481],{"type":24,"value":5482},"Console.",{"type":19,"tag":112,"props":5484,"children":5485},{"style":182},[5486],{"type":24,"value":5487},"WriteLine",{"type":19,"tag":112,"props":5489,"children":5490},{"style":137},[5491],{"type":24,"value":189},{"type":19,"tag":112,"props":5493,"children":5494},{"style":1704},[5495],{"type":24,"value":1707},{"type":19,"tag":112,"props":5497,"children":5498},{"style":1710},[5499],{"type":24,"value":5500},"A = {0} B = {1} C = {2}",{"type":19,"tag":112,"props":5502,"children":5503},{"style":1704},[5504],{"type":24,"value":1707},{"type":19,"tag":112,"props":5506,"children":5507},{"style":137},[5508],{"type":24,"value":5509},", variableA, b.",{"type":19,"tag":112,"props":5511,"children":5512},{"style":1489},[5513],{"type":24,"value":4802},{"type":19,"tag":112,"props":5515,"children":5516},{"style":137},[5517],{"type":24,"value":5518},", _fieldC);\n",{"type":19,"tag":20,"props":5520,"children":5521},{},[5522],{"type":24,"value":5523},"Could become..",{"type":19,"tag":101,"props":5525,"children":5527},{"className":103,"code":5526,"language":105,"meta":9,"style":9},"Console.WriteLine(\"A = {variableA} B = {b.Property} C = {_fieldC}\");\n",[5528],{"type":19,"tag":108,"props":5529,"children":5530},{"__ignoreMap":9},[5531],{"type":19,"tag":112,"props":5532,"children":5533},{"class":114,"line":115},[5534,5538,5542,5546,5550,5555,5559],{"type":19,"tag":112,"props":5535,"children":5536},{"style":137},[5537],{"type":24,"value":5482},{"type":19,"tag":112,"props":5539,"children":5540},{"style":182},[5541],{"type":24,"value":5487},{"type":19,"tag":112,"props":5543,"children":5544},{"style":137},[5545],{"type":24,"value":189},{"type":19,"tag":112,"props":5547,"children":5548},{"style":1704},[5549],{"type":24,"value":1707},{"type":19,"tag":112,"props":5551,"children":5552},{"style":1710},[5553],{"type":24,"value":5554},"A = {variableA} B = {b.Property} C = {_fieldC}",{"type":19,"tag":112,"props":5556,"children":5557},{"style":1704},[5558],{"type":24,"value":1707},{"type":19,"tag":112,"props":5560,"children":5561},{"style":137},[5562],{"type":24,"value":1721},{"type":19,"tag":20,"props":5564,"children":5565},{},[5566],{"type":24,"value":5567},"No more having to keep position and argument order in line.",{"type":19,"tag":2248,"props":5569,"children":5570},{},[5571],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":5573},[],"content:comments:probable-c-6-0-features-illustrated:74059.md","comments/probable-c-6-0-features-illustrated/74059.md","comments/probable-c-6-0-features-illustrated/74059",{"_path":5578,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":5579,"description":5580,"id":5581,"name":5582,"email":5583,"avatar":5584,"url":5585,"date":5586,"body":5587,"_type":2301,"_id":5672,"_source":2303,"_file":5673,"_stem":5674,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/74003","74003","I would love to see more focus on performance issues.\nMost of these things are frankly useless typically.",74003,"Andrew","zezba9000@gmail.com","https://www.gravatar.com/avatar/0d16695f1ae43f915bd413d1024018c8?r=pg&d=retro","https://www.reign-studios.net/","2013-12-11T19:24:12",{"type":16,"children":5588,"toc":5670},[5589,5593,5598,5622,5627,5660,5665],{"type":19,"tag":20,"props":5590,"children":5591},{},[5592],{"type":24,"value":5580},{"type":19,"tag":20,"props":5594,"children":5595},{},[5596],{"type":24,"value":5597},"The only relevant things to me are:",{"type":19,"tag":5599,"props":5600,"children":5601},"ol",{},[5602,5607,5612,5617],{"type":19,"tag":379,"props":5603,"children":5604},{},[5605],{"type":24,"value":5606},"Better property backing syntax",{"type":19,"tag":379,"props":5608,"children":5609},{},[5610],{"type":24,"value":5611},"\"Inline declarations for out params\"",{"type":19,"tag":379,"props":5613,"children":5614},{},[5615],{"type":24,"value":5616},"\"Params for enumerables\"",{"type":19,"tag":379,"props":5618,"children":5619},{},[5620],{"type":24,"value":5621},"\"Static type using statements;\"",{"type":19,"tag":20,"props":5623,"children":5624},{},[5625],{"type":24,"value":5626},"I want to see:",{"type":19,"tag":375,"props":5628,"children":5629},{},[5630,5635,5640,5645,5650,5655],{"type":19,"tag":379,"props":5631,"children":5632},{},[5633],{"type":24,"value":5634},"SIMD support for x86_64 and NEON",{"type":19,"tag":379,"props":5636,"children":5637},{},[5638],{"type":24,"value":5639},"Auto vectorization to get closer speeds to that of C++",{"type":19,"tag":379,"props":5641,"children":5642},{},[5643],{"type":24,"value":5644},"Allow pointer types without the need for an unsafe block(as a project setting)(Or add a compiler attribute that fixes structs in memory)",{"type":19,"tag":379,"props":5646,"children":5647},{},[5648],{"type":24,"value":5649},"Make the base runtime OPEN SOURCE for crying out loud(like .NET Micro).  This doesn't mean your frameworks need to be Open",{"type":19,"tag":379,"props":5651,"children":5652},{},[5653],{"type":24,"value":5654},"More focus on RUNTIME performance, not just cold boot.  Cold boot is irreverent to games, runtime performance if far more important",{"type":19,"tag":379,"props":5656,"children":5657},{},[5658],{"type":24,"value":5659},"More focus on performance in the JIT period.  As C# is far more productive then C++ for rapid game dev",{"type":19,"tag":20,"props":5661,"children":5662},{},[5663],{"type":24,"value":5664},"I would also like to see the template support.\nUseful for Vectors that need to be either float based or doubled based.",{"type":19,"tag":20,"props":5666,"children":5667},{},[5668],{"type":24,"value":5669},"Also things like CPU determined types like IntPtr but for ints and floats.\nfloatx = \"float on ARM32 or double on x86_64\" etc...\nintx = \"int on ARM32 or int64 on x86_64\" etc...",{"title":9,"searchDepth":143,"depth":143,"links":5671},[],"content:comments:probable-c-6-0-features-illustrated:74003.md","comments/probable-c-6-0-features-illustrated/74003.md","comments/probable-c-6-0-features-illustrated/74003",{"_path":5676,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":5677,"description":5678,"id":5679,"name":5680,"email":5681,"avatar":5682,"date":5683,"body":5684,"_type":2301,"_id":5873,"_source":2303,"_file":5874,"_stem":5875,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73993","73993","Love the list. Will be pondering on this for some time. What about…",73993,"Rick","rick.spencer@improvingenterprises.com","https://www.gravatar.com/avatar/e6b50875e4c561ee029da0949e966d1a?r=pg&d=retro","2013-12-11T16:47:35",{"type":16,"children":5685,"toc":5871},[5686,5690,5695,5714,5719,5793,5797,5867],{"type":19,"tag":20,"props":5687,"children":5688},{},[5689],{"type":24,"value":5678},{"type":19,"tag":20,"props":5691,"children":5692},{},[5693],{"type":24,"value":5694},"Given:",{"type":19,"tag":101,"props":5696,"children":5698},{"className":103,"code":5697,"language":105,"meta":9,"style":9},"List myList;\n",[5699],{"type":19,"tag":108,"props":5700,"children":5701},{"__ignoreMap":9},[5702],{"type":19,"tag":112,"props":5703,"children":5704},{"class":114,"line":115},[5705,5710],{"type":19,"tag":112,"props":5706,"children":5707},{"style":977},[5708],{"type":24,"value":5709},"List",{"type":19,"tag":112,"props":5711,"children":5712},{"style":137},[5713],{"type":24,"value":2159},{"type":19,"tag":20,"props":5715,"children":5716},{},[5717],{"type":24,"value":5718},"Perhaps:",{"type":19,"tag":101,"props":5720,"children":5722},{"className":103,"code":5721,"language":105,"meta":9,"style":9},"myList? new List {\"value\"};\nmyList? throw new MyListNullException();\n",[5723],{"type":19,"tag":108,"props":5724,"children":5725},{"__ignoreMap":9},[5726,5764],{"type":19,"tag":112,"props":5727,"children":5728},{"class":114,"line":115},[5729,5734,5738,5742,5747,5751,5755,5759],{"type":19,"tag":112,"props":5730,"children":5731},{"style":137},[5732],{"type":24,"value":5733},"myList",{"type":19,"tag":112,"props":5735,"children":5736},{"style":119},[5737],{"type":24,"value":1588},{"type":19,"tag":112,"props":5739,"children":5740},{"style":119},[5741],{"type":24,"value":1027},{"type":19,"tag":112,"props":5743,"children":5744},{"style":137},[5745],{"type":24,"value":5746}," List {",{"type":19,"tag":112,"props":5748,"children":5749},{"style":1704},[5750],{"type":24,"value":1707},{"type":19,"tag":112,"props":5752,"children":5753},{"style":1710},[5754],{"type":24,"value":4388},{"type":19,"tag":112,"props":5756,"children":5757},{"style":1704},[5758],{"type":24,"value":1707},{"type":19,"tag":112,"props":5760,"children":5761},{"style":137},[5762],{"type":24,"value":5763},"};\n",{"type":19,"tag":112,"props":5765,"children":5766},{"class":114,"line":143},[5767,5771,5775,5780,5784,5789],{"type":19,"tag":112,"props":5768,"children":5769},{"style":137},[5770],{"type":24,"value":5733},{"type":19,"tag":112,"props":5772,"children":5773},{"style":119},[5774],{"type":24,"value":1588},{"type":19,"tag":112,"props":5776,"children":5777},{"style":125},[5778],{"type":24,"value":5779}," throw",{"type":19,"tag":112,"props":5781,"children":5782},{"style":125},[5783],{"type":24,"value":1027},{"type":19,"tag":112,"props":5785,"children":5786},{"style":977},[5787],{"type":24,"value":5788}," MyListNullException",{"type":19,"tag":112,"props":5790,"children":5791},{"style":137},[5792],{"type":24,"value":1455},{"type":19,"tag":20,"props":5794,"children":5795},{},[5796],{"type":24,"value":4115},{"type":19,"tag":101,"props":5798,"children":5800},{"className":103,"code":5799,"language":105,"meta":9,"style":9},"myList?? new List {\"value\"};\nmyList?? throw new MyListNullException();\n",[5801],{"type":19,"tag":108,"props":5802,"children":5803},{"__ignoreMap":9},[5804,5840],{"type":19,"tag":112,"props":5805,"children":5806},{"class":114,"line":115},[5807,5811,5816,5820,5824,5828,5832,5836],{"type":19,"tag":112,"props":5808,"children":5809},{"style":137},[5810],{"type":24,"value":5733},{"type":19,"tag":112,"props":5812,"children":5813},{"style":119},[5814],{"type":24,"value":5815},"??",{"type":19,"tag":112,"props":5817,"children":5818},{"style":119},[5819],{"type":24,"value":1027},{"type":19,"tag":112,"props":5821,"children":5822},{"style":137},[5823],{"type":24,"value":5746},{"type":19,"tag":112,"props":5825,"children":5826},{"style":1704},[5827],{"type":24,"value":1707},{"type":19,"tag":112,"props":5829,"children":5830},{"style":1710},[5831],{"type":24,"value":4388},{"type":19,"tag":112,"props":5833,"children":5834},{"style":1704},[5835],{"type":24,"value":1707},{"type":19,"tag":112,"props":5837,"children":5838},{"style":137},[5839],{"type":24,"value":5763},{"type":19,"tag":112,"props":5841,"children":5842},{"class":114,"line":143},[5843,5847,5851,5855,5859,5863],{"type":19,"tag":112,"props":5844,"children":5845},{"style":137},[5846],{"type":24,"value":5733},{"type":19,"tag":112,"props":5848,"children":5849},{"style":119},[5850],{"type":24,"value":5815},{"type":19,"tag":112,"props":5852,"children":5853},{"style":125},[5854],{"type":24,"value":5779},{"type":19,"tag":112,"props":5856,"children":5857},{"style":125},[5858],{"type":24,"value":1027},{"type":19,"tag":112,"props":5860,"children":5861},{"style":977},[5862],{"type":24,"value":5788},{"type":19,"tag":112,"props":5864,"children":5865},{"style":137},[5866],{"type":24,"value":1455},{"type":19,"tag":2248,"props":5868,"children":5869},{},[5870],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":5872},[],"content:comments:probable-c-6-0-features-illustrated:73993.md","comments/probable-c-6-0-features-illustrated/73993.md","comments/probable-c-6-0-features-illustrated/73993",{"_path":5877,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":5878,"description":5879,"id":5880,"name":5881,"email":5882,"avatar":5883,"date":5884,"body":5885,"_type":2301,"_id":5941,"_source":2303,"_file":5942,"_stem":5943,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73974","73974","I like #7 most of all.",73974,"Corrie","corrie.engelbrecht@gmail.com","https://www.gravatar.com/avatar/10a9e14b404385ea17d66194064b2911?r=pg&d=retro","2013-12-11T13:56:12",{"type":16,"children":5886,"toc":5939},[5887,5891,5896,5901,5930,5935],{"type":19,"tag":20,"props":5888,"children":5889},{},[5890],{"type":24,"value":5879},{"type":19,"tag":20,"props":5892,"children":5893},{},[5894],{"type":24,"value":5895},"But #1 and #9 seems like it'll just cause maintainability issues.",{"type":19,"tag":20,"props":5897,"children":5898},{},[5899],{"type":24,"value":5900},"At first I saw no point in this syntax:",{"type":19,"tag":101,"props":5902,"children":5903},{"className":103,"code":523,"language":105,"meta":9,"style":9},[5904],{"type":19,"tag":108,"props":5905,"children":5906},{"__ignoreMap":9},[5907],{"type":19,"tag":112,"props":5908,"children":5909},{"class":114,"line":115},[5910,5914,5918,5922,5926],{"type":19,"tag":112,"props":5911,"children":5912},{"style":119},[5913],{"type":24,"value":122},{"type":19,"tag":112,"props":5915,"children":5916},{"style":152},[5917],{"type":24,"value":155},{"type":19,"tag":112,"props":5919,"children":5920},{"style":137},[5921],{"type":24,"value":543},{"type":19,"tag":112,"props":5923,"children":5924},{"style":119},[5925],{"type":24,"value":265},{"type":19,"tag":112,"props":5927,"children":5928},{"style":137},[5929],{"type":24,"value":489},{"type":19,"tag":20,"props":5931,"children":5932},{},[5933],{"type":24,"value":5934},"However, you need the x to exist so you can pass the property as an out or ref parameter, if that is the way you need to set it in the constructor, so I think it's great.",{"type":19,"tag":2248,"props":5936,"children":5937},{},[5938],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":5940},[],"content:comments:probable-c-6-0-features-illustrated:73974.md","comments/probable-c-6-0-features-illustrated/73974.md","comments/probable-c-6-0-features-illustrated/73974",{"_path":5945,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":5946,"description":5947,"id":5948,"name":5949,"email":5950,"avatar":5951,"date":5952,"body":5953,"_type":2301,"_id":6124,"_source":2303,"_file":6125,"_stem":6126,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73969","73969","@Keith Hill - It's \"kind of like\" but it isn't, so I don't think you can use unchecked here. You could use a new keyword, but new syntax might be better.",73969,"wekempf","wekempf@outlook.com","https://www.gravatar.com/avatar/987dd25510478f005bcdc29c1de66b3c?r=pg&d=retro","2013-12-11T13:12:34",{"type":16,"children":5954,"toc":6122},[5955,5959,6023,6028,6090,6118],{"type":19,"tag":20,"props":5956,"children":5957},{},[5958],{"type":24,"value":5947},{"type":19,"tag":101,"props":5960,"children":5962},{"className":103,"code":5961,"language":105,"meta":9,"style":9},"var bestValue = ?(points.FirstOrDefault().X) ?? -1;\n",[5963],{"type":19,"tag":108,"props":5964,"children":5965},{"__ignoreMap":9},[5966],{"type":19,"tag":112,"props":5967,"children":5968},{"class":114,"line":115},[5969,5973,5977,5981,5985,5990,5994,5999,6003,6007,6011,6015,6019],{"type":19,"tag":112,"props":5970,"children":5971},{"style":152},[5972],{"type":24,"value":1569},{"type":19,"tag":112,"props":5974,"children":5975},{"style":137},[5976],{"type":24,"value":1574},{"type":19,"tag":112,"props":5978,"children":5979},{"style":119},[5980],{"type":24,"value":265},{"type":19,"tag":112,"props":5982,"children":5983},{"style":119},[5984],{"type":24,"value":5187},{"type":19,"tag":112,"props":5986,"children":5987},{"style":137},[5988],{"type":24,"value":5989},"(points.",{"type":19,"tag":112,"props":5991,"children":5992},{"style":182},[5993],{"type":24,"value":1450},{"type":19,"tag":112,"props":5995,"children":5996},{"style":137},[5997],{"type":24,"value":5998},"().",{"type":19,"tag":112,"props":6000,"children":6001},{"style":1489},[6002],{"type":24,"value":1492},{"type":19,"tag":112,"props":6004,"children":6005},{"style":137},[6006],{"type":24,"value":1117},{"type":19,"tag":112,"props":6008,"children":6009},{"style":119},[6010],{"type":24,"value":5815},{"type":19,"tag":112,"props":6012,"children":6013},{"style":119},[6014],{"type":24,"value":1540},{"type":19,"tag":112,"props":6016,"children":6017},{"style":640},[6018],{"type":24,"value":1545},{"type":19,"tag":112,"props":6020,"children":6021},{"style":137},[6022],{"type":24,"value":251},{"type":19,"tag":20,"props":6024,"children":6025},{},[6026],{"type":24,"value":6027},"I think I prefer this over ?., because I think it would be wrong to have code like this:",{"type":19,"tag":101,"props":6029,"children":6031},{"className":103,"code":6030,"language":105,"meta":9,"style":9},"var bestValue = points?.FirstOrDefault().X ?? -1;\n",[6032],{"type":19,"tag":108,"props":6033,"children":6034},{"__ignoreMap":9},[6035],{"type":19,"tag":112,"props":6036,"children":6037},{"class":114,"line":115},[6038,6042,6046,6050,6054,6058,6062,6066,6070,6074,6078,6082,6086],{"type":19,"tag":112,"props":6039,"children":6040},{"style":152},[6041],{"type":24,"value":1569},{"type":19,"tag":112,"props":6043,"children":6044},{"style":137},[6045],{"type":24,"value":1574},{"type":19,"tag":112,"props":6047,"children":6048},{"style":119},[6049],{"type":24,"value":265},{"type":19,"tag":112,"props":6051,"children":6052},{"style":137},[6053],{"type":24,"value":1583},{"type":19,"tag":112,"props":6055,"children":6056},{"style":119},[6057],{"type":24,"value":1588},{"type":19,"tag":112,"props":6059,"children":6060},{"style":137},[6061],{"type":24,"value":40},{"type":19,"tag":112,"props":6063,"children":6064},{"style":182},[6065],{"type":24,"value":1450},{"type":19,"tag":112,"props":6067,"children":6068},{"style":137},[6069],{"type":24,"value":5998},{"type":19,"tag":112,"props":6071,"children":6072},{"style":1489},[6073],{"type":24,"value":1492},{"type":19,"tag":112,"props":6075,"children":6076},{"style":119},[6077],{"type":24,"value":1618},{"type":19,"tag":112,"props":6079,"children":6080},{"style":119},[6081],{"type":24,"value":1540},{"type":19,"tag":112,"props":6083,"children":6084},{"style":640},[6085],{"type":24,"value":1545},{"type":19,"tag":112,"props":6087,"children":6088},{"style":137},[6089],{"type":24,"value":251},{"type":19,"tag":20,"props":6091,"children":6092},{},[6093,6095,6101,6103,6108,6110,6116],{"type":24,"value":6094},"Note I started out using ",{"type":19,"tag":108,"props":6096,"children":6098},{"className":6097},[],[6099],{"type":24,"value":6100},"?.",{"type":24,"value":6102}," and switched to just ",{"type":19,"tag":108,"props":6104,"children":6106},{"className":6105},[],[6107],{"type":24,"value":40},{"type":24,"value":6109}," in that expression. I can think of no valid reason to ever do that, but it seems like an easy thing to do by mistake. The ",{"type":19,"tag":108,"props":6111,"children":6113},{"className":6112},[],[6114],{"type":24,"value":6115},"?()",{"type":24,"value":6117}," syntax resolves that issue.",{"type":19,"tag":2248,"props":6119,"children":6120},{},[6121],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":6123},[],"content:comments:probable-c-6-0-features-illustrated:73969.md","comments/probable-c-6-0-features-illustrated/73969.md","comments/probable-c-6-0-features-illustrated/73969",{"_path":6128,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6129,"description":6130,"id":6131,"name":6132,"email":6133,"avatar":6134,"url":6135,"date":6136,"body":6137,"_type":2301,"_id":6145,"_source":2303,"_file":6146,"_stem":6147,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73968","73968","My favourites are 4, 5 and 9. I'm wondering if they're gonna change the proposed syntax strongly... I really like this lambda style.",73968,"domin8k","dk@domin8k.com","https://www.gravatar.com/avatar/894730092418b04d63ab6abb9f4ced53?r=pg&d=retro","https://domin8k.com","2013-12-11T12:50:17",{"type":16,"children":6138,"toc":6143},[6139],{"type":19,"tag":20,"props":6140,"children":6141},{},[6142],{"type":24,"value":6130},{"title":9,"searchDepth":143,"depth":143,"links":6144},[],"content:comments:probable-c-6-0-features-illustrated:73968.md","comments/probable-c-6-0-features-illustrated/73968.md","comments/probable-c-6-0-features-illustrated/73968",{"_path":6149,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6150,"description":6151,"id":6152,"name":6153,"email":6154,"avatar":6155,"url":6156,"date":6157,"body":6158,"_type":2301,"_id":6238,"_source":2303,"_file":6239,"_stem":6240,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73962","73962","@Laksh - I live the idea of monadic null checking but I don't like the syntax. I wish we could do something like this:",73962,"Keith Hill","r_keith_hill@hotmail.com","https://www.gravatar.com/avatar/bcc517cd604f90500c5dcef5a6ed7f81?r=pg&d=retro","https://rkeithhill.wordpress.com","2013-12-11T11:25:40",{"type":16,"children":6159,"toc":6236},[6160,6164,6227,6232],{"type":19,"tag":20,"props":6161,"children":6162},{},[6163],{"type":24,"value":6151},{"type":19,"tag":101,"props":6165,"children":6167},{"className":103,"code":6166,"language":105,"meta":9,"style":9},"var bestValue = unchecked(points.FirstOrDefault().X) ?? -1;\n",[6168],{"type":19,"tag":108,"props":6169,"children":6170},{"__ignoreMap":9},[6171],{"type":19,"tag":112,"props":6172,"children":6173},{"class":114,"line":115},[6174,6178,6182,6186,6191,6195,6199,6203,6207,6211,6215,6219,6223],{"type":19,"tag":112,"props":6175,"children":6176},{"style":152},[6177],{"type":24,"value":1569},{"type":19,"tag":112,"props":6179,"children":6180},{"style":137},[6181],{"type":24,"value":1574},{"type":19,"tag":112,"props":6183,"children":6184},{"style":119},[6185],{"type":24,"value":265},{"type":19,"tag":112,"props":6187,"children":6188},{"style":125},[6189],{"type":24,"value":6190}," unchecked",{"type":19,"tag":112,"props":6192,"children":6193},{"style":137},[6194],{"type":24,"value":5989},{"type":19,"tag":112,"props":6196,"children":6197},{"style":182},[6198],{"type":24,"value":1450},{"type":19,"tag":112,"props":6200,"children":6201},{"style":137},[6202],{"type":24,"value":5998},{"type":19,"tag":112,"props":6204,"children":6205},{"style":1489},[6206],{"type":24,"value":1492},{"type":19,"tag":112,"props":6208,"children":6209},{"style":137},[6210],{"type":24,"value":1117},{"type":19,"tag":112,"props":6212,"children":6213},{"style":119},[6214],{"type":24,"value":5815},{"type":19,"tag":112,"props":6216,"children":6217},{"style":119},[6218],{"type":24,"value":1540},{"type":19,"tag":112,"props":6220,"children":6221},{"style":640},[6222],{"type":24,"value":1545},{"type":19,"tag":112,"props":6224,"children":6225},{"style":137},[6226],{"type":24,"value":251},{"type":19,"tag":20,"props":6228,"children":6229},{},[6230],{"type":24,"value":6231},"This is kind of like the suppression of integer overflow checking.",{"type":19,"tag":2248,"props":6233,"children":6234},{},[6235],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":6237},[],"content:comments:probable-c-6-0-features-illustrated:73962.md","comments/probable-c-6-0-features-illustrated/73962.md","comments/probable-c-6-0-features-illustrated/73962",{"_path":6242,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6243,"description":6244,"id":6245,"name":6246,"email":6247,"avatar":6248,"date":6249,"body":6250,"_type":2301,"_id":6263,"_source":2303,"_file":6264,"_stem":6265,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73959","73959","I love 7, and actually, it's the only I'd like to see out of the list, no offence intended.",73959,"HB","neverbirth@gmail.com","https://www.gravatar.com/avatar/94ed5d5e57b647fd12047a0d8c784d54?r=pg&d=retro","2013-12-11T10:36:18",{"type":16,"children":6251,"toc":6261},[6252,6256],{"type":19,"tag":20,"props":6253,"children":6254},{},[6255],{"type":24,"value":6244},{"type":19,"tag":20,"props":6257,"children":6258},{},[6259],{"type":24,"value":6260},"3 has been supported by VB.NET forever if I'm not wrong.",{"title":9,"searchDepth":143,"depth":143,"links":6262},[],"content:comments:probable-c-6-0-features-illustrated:73959.md","comments/probable-c-6-0-features-illustrated/73959.md","comments/probable-c-6-0-features-illustrated/73959",{"_path":6267,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6268,"description":6269,"id":6270,"name":6271,"email":6272,"avatar":6273,"url":6274,"date":6275,"body":6276,"_type":2301,"_id":6284,"_source":2303,"_file":6285,"_stem":6286,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73958","73958","Would love to see extension properties, enum constraints for generics and a specification of the value type class for numbers, say, NumericValueType. Not to mention, SIMD.",73958,"Pete","ultrahead@msn.com","https://www.gravatar.com/avatar/7d886ababc721363b1083bcae9a37323?r=pg&d=retro","https://twitter.com/Yoruguaman/status/410451972848754689","2013-12-11T10:23:42",{"type":16,"children":6277,"toc":6282},[6278],{"type":19,"tag":20,"props":6279,"children":6280},{},[6281],{"type":24,"value":6269},{"title":9,"searchDepth":143,"depth":143,"links":6283},[],"content:comments:probable-c-6-0-features-illustrated:73958.md","comments/probable-c-6-0-features-illustrated/73958.md","comments/probable-c-6-0-features-illustrated/73958",{"_path":6288,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6289,"description":6290,"id":6291,"name":6292,"email":6293,"avatar":6294,"date":6295,"body":6296,"_type":2301,"_id":6304,"_source":2303,"_file":6305,"_stem":6306,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73956","73956","Some of the changes are good. However i think these changes will make the code less human readable. We are not writing code just for computer to understand but it should also readable by other humans. Especially 7. Monadic null checking",73956,"Laksh","laxmikantp@hotmail.com","https://www.gravatar.com/avatar/70239a49a0f2132f80c4b4d6782c0939?r=pg&d=retro","2013-12-11T10:03:08",{"type":16,"children":6297,"toc":6302},[6298],{"type":19,"tag":20,"props":6299,"children":6300},{},[6301],{"type":24,"value":6290},{"title":9,"searchDepth":143,"depth":143,"links":6303},[],"content:comments:probable-c-6-0-features-illustrated:73956.md","comments/probable-c-6-0-features-illustrated/73956.md","comments/probable-c-6-0-features-illustrated/73956",{"_path":6308,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6309,"description":6310,"id":6311,"name":5417,"email":5418,"avatar":5419,"url":5420,"date":6312,"body":6313,"_type":2301,"_id":6364,"_source":2303,"_file":6365,"_stem":6366,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73955","73955","I'm surprised at the number of people who think the syntax makes things harder to read or parse. Sure they look a little odd now but seeing a single line like:",73955,"2013-12-11T09:59:02",{"type":16,"children":6314,"toc":6362},[6315,6319,6348,6353,6358],{"type":19,"tag":20,"props":6316,"children":6317},{},[6318],{"type":24,"value":6310},{"type":19,"tag":101,"props":6320,"children":6321},{"className":103,"code":523,"language":105,"meta":9,"style":9},[6322],{"type":19,"tag":108,"props":6323,"children":6324},{"__ignoreMap":9},[6325],{"type":19,"tag":112,"props":6326,"children":6327},{"class":114,"line":115},[6328,6332,6336,6340,6344],{"type":19,"tag":112,"props":6329,"children":6330},{"style":119},[6331],{"type":24,"value":122},{"type":19,"tag":112,"props":6333,"children":6334},{"style":152},[6335],{"type":24,"value":155},{"type":19,"tag":112,"props":6337,"children":6338},{"style":137},[6339],{"type":24,"value":543},{"type":19,"tag":112,"props":6341,"children":6342},{"style":119},[6343],{"type":24,"value":265},{"type":19,"tag":112,"props":6345,"children":6346},{"style":137},[6347],{"type":24,"value":489},{"type":19,"tag":20,"props":6349,"children":6350},{},[6351],{"type":24,"value":6352},"Will mean you immediately identify this is a readonly property in the future. Right now, you have to go to definition to go see what x is defined as and if it has a readonly property.",{"type":19,"tag":20,"props":6354,"children":6355},{},[6356],{"type":24,"value":6357},"The same is true of the safe null operator - you won't have to mentally parse several \"if null\" checks just to understand it wants a property via some optional objects.",{"type":19,"tag":2248,"props":6359,"children":6360},{},[6361],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":6363},[],"content:comments:probable-c-6-0-features-illustrated:73955.md","comments/probable-c-6-0-features-illustrated/73955.md","comments/probable-c-6-0-features-illustrated/73955",{"_path":6368,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6369,"description":6370,"id":6371,"name":6153,"email":6154,"avatar":6155,"url":6156,"date":6372,"body":6373,"_type":2301,"_id":6381,"_source":2303,"_file":6382,"_stem":6383,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73954","73954","I agree with you on primary constructors.  They seem oddly limited whereas something like what you propose - public Point(set int x, set int y) could be used on any constructor.",73954,"2013-12-11T09:51:02",{"type":16,"children":6374,"toc":6379},[6375],{"type":19,"tag":20,"props":6376,"children":6377},{},[6378],{"type":24,"value":6370},{"title":9,"searchDepth":143,"depth":143,"links":6380},[],"content:comments:probable-c-6-0-features-illustrated:73954.md","comments/probable-c-6-0-features-illustrated/73954.md","comments/probable-c-6-0-features-illustrated/73954",{"_path":6385,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6386,"description":6387,"id":6388,"name":6389,"email":6390,"avatar":6391,"url":6392,"date":6393,"body":6394,"_type":2301,"_id":6402,"_source":2303,"_file":6403,"_stem":6404,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73951","73951","I think I like 3 onwards; 1 and 2 are... kind of weird: as though they do make sense, but don't fit within the psychology of C# in some way. I think 1 is actively horrible... I can see what they're doing, but it appears to me that it'll make the code very hard to parse: it might make sense to the compiler, but I don't think it'll make a hell of a lot of sense to the user. And if you can do that in a constructor, can you do it in a method? Logic says you should be able to. What about if you do it in a loop in the constructor...? It's a bit too ambiguous.",73951,"Dan Sutton","dan@opwernby.com","https://www.gravatar.com/avatar/f58a44742aa894baabc1cc592b404637?r=pg&d=retro","https://www.opwernby.com","2013-12-11T09:41:39",{"type":16,"children":6395,"toc":6400},[6396],{"type":19,"tag":20,"props":6397,"children":6398},{},[6399],{"type":24,"value":6387},{"title":9,"searchDepth":143,"depth":143,"links":6401},[],"content:comments:probable-c-6-0-features-illustrated:73951.md","comments/probable-c-6-0-features-illustrated/73951.md","comments/probable-c-6-0-features-illustrated/73951",{"_path":6406,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6407,"description":6408,"id":6409,"name":5417,"email":5418,"avatar":5419,"url":5420,"date":6410,"body":6411,"_type":2301,"_id":6419,"_source":2303,"_file":6420,"_stem":6421,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73948","73948","@mike: These came from somebody on the C# design team. They are not my suggestions.",73948,"2013-12-11T08:53:16",{"type":16,"children":6412,"toc":6417},[6413],{"type":19,"tag":20,"props":6414,"children":6415},{},[6416],{"type":24,"value":6408},{"title":9,"searchDepth":143,"depth":143,"links":6418},[],"content:comments:probable-c-6-0-features-illustrated:73948.md","comments/probable-c-6-0-features-illustrated/73948.md","comments/probable-c-6-0-features-illustrated/73948",{"_path":6423,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6424,"description":6425,"id":6426,"name":6427,"email":6428,"avatar":6429,"date":6430,"body":6431,"_type":2301,"_id":6439,"_source":2303,"_file":6440,"_stem":6441,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73946","73946","@Damien : you forgot to mention the 3rd option with params : you can totally ignore it and pass nothing at all.",73946,"XXXo","agnainx@msn.com","https://www.gravatar.com/avatar/7598128551b527ada2b8cb2ef656e8e5?r=pg&d=retro","2013-12-11T08:03:46",{"type":16,"children":6432,"toc":6437},[6433],{"type":19,"tag":20,"props":6434,"children":6435},{},[6436],{"type":24,"value":6425},{"title":9,"searchDepth":143,"depth":143,"links":6438},[],"content:comments:probable-c-6-0-features-illustrated:73946.md","comments/probable-c-6-0-features-illustrated/73946.md","comments/probable-c-6-0-features-illustrated/73946",{"_path":6443,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6444,"description":6445,"id":6446,"name":6447,"email":6448,"avatar":6449,"date":6450,"body":6451,"_type":2301,"_id":6459,"_source":2303,"_file":6460,"_stem":6461,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73945","73945","I like the the Before and After examples; they make the changes very clear.",73945,"Alan8","alankdkd@aol.com","https://www.gravatar.com/avatar/abd5895e9122d9bc68521787cdf3173e?r=pg&d=retro","2013-12-11T08:00:04",{"type":16,"children":6452,"toc":6457},[6453],{"type":19,"tag":20,"props":6454,"children":6455},{},[6456],{"type":24,"value":6445},{"title":9,"searchDepth":143,"depth":143,"links":6458},[],"content:comments:probable-c-6-0-features-illustrated:73945.md","comments/probable-c-6-0-features-illustrated/73945.md","comments/probable-c-6-0-features-illustrated/73945",{"_path":6463,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6464,"description":6465,"id":6466,"name":6467,"email":6468,"avatar":6469,"url":6470,"date":6471,"body":6472,"_type":2301,"_id":6488,"_source":2303,"_file":6489,"_stem":6490,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73944","73944","Talking about code noise reduction - I would like to see a simple 'is one of' operator for comparison - perhaps =[",73944,"Michael Blanchet","michael.blanchet@gmail.com","https://www.gravatar.com/avatar/f1267449864bea7b3a3d9723efa87e21?r=pg&d=retro","https://optiview.biz","2013-12-11T07:54:58",{"type":16,"children":6473,"toc":6486},[6474,6478],{"type":19,"tag":20,"props":6475,"children":6476},{},[6477],{"type":24,"value":6465},{"type":19,"tag":101,"props":6479,"children":6481},{"code":6480},"if ( x =[ 5,6,7 ) ...   or   if ( str =[ \"A\",\"B\",\"C\" ) ...\n",[6482],{"type":19,"tag":108,"props":6483,"children":6484},{"__ignoreMap":9},[6485],{"type":24,"value":6480},{"title":9,"searchDepth":143,"depth":143,"links":6487},[],"content:comments:probable-c-6-0-features-illustrated:73944.md","comments/probable-c-6-0-features-illustrated/73944.md","comments/probable-c-6-0-features-illustrated/73944",{"_path":6492,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6493,"description":6494,"id":6495,"name":6496,"email":6497,"avatar":6498,"date":6499,"body":6500,"_type":2301,"_id":6508,"_source":2303,"_file":6509,"_stem":6510,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73942","73942","Interesting, but I don't really see that much benefit to most of these.  I agree with Scott Holodak, my biggest concern about these types of \"enhancements\" is that they tend to obfuscate the code, and when you are dealing with enterprise applications and their maintenance by experts and novices, I view most of these as an impediment to the end goal;  I do, however like #3 and #6 and see some benefit to #7 providing the syntax could be made more readable for beginners.",73942,"John Bergman","john@siliconzone.com","https://www.gravatar.com/avatar/7f1075c388e339e8731630eec3b753fc?r=pg&d=retro","2013-12-11T07:37:11",{"type":16,"children":6501,"toc":6506},[6502],{"type":19,"tag":20,"props":6503,"children":6504},{},[6505],{"type":24,"value":6494},{"title":9,"searchDepth":143,"depth":143,"links":6507},[],"content:comments:probable-c-6-0-features-illustrated:73942.md","comments/probable-c-6-0-features-illustrated/73942.md","comments/probable-c-6-0-features-illustrated/73942",{"_path":6512,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6513,"description":6514,"id":6515,"name":6516,"email":6517,"avatar":6518,"url":6519,"date":6520,"body":6521,"_type":2301,"_id":6534,"_source":2303,"_file":6535,"_stem":6536,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73938","73938","What about having null checks built into ctors (mixed with auto private field creation) ?",73938,"Ricardo Rodrigues","ricmrodrigues@gmail.com","https://www.gravatar.com/avatar/225cd929ee6dc40092037af54fc4ce4a?r=pg&d=retro","https://sharpdevpt.blogspot.com","2013-12-11T07:06:52",{"type":16,"children":6522,"toc":6532},[6523,6527],{"type":19,"tag":20,"props":6524,"children":6525},{},[6526],{"type":24,"value":6514},{"type":19,"tag":20,"props":6528,"children":6529},{},[6530],{"type":24,"value":6531},"public class SomeClass(notnull set OtherClass instance) { }",{"title":9,"searchDepth":143,"depth":143,"links":6533},[],"content:comments:probable-c-6-0-features-illustrated:73938.md","comments/probable-c-6-0-features-illustrated/73938.md","comments/probable-c-6-0-features-illustrated/73938",{"_path":6538,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6539,"description":6540,"id":6541,"name":6542,"email":6543,"avatar":6544,"url":6545,"date":6546,"body":6547,"_type":2301,"_id":6637,"_source":2303,"_file":6638,"_stem":6639,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73937","73937","Wow #7 would be huge. I thought there wasn't much they could do with C# to entice me to feel like I needed to upgrade. This list makes me want C# 6 now.",73937,"Tom Tucker","tommy@tuckered.com","https://www.gravatar.com/avatar/19cd40e8a7aa980fea30d68285a45c30?r=pg&d=retro","https://www.tuckered.com","2013-12-11T07:01:05",{"type":16,"children":6548,"toc":6635},[6549,6553,6558,6631],{"type":19,"tag":20,"props":6550,"children":6551},{},[6552],{"type":24,"value":6540},{"type":19,"tag":20,"props":6554,"children":6555},{},[6556],{"type":24,"value":6557},"I also wish for property fields. Where the variable has class lifetime but can only be accessed inside the property",{"type":19,"tag":101,"props":6559,"children":6561},{"className":103,"code":6560,"language":105,"meta":9,"style":9},"public string MyProp {\n    string myprop;\n    get { return myprop; }\n    set { myprop = value; }\n}\n",[6562],{"type":19,"tag":108,"props":6563,"children":6564},{"__ignoreMap":9},[6565,6580,6592,6607,6624],{"type":19,"tag":112,"props":6566,"children":6567},{"class":114,"line":115},[6568,6572,6576],{"type":19,"tag":112,"props":6569,"children":6570},{"style":119},[6571],{"type":24,"value":122},{"type":19,"tag":112,"props":6573,"children":6574},{"style":152},[6575],{"type":24,"value":4263},{"type":19,"tag":112,"props":6577,"children":6578},{"style":137},[6579],{"type":24,"value":4268},{"type":19,"tag":112,"props":6581,"children":6582},{"class":114,"line":143},[6583,6587],{"type":19,"tag":112,"props":6584,"children":6585},{"style":152},[6586],{"type":24,"value":4276},{"type":19,"tag":112,"props":6588,"children":6589},{"style":137},[6590],{"type":24,"value":6591}," myprop;\n",{"type":19,"tag":112,"props":6593,"children":6594},{"class":114,"line":163},[6595,6599,6603],{"type":19,"tag":112,"props":6596,"children":6597},{"style":137},[6598],{"type":24,"value":4310},{"type":19,"tag":112,"props":6600,"children":6601},{"style":125},[6602],{"type":24,"value":510},{"type":19,"tag":112,"props":6604,"children":6605},{"style":137},[6606],{"type":24,"value":4319},{"type":19,"tag":112,"props":6608,"children":6609},{"class":114,"line":173},[6610,6615,6619],{"type":19,"tag":112,"props":6611,"children":6612},{"style":137},[6613],{"type":24,"value":6614},"    set { myprop ",{"type":19,"tag":112,"props":6616,"children":6617},{"style":119},[6618],{"type":24,"value":265},{"type":19,"tag":112,"props":6620,"children":6621},{"style":137},[6622],{"type":24,"value":6623}," value; }\n",{"type":19,"tag":112,"props":6625,"children":6626},{"class":114,"line":222},[6627],{"type":19,"tag":112,"props":6628,"children":6629},{"style":137},[6630],{"type":24,"value":288},{"type":19,"tag":2248,"props":6632,"children":6633},{},[6634],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":6636},[],"content:comments:probable-c-6-0-features-illustrated:73937.md","comments/probable-c-6-0-features-illustrated/73937.md","comments/probable-c-6-0-features-illustrated/73937",{"_path":6641,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6642,"description":6643,"id":6644,"name":6645,"email":6646,"avatar":6647,"date":6648,"body":6649,"_type":2301,"_id":6657,"_source":2303,"_file":6658,"_stem":6659,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73935","73935","this is going to be total mess if they implement all those syntaxes. especially in large teams where always one or two post graduates who have no clue what they are doing but 'love' writing cryptic mess.. And the devs who are responsible for pushing out the actual product will waste more time cleaning it.. Much more time than those 'tricks' will save in writing... #9 is only feature adding something to development process.",73935,"Bobb","maxima120@hotmail.com","https://www.gravatar.com/avatar/005edf016019bcce2f53faf73c3effda?r=pg&d=retro","2013-12-11T06:40:04",{"type":16,"children":6650,"toc":6655},[6651],{"type":19,"tag":20,"props":6652,"children":6653},{},[6654],{"type":24,"value":6643},{"title":9,"searchDepth":143,"depth":143,"links":6656},[],"content:comments:probable-c-6-0-features-illustrated:73935.md","comments/probable-c-6-0-features-illustrated/73935.md","comments/probable-c-6-0-features-illustrated/73935",{"_path":6661,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6662,"description":6663,"id":6664,"name":6665,"email":6666,"avatar":6667,"url":6668,"date":6669,"body":6670,"_type":2301,"_id":6756,"_source":2303,"_file":6757,"_stem":6758,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73929","73929","The constructor change is a massive improvement over previous versions of C#. Forcing the split between assignment and declaration seemed like a poor design choice. I imagine that fixing it will get rid of many null reference exceptions.",73929,"Zach Bray","zachbray@googlemail.com","https://www.gravatar.com/avatar/9682adeee5a834334bea2151d6c5c00d?r=pg&d=retro","https://www.twitter.com/zbray","2013-12-11T05:57:13",{"type":16,"children":6671,"toc":6754},[6672,6676,6681,6686,6719,6724],{"type":19,"tag":20,"props":6673,"children":6674},{},[6675],{"type":24,"value":6663},{"type":19,"tag":20,"props":6677,"children":6678},{},[6679],{"type":24,"value":6680},"It is a shame we'll have to wait so long for C# to catch up with other languages like F# & Scala though!",{"type":19,"tag":20,"props":6682,"children":6683},{},[6684],{"type":24,"value":6685},"F# is available today and already has:",{"type":19,"tag":375,"props":6687,"children":6688},{},[6689,6694,6699,6704,6709,6714],{"type":19,"tag":379,"props":6690,"children":6691},{},[6692],{"type":24,"value":6693},"More concise constructor syntax than C#",{"type":19,"tag":379,"props":6695,"children":6696},{},[6697],{"type":24,"value":6698},"Record types & record expressions (not available in C#)",{"type":19,"tag":379,"props":6700,"children":6701},{},[6702],{"type":24,"value":6703},"More concise property syntax than C#",{"type":19,"tag":379,"props":6705,"children":6706},{},[6707],{"type":24,"value":6708},"Language support for tuple types",{"type":19,"tag":379,"props":6710,"children":6711},{},[6712],{"type":24,"value":6713},"Non-nullable reference types (no need for the ugly '?' operator like C#)",{"type":19,"tag":379,"props":6715,"children":6716},{},[6717],{"type":24,"value":6718},"Hindley-Milner type inference (far more versatile than C#'s var and proposed constructor inference)",{"type":19,"tag":20,"props":6720,"children":6721},{},[6722],{"type":24,"value":6723},"If anyone reading this would like to learn more about F# (from a C# perspective) I can recommend these resources:",{"type":19,"tag":375,"props":6725,"children":6726},{},[6727,6736,6745],{"type":19,"tag":379,"props":6728,"children":6729},{},[6730],{"type":19,"tag":52,"props":6731,"children":6734},{"href":6732,"rel":6733},"https://skillsmatter.com/podcast/home/f-eye-for-the-c-sharp-guy",[65],[6735],{"type":24,"value":6732},{"type":19,"tag":379,"props":6737,"children":6738},{},[6739],{"type":19,"tag":52,"props":6740,"children":6743},{"href":6741,"rel":6742},"https://www.slideshare.net/ptrelford/f-sharp-eye-for-the-CSharp-guy-ddd-north-2013",[65],[6744],{"type":24,"value":6741},{"type":19,"tag":379,"props":6746,"children":6747},{},[6748],{"type":19,"tag":52,"props":6749,"children":6752},{"href":6750,"rel":6751},"https://fsharp.org/",[65],[6753],{"type":24,"value":6750},{"title":9,"searchDepth":143,"depth":143,"links":6755},[],"content:comments:probable-c-6-0-features-illustrated:73929.md","comments/probable-c-6-0-features-illustrated/73929.md","comments/probable-c-6-0-features-illustrated/73929",{"_path":6760,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6761,"description":6762,"id":6763,"name":6764,"email":6765,"avatar":6766,"url":6767,"date":6768,"body":6769,"_type":2301,"_id":6777,"_source":2303,"_file":6778,"_stem":6779,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73927","73927","After writing and maintaining code for the past 20 years, anything that hides the meaning of code, even if it saves a couple key strokes, is just a bad idea. These are mostly no more valuable than fads and they reduce maintainability.  If you want it to be maintainable, code should read like a story. KISS... the most basic and universal engineering principle.",73927,"Mike","a1swdeveloper@yahoo.com","https://www.gravatar.com/avatar/b732b9a47b7b2071e2ea4a6789a91382?r=pg&d=retro","https://www.a1swdeveloper.com","2013-12-11T05:21:56",{"type":16,"children":6770,"toc":6775},[6771],{"type":19,"tag":20,"props":6772,"children":6773},{},[6774],{"type":24,"value":6762},{"title":9,"searchDepth":143,"depth":143,"links":6776},[],"content:comments:probable-c-6-0-features-illustrated:73927.md","comments/probable-c-6-0-features-illustrated/73927.md","comments/probable-c-6-0-features-illustrated/73927",{"_path":6781,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6782,"description":6783,"id":6784,"name":6785,"email":6786,"avatar":6787,"date":6788,"body":6789,"_type":2301,"_id":6832,"_source":2303,"_file":6833,"_stem":6834,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73918","73918","Why not use the most intuitive syntax for readonly auto properties:",73918,"Joakim","none@none.se","https://www.gravatar.com/avatar/0efa755a0d3332a9ed1f21eb0862315e?r=pg&d=retro","2013-12-11T04:10:39",{"type":16,"children":6790,"toc":6830},[6791,6795,6826],{"type":19,"tag":20,"props":6792,"children":6793},{},[6794],{"type":24,"value":6783},{"type":19,"tag":101,"props":6796,"children":6798},{"className":103,"code":6797,"language":105,"meta":9,"style":9},"public int X { get; readonly set; }\n",[6799],{"type":19,"tag":108,"props":6800,"children":6801},{"__ignoreMap":9},[6802],{"type":19,"tag":112,"props":6803,"children":6804},{"class":114,"line":115},[6805,6809,6813,6817,6821],{"type":19,"tag":112,"props":6806,"children":6807},{"style":119},[6808],{"type":24,"value":122},{"type":19,"tag":112,"props":6810,"children":6811},{"style":152},[6812],{"type":24,"value":155},{"type":19,"tag":112,"props":6814,"children":6815},{"style":137},[6816],{"type":24,"value":3732},{"type":19,"tag":112,"props":6818,"children":6819},{"style":119},[6820],{"type":24,"value":2933},{"type":19,"tag":112,"props":6822,"children":6823},{"style":137},[6824],{"type":24,"value":6825}," set; }\n",{"type":19,"tag":2248,"props":6827,"children":6828},{},[6829],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":6831},[],"content:comments:probable-c-6-0-features-illustrated:73918.md","comments/probable-c-6-0-features-illustrated/73918.md","comments/probable-c-6-0-features-illustrated/73918",{"_path":6836,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6837,"description":6838,"id":6839,"name":6840,"email":6841,"avatar":6842,"date":6843,"body":6844,"_type":2301,"_id":6852,"_source":2303,"_file":6853,"_stem":6854,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73913","73913","wow! c# slowly moves to scala... by the way, your post is clear and interesting! thanks!",73913,"alejandro","hav29a@gmail.com","https://www.gravatar.com/avatar/d0d9779238e37362486b0f305c796605?r=pg&d=retro","2013-12-11T03:42:03",{"type":16,"children":6845,"toc":6850},[6846],{"type":19,"tag":20,"props":6847,"children":6848},{},[6849],{"type":24,"value":6838},{"title":9,"searchDepth":143,"depth":143,"links":6851},[],"content:comments:probable-c-6-0-features-illustrated:73913.md","comments/probable-c-6-0-features-illustrated/73913.md","comments/probable-c-6-0-features-illustrated/73913",{"_path":6856,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6857,"description":6858,"id":6859,"name":6764,"email":6860,"avatar":6861,"date":6862,"body":6863,"_type":2301,"_id":6876,"_source":2303,"_file":6877,"_stem":6878,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73911","73911","Only number 7 has any chance of making it to C# 6.0. The design team is very, very conservative when it comes to adding features, and most of these are just not worth the effort, especially considering they are rewriting the compiler.",73911,"mike@mike.com","https://www.gravatar.com/avatar/27b9aaca2520d605651e0314c557f662?r=pg&d=retro","2013-12-11T03:15:14",{"type":16,"children":6864,"toc":6874},[6865,6869],{"type":19,"tag":20,"props":6866,"children":6867},{},[6868],{"type":24,"value":6858},{"type":19,"tag":20,"props":6870,"children":6871},{},[6872],{"type":24,"value":6873},"To predict new C# features, you have to consider what compiler as a service enables. The new compiler will enable you to peek inside the AST, so I suspect more dynamics wrt compiling/inspecting code, not new language features.",{"title":9,"searchDepth":143,"depth":143,"links":6875},[],"content:comments:probable-c-6-0-features-illustrated:73911.md","comments/probable-c-6-0-features-illustrated/73911.md","comments/probable-c-6-0-features-illustrated/73911",{"_path":6880,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6881,"description":6882,"id":6883,"name":6884,"email":6885,"avatar":6886,"date":6887,"body":6888,"_type":2301,"_id":6906,"_source":2303,"_file":6907,"_stem":6908,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73908","73908","For 6: Is evaluation deferred until evaluated if you pass a single IEnumerable instead of a params?",73908,"Damien","David.Knapman@Stepchange.org","https://www.gravatar.com/avatar/0c5a07bc6ba2ffe15e4ddb6beaeae558?r=pg&d=retro","2013-12-11T02:05:31",{"type":16,"children":6889,"toc":6904},[6890,6894,6899],{"type":19,"tag":20,"props":6891,"children":6892},{},[6893],{"type":24,"value":6882},{"type":19,"tag":20,"props":6895,"children":6896},{},[6897],{"type":24,"value":6898},"params (certainly for arrays, I'd expect for enumerable also) affects the call site, not the method itself - once you're inside the code of the method, params doesn't affect anything - you just have an array or an enumerable. As such, if someone has called your method and passed an array/enumerable directly, you just receive whatever they've passed you - the params \"machinery\" is not involved at all.",{"type":19,"tag":20,"props":6900,"children":6901},{},[6902],{"type":24,"value":6903},"As such, I'd strongly suspect that you get deferred evaluation.",{"title":9,"searchDepth":143,"depth":143,"links":6905},[],"content:comments:probable-c-6-0-features-illustrated:73908.md","comments/probable-c-6-0-features-illustrated/73908.md","comments/probable-c-6-0-features-illustrated/73908",{"_path":6910,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":6911,"description":6912,"id":6913,"name":6914,"email":6915,"avatar":6916,"date":6917,"body":6918,"_type":2301,"_id":7141,"_source":2303,"_file":7142,"_stem":7143,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73905","73905","(3) could mean that instead of the",73905,"Peter Adam","lpttlm@hotmail.com","https://www.gravatar.com/avatar/1a2a3a62e7e1408fafceb14f12cfad5e?r=pg&d=retro","2013-12-11T01:36:24",{"type":16,"children":6919,"toc":7139},[6920,6924,7012,7017,7070,7075,7130,7135],{"type":19,"tag":20,"props":6921,"children":6922},{},[6923],{"type":24,"value":6912},{"type":19,"tag":101,"props":6925,"children":6927},{"className":103,"code":6926,"language":105,"meta":9,"style":9},"MessageBox.Show(\"Message\",\"Caption\",MessageBoxButtons.OK,MessageBoxIcon.Question,MessageBoxDefaultButton.Button1)\n",[6928],{"type":19,"tag":108,"props":6929,"children":6930},{"__ignoreMap":9},[6931],{"type":19,"tag":112,"props":6932,"children":6933},{"class":114,"line":115},[6934,6939,6944,6948,6952,6957,6961,6965,6969,6974,6978,6983,6988,6993,6998,7003,7008],{"type":19,"tag":112,"props":6935,"children":6936},{"style":137},[6937],{"type":24,"value":6938},"MessageBox.",{"type":19,"tag":112,"props":6940,"children":6941},{"style":182},[6942],{"type":24,"value":6943},"Show",{"type":19,"tag":112,"props":6945,"children":6946},{"style":137},[6947],{"type":24,"value":189},{"type":19,"tag":112,"props":6949,"children":6950},{"style":1704},[6951],{"type":24,"value":1707},{"type":19,"tag":112,"props":6953,"children":6954},{"style":1710},[6955],{"type":24,"value":6956},"Message",{"type":19,"tag":112,"props":6958,"children":6959},{"style":1704},[6960],{"type":24,"value":1707},{"type":19,"tag":112,"props":6962,"children":6963},{"style":137},[6964],{"type":24,"value":3473},{"type":19,"tag":112,"props":6966,"children":6967},{"style":1704},[6968],{"type":24,"value":1707},{"type":19,"tag":112,"props":6970,"children":6971},{"style":1710},[6972],{"type":24,"value":6973},"Caption",{"type":19,"tag":112,"props":6975,"children":6976},{"style":1704},[6977],{"type":24,"value":1707},{"type":19,"tag":112,"props":6979,"children":6980},{"style":137},[6981],{"type":24,"value":6982},",MessageBoxButtons.",{"type":19,"tag":112,"props":6984,"children":6985},{"style":1489},[6986],{"type":24,"value":6987},"OK",{"type":19,"tag":112,"props":6989,"children":6990},{"style":137},[6991],{"type":24,"value":6992},",MessageBoxIcon.",{"type":19,"tag":112,"props":6994,"children":6995},{"style":1489},[6996],{"type":24,"value":6997},"Question",{"type":19,"tag":112,"props":6999,"children":7000},{"style":137},[7001],{"type":24,"value":7002},",MessageBoxDefaultButton.",{"type":19,"tag":112,"props":7004,"children":7005},{"style":1489},[7006],{"type":24,"value":7007},"Button1",{"type":19,"tag":112,"props":7009,"children":7010},{"style":137},[7011],{"type":24,"value":219},{"type":19,"tag":20,"props":7013,"children":7014},{},[7015],{"type":24,"value":7016},"could be expressed more like I can do in Delphi now:",{"type":19,"tag":101,"props":7018,"children":7022},{"className":7019,"code":7020,"language":7021,"meta":9,"style":9},"language-pascal shiki shiki-themes everforest-light dracula","Application.ShowMessage('Message','Caption',MB_OK+MB_ICONQUESTION+MB_DEFBUTTON1)\n","pascal",[7023],{"type":19,"tag":108,"props":7024,"children":7025},{"__ignoreMap":9},[7026],{"type":19,"tag":112,"props":7027,"children":7028},{"class":114,"line":115},[7029,7034,7040,7045,7049,7053,7057,7061,7065],{"type":19,"tag":112,"props":7030,"children":7031},{"style":137},[7032],{"type":24,"value":7033},"Application.ShowMessage(",{"type":19,"tag":112,"props":7035,"children":7037},{"style":7036},"--shiki-default:#DFA000;--shiki-dark:#E9F284",[7038],{"type":24,"value":7039},"'",{"type":19,"tag":112,"props":7041,"children":7043},{"style":7042},"--shiki-default:#DFA000;--shiki-dark:#F1FA8C",[7044],{"type":24,"value":6956},{"type":19,"tag":112,"props":7046,"children":7047},{"style":7036},[7048],{"type":24,"value":7039},{"type":19,"tag":112,"props":7050,"children":7051},{"style":137},[7052],{"type":24,"value":3473},{"type":19,"tag":112,"props":7054,"children":7055},{"style":7036},[7056],{"type":24,"value":7039},{"type":19,"tag":112,"props":7058,"children":7059},{"style":7042},[7060],{"type":24,"value":6973},{"type":19,"tag":112,"props":7062,"children":7063},{"style":7036},[7064],{"type":24,"value":7039},{"type":19,"tag":112,"props":7066,"children":7067},{"style":137},[7068],{"type":24,"value":7069},",MB_OK+MB_ICONQUESTION+MB_DEFBUTTON1)\n",{"type":19,"tag":20,"props":7071,"children":7072},{},[7073],{"type":24,"value":7074},"aka",{"type":19,"tag":101,"props":7076,"children":7078},{"className":103,"code":7077,"language":105,"meta":9,"style":9},"MessageBox.Show(\"Message\",\"Caption\",OK,Question,Button1)\n",[7079],{"type":19,"tag":108,"props":7080,"children":7081},{"__ignoreMap":9},[7082],{"type":19,"tag":112,"props":7083,"children":7084},{"class":114,"line":115},[7085,7089,7093,7097,7101,7105,7109,7113,7117,7121,7125],{"type":19,"tag":112,"props":7086,"children":7087},{"style":137},[7088],{"type":24,"value":6938},{"type":19,"tag":112,"props":7090,"children":7091},{"style":182},[7092],{"type":24,"value":6943},{"type":19,"tag":112,"props":7094,"children":7095},{"style":137},[7096],{"type":24,"value":189},{"type":19,"tag":112,"props":7098,"children":7099},{"style":1704},[7100],{"type":24,"value":1707},{"type":19,"tag":112,"props":7102,"children":7103},{"style":1710},[7104],{"type":24,"value":6956},{"type":19,"tag":112,"props":7106,"children":7107},{"style":1704},[7108],{"type":24,"value":1707},{"type":19,"tag":112,"props":7110,"children":7111},{"style":137},[7112],{"type":24,"value":3473},{"type":19,"tag":112,"props":7114,"children":7115},{"style":1704},[7116],{"type":24,"value":1707},{"type":19,"tag":112,"props":7118,"children":7119},{"style":1710},[7120],{"type":24,"value":6973},{"type":19,"tag":112,"props":7122,"children":7123},{"style":1704},[7124],{"type":24,"value":1707},{"type":19,"tag":112,"props":7126,"children":7127},{"style":137},[7128],{"type":24,"value":7129},",OK,Question,Button1)\n",{"type":19,"tag":20,"props":7131,"children":7132},{},[7133],{"type":24,"value":7134},"It would be the nice comeback of the one line/at a glance auxiliares.",{"type":19,"tag":2248,"props":7136,"children":7137},{},[7138],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":7140},[],"content:comments:probable-c-6-0-features-illustrated:73905.md","comments/probable-c-6-0-features-illustrated/73905.md","comments/probable-c-6-0-features-illustrated/73905",{"_path":7145,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7146,"description":7147,"id":7148,"name":7149,"email":7150,"avatar":7151,"url":7152,"date":7153,"body":7154,"_type":2301,"_id":7162,"_source":2303,"_file":7163,"_stem":7164,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73904","73904","I expected MS to start shifting more towards F#, but it's nice to see C# is still getting plenty of attention.\nThose are very nice features. I especially like method expressions and monadic null checking. Features 1-4 I don't like so much, because they seem to me like they will bring confusion into code. I think those are big updates, maybe too big for a mature language such as C#, considering that they don't bring so much value to the table.",73904,"Nikola","nradosavljevic@gmail.com","https://www.gravatar.com/avatar/8804b9e5564129c3e5a6979b5e26c284?r=pg&d=retro","https://nikolar.com","2013-12-11T01:23:46",{"type":16,"children":7155,"toc":7160},[7156],{"type":19,"tag":20,"props":7157,"children":7158},{},[7159],{"type":24,"value":7147},{"title":9,"searchDepth":143,"depth":143,"links":7161},[],"content:comments:probable-c-6-0-features-illustrated:73904.md","comments/probable-c-6-0-features-illustrated/73904.md","comments/probable-c-6-0-features-illustrated/73904",{"_path":7166,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7167,"description":7168,"id":7169,"name":7170,"email":7171,"avatar":7172,"url":7173,"date":7174,"body":7175,"_type":2301,"_id":7188,"_source":2303,"_file":7189,"_stem":7190,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73901","73901","Nice post! I also thought about writing an opinionated follow up whilst walking to work this morning ;-)",73901,"Adam Ralph","adam@adamralph.com","https://www.gravatar.com/avatar/78e6cdb8bf24413c4576e496e4d05fce?r=pg&d=retro","https://adamralph.com","2013-12-11T00:41:01",{"type":16,"children":7176,"toc":7186},[7177,7181],{"type":19,"tag":20,"props":7178,"children":7179},{},[7180],{"type":24,"value":7168},{"type":19,"tag":20,"props":7182,"children":7183},{},[7184],{"type":24,"value":7185},"I'll put up my follow up post soon, I think my thoughts are largely similar to yours though.",{"title":9,"searchDepth":143,"depth":143,"links":7187},[],"content:comments:probable-c-6-0-features-illustrated:73901.md","comments/probable-c-6-0-features-illustrated/73901.md","comments/probable-c-6-0-features-illustrated/73901",{"_path":7192,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7193,"description":7194,"id":7195,"name":7196,"email":7197,"avatar":7198,"date":7199,"body":7200,"_type":2301,"_id":7286,"_source":2303,"_file":7287,"_stem":7288,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73896","73896","Saat nambar ta Ekhani chai (#7 want right now) !",73896,"Debiprasad Ghosh","debiprasadghosh@gmail.com","https://www.gravatar.com/avatar/db75debd6e05f41d7f43c8026ff41f66?r=pg&d=retro","2013-12-10T23:00:31",{"type":16,"children":7201,"toc":7284},[7202,7206,7211,7280],{"type":19,"tag":20,"props":7203,"children":7204},{},[7205],{"type":24,"value":7194},{"type":19,"tag":20,"props":7207,"children":7208},{},[7209],{"type":24,"value":7210},"\"Monadic null checking\"",{"type":19,"tag":101,"props":7212,"children":7213},{"className":103,"code":1557,"language":105,"meta":9,"style":9},[7214],{"type":19,"tag":108,"props":7215,"children":7216},{"__ignoreMap":9},[7217],{"type":19,"tag":112,"props":7218,"children":7219},{"class":114,"line":115},[7220,7224,7228,7232,7236,7240,7244,7248,7252,7256,7260,7264,7268,7272,7276],{"type":19,"tag":112,"props":7221,"children":7222},{"style":152},[7223],{"type":24,"value":1569},{"type":19,"tag":112,"props":7225,"children":7226},{"style":137},[7227],{"type":24,"value":1574},{"type":19,"tag":112,"props":7229,"children":7230},{"style":119},[7231],{"type":24,"value":265},{"type":19,"tag":112,"props":7233,"children":7234},{"style":137},[7235],{"type":24,"value":1583},{"type":19,"tag":112,"props":7237,"children":7238},{"style":119},[7239],{"type":24,"value":1588},{"type":19,"tag":112,"props":7241,"children":7242},{"style":137},[7243],{"type":24,"value":40},{"type":19,"tag":112,"props":7245,"children":7246},{"style":182},[7247],{"type":24,"value":1450},{"type":19,"tag":112,"props":7249,"children":7250},{"style":137},[7251],{"type":24,"value":1601},{"type":19,"tag":112,"props":7253,"children":7254},{"style":119},[7255],{"type":24,"value":1588},{"type":19,"tag":112,"props":7257,"children":7258},{"style":137},[7259],{"type":24,"value":40},{"type":19,"tag":112,"props":7261,"children":7262},{"style":1489},[7263],{"type":24,"value":1492},{"type":19,"tag":112,"props":7265,"children":7266},{"style":119},[7267],{"type":24,"value":1618},{"type":19,"tag":112,"props":7269,"children":7270},{"style":119},[7271],{"type":24,"value":1540},{"type":19,"tag":112,"props":7273,"children":7274},{"style":640},[7275],{"type":24,"value":1545},{"type":19,"tag":112,"props":7277,"children":7278},{"style":137},[7279],{"type":24,"value":251},{"type":19,"tag":2248,"props":7281,"children":7282},{},[7283],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":7285},[],"content:comments:probable-c-6-0-features-illustrated:73896.md","comments/probable-c-6-0-features-illustrated/73896.md","comments/probable-c-6-0-features-illustrated/73896",{"_path":7290,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7291,"description":7292,"id":7293,"name":7294,"email":7295,"avatar":7296,"url":7297,"date":7298,"body":7299,"_type":2301,"_id":7307,"_source":2303,"_file":7308,"_stem":7309,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73865","73865","Some of these are nice, love 7,9 but would love to see some features that change what's possible rather than cleaning syntax.\nI would love to be able to use Lambda Expressions as constructor parameters for Attributes",73865,"Spencer Rose","shcipwa@gmail.com","https://www.gravatar.com/avatar/1a4287caabd4cd001960491bee39f320?r=pg&d=retro","https://www.bankrollstudios.com","2013-12-10T15:10:57",{"type":16,"children":7300,"toc":7305},[7301],{"type":19,"tag":20,"props":7302,"children":7303},{},[7304],{"type":24,"value":7292},{"title":9,"searchDepth":143,"depth":143,"links":7306},[],"content:comments:probable-c-6-0-features-illustrated:73865.md","comments/probable-c-6-0-features-illustrated/73865.md","comments/probable-c-6-0-features-illustrated/73865",{"_path":7311,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7312,"description":7313,"id":7314,"name":7315,"email":7316,"avatar":7317,"url":7318,"date":7319,"body":7320,"_type":2301,"_id":7328,"_source":2303,"_file":7329,"_stem":7330,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73858","73858","Yes please to #6, #7 and #9.  Not really excited about any of the other ones.  I'd be concerned that #1-#5 would impact readability/maintainability, particularly in teams where you have experts and beginners trying to peacefully coexist in the same code base.",73858,"Scott Holodak","scottt732@gmail.com","https://www.gravatar.com/avatar/a20e17a9518a5db04659c0b21b80d64d?r=pg&d=retro","https://www.twitter.com/scottt732","2013-12-10T14:01:43",{"type":16,"children":7321,"toc":7326},[7322],{"type":19,"tag":20,"props":7323,"children":7324},{},[7325],{"type":24,"value":7313},{"title":9,"searchDepth":143,"depth":143,"links":7327},[],"content:comments:probable-c-6-0-features-illustrated:73858.md","comments/probable-c-6-0-features-illustrated/73858.md","comments/probable-c-6-0-features-illustrated/73858",{"_path":7332,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7333,"description":7334,"id":7335,"name":7336,"email":7337,"avatar":7338,"date":7339,"body":7340,"_type":2301,"_id":7354,"_source":2303,"_file":7355,"_stem":7356,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73857","73857","@Damien: thank you for explanation. I don't really know how \"params\" is implemented under the hood (I may guess how it works, but not sure), but let's take a start from the idea of \"unrolling\" of what the \"params\" is designed for: generally speaking it's designed just to simplify passing more same-typed arguments to variadic methods reducing the number of overloads. So basically all arguments must be evaluated before they are passed to a method in eager manner just like if they were \"regular\" arguments. I think that eager evaluation for method arguments is a must for CLR design, and if lazy evaluation for sequences is necessary, the IEnumerable must be used in the method explicitly, because array (and \"params\") item dereferrencing operator  assumes that the whole sequence is known, and kept, for non-abstract instance, in memory -- IEnumerable does not have size per se by design.",73857,"Lyubomyr Shaydariv","alexshap@i.ua","https://www.gravatar.com/avatar/e8cdf80ec41e2d81e7a11262849f2fb1?r=pg&d=retro","2013-12-10T13:57:08",{"type":16,"children":7341,"toc":7352},[7342],{"type":19,"tag":20,"props":7343,"children":7344},{},[7345,7347,7350],{"type":24,"value":7346},"@Damien: thank you for explanation. I don't really know how \"params\" is implemented under the hood (I may guess how it works, but not sure), but let's take a start from the idea of \"unrolling\" of what the \"params\" is designed for: generally speaking it's designed just to simplify passing more same-typed arguments to variadic methods reducing the number of overloads. So basically all arguments must be evaluated before they are passed to a method in eager manner just like if they were \"regular\" arguments. I think that eager evaluation for method arguments is a must for CLR design, and if lazy evaluation for sequences is necessary, the IEnumerable must be used in the method explicitly, because array (and \"params\") item dereferrencing operator ",{"type":19,"tag":112,"props":7348,"children":7349},{},[],{"type":24,"value":7351}," assumes that the whole sequence is known, and kept, for non-abstract instance, in memory -- IEnumerable does not have size per se by design.",{"title":9,"searchDepth":143,"depth":143,"links":7353},[],"content:comments:probable-c-6-0-features-illustrated:73857.md","comments/probable-c-6-0-features-illustrated/73857.md","comments/probable-c-6-0-features-illustrated/73857",{"_path":7358,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7359,"description":7360,"id":7361,"name":5417,"email":5418,"avatar":5419,"url":5420,"date":7362,"body":7363,"_type":2301,"_id":7371,"_source":2303,"_file":7372,"_stem":7373,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73855","73855","@james: While the scoping there would be great for the Try pattern it would render this function useless for DirectX programming where there are a lot of out parameters simply to avoid copying back and forth via the stack.",73855,"2013-12-10T13:32:20",{"type":16,"children":7364,"toc":7369},[7365],{"type":19,"tag":20,"props":7366,"children":7367},{},[7368],{"type":24,"value":7360},{"title":9,"searchDepth":143,"depth":143,"links":7370},[],"content:comments:probable-c-6-0-features-illustrated:73855.md","comments/probable-c-6-0-features-illustrated/73855.md","comments/probable-c-6-0-features-illustrated/73855",{"_path":7375,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7376,"description":7377,"id":7378,"name":5417,"email":5418,"avatar":5419,"url":5420,"date":7379,"body":7380,"_type":2301,"_id":7399,"_source":2303,"_file":7400,"_stem":7401,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73854","73854","@Lyubomyr: With (params int someValues) you have two options - comma separated parameters and an array. Sometimes we have an array and so we have to pass that. Other times we have an IEnumerable and have to force evaluation.",73854,"2013-12-10T13:31:20",{"type":16,"children":7381,"toc":7397},[7382,7392],{"type":19,"tag":20,"props":7383,"children":7384},{},[7385,7387,7390],{"type":24,"value":7386},"@Lyubomyr: With (params int",{"type":19,"tag":112,"props":7388,"children":7389},{},[],{"type":24,"value":7391}," someValues) you have two options - comma separated parameters and an array. Sometimes we have an array and so we have to pass that. Other times we have an IEnumerable and have to force evaluation.",{"type":19,"tag":20,"props":7393,"children":7394},{},[7395],{"type":24,"value":7396},"With the new syntax I'd imagine people start switching to the IEnumerable syntax so that you can either comma separate the parameters or pass any enumerable (including array) to be evaluated as required. It should replace the older syntax as time goes on.",{"title":9,"searchDepth":143,"depth":143,"links":7398},[],"content:comments:probable-c-6-0-features-illustrated:73854.md","comments/probable-c-6-0-features-illustrated/73854.md","comments/probable-c-6-0-features-illustrated/73854",{"_path":7403,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7404,"description":7405,"id":7406,"name":7336,"email":7337,"avatar":7338,"date":7407,"body":7408,"_type":2301,"_id":7436,"_source":2303,"_file":7437,"_stem":7438,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73852","73852","(1) \"primary constructors\" syntax is scary. I don't believe that it can be accepted. Ever.",73852,"2013-12-10T13:12:08",{"type":16,"children":7409,"toc":7434},[7410,7414,7419,7424,7429],{"type":19,"tag":20,"props":7411,"children":7412},{},[7413],{"type":24,"value":7405},{"type":19,"tag":20,"props":7415,"children":7416},{},[7417],{"type":24,"value":7418},"(3) is good borrowing the idea of static imports from Java. The code can be much and much cleaner, that's true. However, I'd like to import particular classes, and other first class members. The \"using\" keyword is uncontrollable when simply importing whole namespaces. Extension methods introducing is even more uncontrollable and unpredictable.",{"type":19,"tag":20,"props":7420,"children":7421},{},[7422],{"type":24,"value":7423},"(6) Couldn't understand it. Isn't passing IEnumerable enough?",{"type":19,"tag":20,"props":7425,"children":7426},{},[7427],{"type":24,"value":7428},"(9) Unnecessary and, according to James Hart, causes issues.",{"type":19,"tag":20,"props":7430,"children":7431},{},[7432],{"type":24,"value":7433},"(Wrapping Up) I do believe that introducing meta-programming can obtain more efficiency and enhancements at compile time. The given example is about a Decorator design pattern implementation, and a meta-programming template can easily cover this case without enhancing the language itself -- you'd enhance the language yourself. Even a simple \"foreach\" statement could be expressed using a template. But it's a different story.",{"title":9,"searchDepth":143,"depth":143,"links":7435},[],"content:comments:probable-c-6-0-features-illustrated:73852.md","comments/probable-c-6-0-features-illustrated/73852.md","comments/probable-c-6-0-features-illustrated/73852",{"_path":7440,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7441,"description":7442,"id":7443,"name":7444,"email":7445,"avatar":7446,"date":7447,"body":7448,"_type":2301,"_id":7606,"_source":2303,"_file":7607,"_stem":7608,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73838","73838","The improvement of inline out variable declaration might be more subtle than just eliminating the need for a prior declaration - it permits the scope of the variable to be reduced to where it belongs:",73838,"James Hart","james@codetorque.com","https://www.gravatar.com/avatar/afc37c0f1ef2410612104bd598ca001c?r=pg&d=retro","2013-12-10T09:14:41",{"type":16,"children":7449,"toc":7604},[7450,7454,7459,7533,7538,7600],{"type":19,"tag":20,"props":7451,"children":7452},{},[7453],{"type":24,"value":7442},{"type":19,"tag":20,"props":7455,"children":7456},{},[7457],{"type":24,"value":7458},"Before:",{"type":19,"tag":101,"props":7460,"children":7462},{"className":103,"code":7461,"language":105,"meta":9,"style":9},"int i;\nif (int.TryParse(whatever, out i)) { /* do stuff with a valid i */ }\n// now i still exists but is in an 'unspecified' state\u003C/pre>\u003C/code>\n",[7463],{"type":19,"tag":108,"props":7464,"children":7465},{"__ignoreMap":9},[7466,7478,7525],{"type":19,"tag":112,"props":7467,"children":7468},{"class":114,"line":115},[7469,7473],{"type":19,"tag":112,"props":7470,"children":7471},{"style":152},[7472],{"type":24,"value":194},{"type":19,"tag":112,"props":7474,"children":7475},{"style":137},[7476],{"type":24,"value":7477}," i;\n",{"type":19,"tag":112,"props":7479,"children":7480},{"class":114,"line":143},[7481,7485,7489,7493,7497,7501,7506,7510,7515,7520],{"type":19,"tag":112,"props":7482,"children":7483},{"style":125},[7484],{"type":24,"value":1404},{"type":19,"tag":112,"props":7486,"children":7487},{"style":137},[7488],{"type":24,"value":4340},{"type":19,"tag":112,"props":7490,"children":7491},{"style":152},[7492],{"type":24,"value":194},{"type":19,"tag":112,"props":7494,"children":7495},{"style":137},[7496],{"type":24,"value":40},{"type":19,"tag":112,"props":7498,"children":7499},{"style":182},[7500],{"type":24,"value":1989},{"type":19,"tag":112,"props":7502,"children":7503},{"style":137},[7504],{"type":24,"value":7505},"(whatever, ",{"type":19,"tag":112,"props":7507,"children":7508},{"style":119},[7509],{"type":24,"value":2015},{"type":19,"tag":112,"props":7511,"children":7512},{"style":137},[7513],{"type":24,"value":7514}," i)) { ",{"type":19,"tag":112,"props":7516,"children":7517},{"style":2202},[7518],{"type":24,"value":7519},"/* do stuff with a valid i */",{"type":19,"tag":112,"props":7521,"children":7522},{"style":137},[7523],{"type":24,"value":7524}," }\n",{"type":19,"tag":112,"props":7526,"children":7527},{"class":114,"line":163},[7528],{"type":19,"tag":112,"props":7529,"children":7530},{"style":2202},[7531],{"type":24,"value":7532},"// now i still exists but is in an 'unspecified' state\u003C/pre>\u003C/code>\n",{"type":19,"tag":20,"props":7534,"children":7535},{},[7536],{"type":24,"value":7537},"After:",{"type":19,"tag":101,"props":7539,"children":7541},{"className":103,"code":7540,"language":105,"meta":9,"style":9},"if (int.TryParse(whatever, out int i)) { /* do stuff with a valid i */ }\n// now i is out of scope\u003C/pre>\u003C/code>\n",[7542],{"type":19,"tag":108,"props":7543,"children":7544},{"__ignoreMap":9},[7545,7592],{"type":19,"tag":112,"props":7546,"children":7547},{"class":114,"line":115},[7548,7552,7556,7560,7564,7568,7572,7576,7580,7584,7588],{"type":19,"tag":112,"props":7549,"children":7550},{"style":125},[7551],{"type":24,"value":1404},{"type":19,"tag":112,"props":7553,"children":7554},{"style":137},[7555],{"type":24,"value":4340},{"type":19,"tag":112,"props":7557,"children":7558},{"style":152},[7559],{"type":24,"value":194},{"type":19,"tag":112,"props":7561,"children":7562},{"style":137},[7563],{"type":24,"value":40},{"type":19,"tag":112,"props":7565,"children":7566},{"style":182},[7567],{"type":24,"value":1989},{"type":19,"tag":112,"props":7569,"children":7570},{"style":137},[7571],{"type":24,"value":7505},{"type":19,"tag":112,"props":7573,"children":7574},{"style":119},[7575],{"type":24,"value":2015},{"type":19,"tag":112,"props":7577,"children":7578},{"style":152},[7579],{"type":24,"value":155},{"type":19,"tag":112,"props":7581,"children":7582},{"style":137},[7583],{"type":24,"value":7514},{"type":19,"tag":112,"props":7585,"children":7586},{"style":2202},[7587],{"type":24,"value":7519},{"type":19,"tag":112,"props":7589,"children":7590},{"style":137},[7591],{"type":24,"value":7524},{"type":19,"tag":112,"props":7593,"children":7594},{"class":114,"line":143},[7595],{"type":19,"tag":112,"props":7596,"children":7597},{"style":2202},[7598],{"type":24,"value":7599},"// now i is out of scope\u003C/pre>\u003C/code>\n",{"type":19,"tag":2248,"props":7601,"children":7602},{},[7603],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":7605},[],"content:comments:probable-c-6-0-features-illustrated:73838.md","comments/probable-c-6-0-features-illustrated/73838.md","comments/probable-c-6-0-features-illustrated/73838",{"_path":7610,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7611,"description":7612,"id":7613,"name":7614,"email":7615,"avatar":7616,"url":7617,"date":7618,"body":7619,"_type":2301,"_id":7627,"_source":2303,"_file":7628,"_stem":7629,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73823","73823","Liviu I have had something even more robust imo for a long time... at maybe.codeplex.com you can do obj.Maybe(x=>x.Prop1.Prop2).",73823,"Brandon D","bdimpe@gmail.com","https://www.gravatar.com/avatar/0b23cd10aa838596d131245ffabe569b?r=pg&d=retro","https://imaginarydevelopment.blogspot.com","2013-12-10T06:17:53",{"type":16,"children":7620,"toc":7625},[7621],{"type":19,"tag":20,"props":7622,"children":7623},{},[7624],{"type":24,"value":7612},{"title":9,"searchDepth":143,"depth":143,"links":7626},[],"content:comments:probable-c-6-0-features-illustrated:73823.md","comments/probable-c-6-0-features-illustrated/73823.md","comments/probable-c-6-0-features-illustrated/73823",{"_path":7631,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7632,"description":7633,"id":7634,"name":7635,"email":7636,"avatar":7637,"date":7638,"body":7639,"_type":2301,"_id":7652,"_source":2303,"_file":7653,"_stem":7654,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73806","73806","1, 4. 5 for extra readability.",73806,"Giles","gilescope@googlemail.com","https://www.gravatar.com/avatar/155012f808f33b7121fff44e24e80f25?r=pg&d=retro","2013-12-10T01:48:24",{"type":16,"children":7640,"toc":7650},[7641,7645],{"type":19,"tag":20,"props":7642,"children":7643},{},[7644],{"type":24,"value":7633},{"type":19,"tag":20,"props":7646,"children":7647},{},[7648],{"type":24,"value":7649},"pattern matching would be great",{"title":9,"searchDepth":143,"depth":143,"links":7651},[],"content:comments:probable-c-6-0-features-illustrated:73806.md","comments/probable-c-6-0-features-illustrated/73806.md","comments/probable-c-6-0-features-illustrated/73806",{"_path":7656,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7657,"description":7658,"id":7659,"name":7660,"email":7661,"avatar":7662,"url":7663,"date":7664,"body":7665,"_type":2301,"_id":7673,"_source":2303,"_file":7674,"_stem":7675,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73805","73805","Looks interesting, but some syntaxs are confusing to me.",73805,"Suraj Deshpande","deshpande.suraj@gmail.com","https://www.gravatar.com/avatar/2a9b6422082de505bec42ea63b5a219f?r=pg&d=retro","https://surajdeshpande.wordpress.com","2013-12-10T01:45:04",{"type":16,"children":7666,"toc":7671},[7667],{"type":19,"tag":20,"props":7668,"children":7669},{},[7670],{"type":24,"value":7658},{"title":9,"searchDepth":143,"depth":143,"links":7672},[],"content:comments:probable-c-6-0-features-illustrated:73805.md","comments/probable-c-6-0-features-illustrated/73805.md","comments/probable-c-6-0-features-illustrated/73805",{"_path":7677,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7678,"description":7679,"id":7680,"name":7681,"email":7682,"avatar":7683,"date":7684,"body":7685,"_type":2301,"_id":7789,"_source":2303,"_file":7790,"_stem":7791,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73802","73802","Safe navigation is a killer, now i use following to simulate it:",73802,"liviu","liviu.u@gmail.com","https://www.gravatar.com/avatar/4edf4db3fa5ccaab2e4e68e09de2e7fa?r=pg&d=retro","2013-12-10T01:30:13",{"type":16,"children":7686,"toc":7787},[7687,7691,7768,7773,7778,7783],{"type":19,"tag":20,"props":7688,"children":7689},{},[7690],{"type":24,"value":7679},{"type":19,"tag":101,"props":7692,"children":7694},{"className":103,"code":7693,"language":105,"meta":9,"style":9},"obj.Safe(x=>x.Prop1).Safe(y=>y.Prop2)\n",[7695],{"type":19,"tag":108,"props":7696,"children":7697},{"__ignoreMap":9},[7698],{"type":19,"tag":112,"props":7699,"children":7700},{"class":114,"line":115},[7701,7705,7710,7714,7718,7722,7727,7732,7737,7741,7745,7750,7754,7759,7764],{"type":19,"tag":112,"props":7702,"children":7703},{"style":137},[7704],{"type":24,"value":4774},{"type":19,"tag":112,"props":7706,"children":7707},{"style":182},[7708],{"type":24,"value":7709},"Safe",{"type":19,"tag":112,"props":7711,"children":7712},{"style":137},[7713],{"type":24,"value":189},{"type":19,"tag":112,"props":7715,"children":7716},{"style":197},[7717],{"type":24,"value":237},{"type":19,"tag":112,"props":7719,"children":7720},{"style":119},[7721],{"type":24,"value":1122},{"type":19,"tag":112,"props":7723,"children":7724},{"style":137},[7725],{"type":24,"value":7726},"x.",{"type":19,"tag":112,"props":7728,"children":7729},{"style":1489},[7730],{"type":24,"value":7731},"Prop1",{"type":19,"tag":112,"props":7733,"children":7734},{"style":137},[7735],{"type":24,"value":7736},").",{"type":19,"tag":112,"props":7738,"children":7739},{"style":182},[7740],{"type":24,"value":7709},{"type":19,"tag":112,"props":7742,"children":7743},{"style":137},[7744],{"type":24,"value":189},{"type":19,"tag":112,"props":7746,"children":7747},{"style":197},[7748],{"type":24,"value":7749},"y",{"type":19,"tag":112,"props":7751,"children":7752},{"style":119},[7753],{"type":24,"value":1122},{"type":19,"tag":112,"props":7755,"children":7756},{"style":137},[7757],{"type":24,"value":7758},"y.",{"type":19,"tag":112,"props":7760,"children":7761},{"style":1489},[7762],{"type":24,"value":7763},"Prop2",{"type":19,"tag":112,"props":7765,"children":7766},{"style":137},[7767],{"type":24,"value":219},{"type":19,"tag":20,"props":7769,"children":7770},{},[7771],{"type":24,"value":7772},"Safe is R Safe(Func propaccess)...",{"type":19,"tag":20,"props":7774,"children":7775},{},[7776],{"type":24,"value":7777},"What bothers me in these examples, is that the new features are just some cosmetic stuff, easy to implement by an intern,\nwhen having a good parser like Roslyn...",{"type":19,"tag":20,"props":7779,"children":7780},{},[7781],{"type":24,"value":7782},"Why not syntactic macros, or again: string interpolation like many new and old languages have implemented for ages?\nWhy is C# so conservative?",{"type":19,"tag":2248,"props":7784,"children":7785},{},[7786],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":7788},[],"content:comments:probable-c-6-0-features-illustrated:73802.md","comments/probable-c-6-0-features-illustrated/73802.md","comments/probable-c-6-0-features-illustrated/73802",{"_path":7793,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7794,"description":7795,"id":7796,"name":7797,"email":7798,"avatar":7799,"date":7800,"body":7801,"_type":2301,"_id":7809,"_source":2303,"_file":7810,"_stem":7811,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73784","73784","I can't wait for #7. I'd actually be willing to kill for it right now.",73784,"Enrique","enriquein@gmail.com","https://www.gravatar.com/avatar/900a2dce0bca8f5fdc274afc97494ebc?r=pg&d=retro","2013-12-09T21:08:38",{"type":16,"children":7802,"toc":7807},[7803],{"type":19,"tag":20,"props":7804,"children":7805},{},[7806],{"type":24,"value":7795},{"title":9,"searchDepth":143,"depth":143,"links":7808},[],"content:comments:probable-c-6-0-features-illustrated:73784.md","comments/probable-c-6-0-features-illustrated/73784.md","comments/probable-c-6-0-features-illustrated/73784",{"_path":7813,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7814,"description":7815,"id":7816,"name":7817,"email":7818,"avatar":7819,"date":7820,"body":7821,"_type":2301,"_id":7972,"_source":2303,"_file":7973,"_stem":7974,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73776","73776","This is NOT monadic null checking Monadic null checking would be using an Option or Maybe class and using LINQ extension method (specifically SelectMany) for stacking checks such as",73776,"vincent","vincent.marquez@gmail.com","https://www.gravatar.com/avatar/3a66abaecbdf3edc16b509b9f46a5128?r=pg&d=retro","2013-12-09T19:43:38",{"type":16,"children":7822,"toc":7970},[7823,7827,7961,7966],{"type":19,"tag":20,"props":7824,"children":7825},{},[7826],{"type":24,"value":7815},{"type":19,"tag":101,"props":7828,"children":7830},{"className":103,"code":7829,"language":105,"meta":9,"style":9},"var opt =\n    from o1 in maybeNull\n    from o2 in o1 ///which also might be null\n    select new Test() { a = 01.Text, b = o2.Text };\n",[7831],{"type":19,"tag":108,"props":7832,"children":7833},{"__ignoreMap":9},[7834,7851,7873,7898],{"type":19,"tag":112,"props":7835,"children":7836},{"class":114,"line":115},[7837,7841,7846],{"type":19,"tag":112,"props":7838,"children":7839},{"style":152},[7840],{"type":24,"value":1569},{"type":19,"tag":112,"props":7842,"children":7843},{"style":137},[7844],{"type":24,"value":7845}," opt ",{"type":19,"tag":112,"props":7847,"children":7848},{"style":119},[7849],{"type":24,"value":7850},"=\n",{"type":19,"tag":112,"props":7852,"children":7853},{"class":114,"line":143},[7854,7859,7864,7868],{"type":19,"tag":112,"props":7855,"children":7856},{"style":125},[7857],{"type":24,"value":7858},"    from",{"type":19,"tag":112,"props":7860,"children":7861},{"style":137},[7862],{"type":24,"value":7863}," o1 ",{"type":19,"tag":112,"props":7865,"children":7866},{"style":125},[7867],{"type":24,"value":4105},{"type":19,"tag":112,"props":7869,"children":7870},{"style":137},[7871],{"type":24,"value":7872}," maybeNull\n",{"type":19,"tag":112,"props":7874,"children":7875},{"class":114,"line":163},[7876,7880,7885,7889,7893],{"type":19,"tag":112,"props":7877,"children":7878},{"style":125},[7879],{"type":24,"value":7858},{"type":19,"tag":112,"props":7881,"children":7882},{"style":137},[7883],{"type":24,"value":7884}," o2 ",{"type":19,"tag":112,"props":7886,"children":7887},{"style":125},[7888],{"type":24,"value":4105},{"type":19,"tag":112,"props":7890,"children":7891},{"style":137},[7892],{"type":24,"value":7863},{"type":19,"tag":112,"props":7894,"children":7895},{"style":2202},[7896],{"type":24,"value":7897},"///which also might be null\n",{"type":19,"tag":112,"props":7899,"children":7900},{"class":114,"line":173},[7901,7906,7910,7915,7920,7924,7929,7933,7938,7943,7947,7952,7956],{"type":19,"tag":112,"props":7902,"children":7903},{"style":125},[7904],{"type":24,"value":7905},"    select",{"type":19,"tag":112,"props":7907,"children":7908},{"style":125},[7909],{"type":24,"value":1027},{"type":19,"tag":112,"props":7911,"children":7912},{"style":977},[7913],{"type":24,"value":7914}," Test",{"type":19,"tag":112,"props":7916,"children":7917},{"style":137},[7918],{"type":24,"value":7919},"() { a ",{"type":19,"tag":112,"props":7921,"children":7922},{"style":119},[7923],{"type":24,"value":265},{"type":19,"tag":112,"props":7925,"children":7926},{"style":640},[7927],{"type":24,"value":7928}," 01",{"type":19,"tag":112,"props":7930,"children":7931},{"style":137},[7932],{"type":24,"value":40},{"type":19,"tag":112,"props":7934,"children":7935},{"style":1489},[7936],{"type":24,"value":7937},"Text",{"type":19,"tag":112,"props":7939,"children":7940},{"style":137},[7941],{"type":24,"value":7942},", b ",{"type":19,"tag":112,"props":7944,"children":7945},{"style":119},[7946],{"type":24,"value":265},{"type":19,"tag":112,"props":7948,"children":7949},{"style":137},[7950],{"type":24,"value":7951}," o2.",{"type":19,"tag":112,"props":7953,"children":7954},{"style":1489},[7955],{"type":24,"value":7937},{"type":19,"tag":112,"props":7957,"children":7958},{"style":137},[7959],{"type":24,"value":7960}," };\n",{"type":19,"tag":20,"props":7962,"children":7963},{},[7964],{"type":24,"value":7965},"Make sense?",{"type":19,"tag":2248,"props":7967,"children":7968},{},[7969],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":7971},[],"content:comments:probable-c-6-0-features-illustrated:73776.md","comments/probable-c-6-0-features-illustrated/73776.md","comments/probable-c-6-0-features-illustrated/73776",{"_path":7976,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7977,"description":7978,"id":7979,"name":7980,"email":7981,"avatar":7982,"date":7983,"body":7984,"_type":2301,"_id":7992,"_source":2303,"_file":7993,"_stem":7994,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73770","73770","Imitation being the sincerest form or flattery; F# should be very flattered!  Still, looks a nice set of improvements.",73770,"David","realparadyne@gmail.com","https://www.gravatar.com/avatar/dd0ea9dac86c5bf2c0dd1bcbdbd81fc6?r=pg&d=retro","2013-12-09T17:28:45",{"type":16,"children":7985,"toc":7990},[7986],{"type":19,"tag":20,"props":7987,"children":7988},{},[7989],{"type":24,"value":7978},{"title":9,"searchDepth":143,"depth":143,"links":7991},[],"content:comments:probable-c-6-0-features-illustrated:73770.md","comments/probable-c-6-0-features-illustrated/73770.md","comments/probable-c-6-0-features-illustrated/73770",{"_path":7996,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":7997,"description":7998,"id":7999,"name":8000,"email":8001,"avatar":8002,"url":8003,"date":8004,"body":8005,"_type":2301,"_id":8013,"_source":2303,"_file":8014,"_stem":8015,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73767","73767","For (1) Primary Constructors, I prefer a syntax which allows me to prefix the private instance variables with an underscore ( _x and _y ). This naming convention makes the code more readable, since one can easily distinguish between private instance variables ( _x and _y ) and method local variables ( say m and n ).",73767,"Channs","channappa@outlook.com","https://www.gravatar.com/avatar/e83a1f18ad8a8f7ca8d2d6e38f2a36ac?r=pg&d=retro","https://channs.blogspot.in/","2013-12-09T17:11:02",{"type":16,"children":8006,"toc":8011},[8007],{"type":19,"tag":20,"props":8008,"children":8009},{},[8010],{"type":24,"value":7998},{"title":9,"searchDepth":143,"depth":143,"links":8012},[],"content:comments:probable-c-6-0-features-illustrated:73767.md","comments/probable-c-6-0-features-illustrated/73767.md","comments/probable-c-6-0-features-illustrated/73767",{"_path":8017,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":8018,"description":8019,"id":8020,"name":8021,"email":8022,"avatar":8023,"date":8024,"body":8025,"_type":2301,"_id":8101,"_source":2303,"_file":8102,"_stem":8103,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73764","73764","I hope you will be also able to write:",73764,"Boris Letocha","Boris.Letocha@gmail.com","https://www.gravatar.com/avatar/912f09699c7842dc936f891646c73e0c?r=pg&d=retro","2013-12-09T15:29:11",{"type":16,"children":8026,"toc":8099},[8027,8031,8084,8095],{"type":19,"tag":20,"props":8028,"children":8029},{},[8030],{"type":24,"value":8019},{"type":19,"tag":101,"props":8032,"children":8034},{"className":103,"code":8033,"language":105,"meta":9,"style":9},"dict.TryGet(\"123\", out var x)\n",[8035],{"type":19,"tag":108,"props":8036,"children":8037},{"__ignoreMap":9},[8038],{"type":19,"tag":112,"props":8039,"children":8040},{"class":114,"line":115},[8041,8046,8051,8055,8059,8063,8067,8071,8075,8079],{"type":19,"tag":112,"props":8042,"children":8043},{"style":137},[8044],{"type":24,"value":8045},"dict.",{"type":19,"tag":112,"props":8047,"children":8048},{"style":182},[8049],{"type":24,"value":8050},"TryGet",{"type":19,"tag":112,"props":8052,"children":8053},{"style":137},[8054],{"type":24,"value":189},{"type":19,"tag":112,"props":8056,"children":8057},{"style":1704},[8058],{"type":24,"value":1707},{"type":19,"tag":112,"props":8060,"children":8061},{"style":1710},[8062],{"type":24,"value":2002},{"type":19,"tag":112,"props":8064,"children":8065},{"style":1704},[8066],{"type":24,"value":1707},{"type":19,"tag":112,"props":8068,"children":8069},{"style":137},[8070],{"type":24,"value":205},{"type":19,"tag":112,"props":8072,"children":8073},{"style":119},[8074],{"type":24,"value":2015},{"type":19,"tag":112,"props":8076,"children":8077},{"style":152},[8078],{"type":24,"value":4692},{"type":19,"tag":112,"props":8080,"children":8081},{"style":137},[8082],{"type":24,"value":8083}," x)\n",{"type":19,"tag":20,"props":8085,"children":8086},{},[8087,8089,8094],{"type":24,"value":8088},"It is one of places there you have to declare type and cannot use ",{"type":19,"tag":108,"props":8090,"children":8092},{"className":8091},[],[8093],{"type":24,"value":1569},{"type":24,"value":40},{"type":19,"tag":2248,"props":8096,"children":8097},{},[8098],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":8100},[],"content:comments:probable-c-6-0-features-illustrated:73764.md","comments/probable-c-6-0-features-illustrated/73764.md","comments/probable-c-6-0-features-illustrated/73764",{"_path":8105,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":8106,"description":8107,"id":8108,"name":8109,"email":8110,"avatar":8111,"date":8112,"body":8113,"_type":2301,"_id":8126,"_source":2303,"_file":8127,"_stem":8128,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73761","73761","Yeah! Let's add more keywords doing nothing new in new ways and call that a new version !!",73761,"Nicolas","Nicolas@free.fr","https://www.gravatar.com/avatar/bcf8cb993b4d89247f76541449124733?r=pg&d=retro","2013-12-09T15:08:30",{"type":16,"children":8114,"toc":8124},[8115,8119],{"type":19,"tag":20,"props":8116,"children":8117},{},[8118],{"type":24,"value":8107},{"type":19,"tag":20,"props":8120,"children":8121},{},[8122],{"type":24,"value":8123},"Seriously, I feel bad for CSharpers. It is really time they jump on the Fsharp wagon which is all that's left to be cool on the CLR.",{"title":9,"searchDepth":143,"depth":143,"links":8125},[],"content:comments:probable-c-6-0-features-illustrated:73761.md","comments/probable-c-6-0-features-illustrated/73761.md","comments/probable-c-6-0-features-illustrated/73761",{"_path":8130,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":8131,"description":8132,"id":8133,"name":8134,"email":8135,"avatar":8136,"url":8137,"date":8138,"body":8139,"_type":2301,"_id":8147,"_source":2303,"_file":8148,"_stem":8149,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73755","73755","I feel like I've been waiting for Monadic null checking (7) all my life. Primary Constructors (1) is a fantastic idea but I am not a fan of the given syntax. I like your rewrite. My first thought was to use the 'this' keyword, but 'set' allows it to be intuitive in static constructors as well. I'm not sure I like the idea of auto-creating private fields/properties if they don't exist. That seems like it could easily cause confusion with anyone not familiar with the language feature.",73755,"Josh Jeppson","gravatar@josh.jeppsons.org","https://www.gravatar.com/avatar/543a050e3c38e3a416d4cbaaedf599ce?r=pg&d=retro","https://about.me/joshjeppson","2013-12-09T13:10:09",{"type":16,"children":8140,"toc":8145},[8141],{"type":19,"tag":20,"props":8142,"children":8143},{},[8144],{"type":24,"value":8132},{"title":9,"searchDepth":143,"depth":143,"links":8146},[],"content:comments:probable-c-6-0-features-illustrated:73755.md","comments/probable-c-6-0-features-illustrated/73755.md","comments/probable-c-6-0-features-illustrated/73755",{"_path":8151,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":8152,"description":8153,"id":8154,"name":8155,"email":7682,"avatar":7683,"date":8156,"body":8157,"_type":2301,"_id":8165,"_source":2303,"_file":8166,"_stem":8167,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73753","73753","I would love to see more hardcore features like :\nstring interpolation\ndynamic enhancements\nand not least:  Lambda Expressions to support statements...",73753,"Liviu","2013-12-09T13:07:28",{"type":16,"children":8158,"toc":8163},[8159],{"type":19,"tag":20,"props":8160,"children":8161},{},[8162],{"type":24,"value":8153},{"title":9,"searchDepth":143,"depth":143,"links":8164},[],"content:comments:probable-c-6-0-features-illustrated:73753.md","comments/probable-c-6-0-features-illustrated/73753.md","comments/probable-c-6-0-features-illustrated/73753",{"_path":8169,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":8170,"description":8171,"id":8172,"name":8173,"email":8174,"avatar":8175,"url":8176,"date":8177,"body":8178,"_type":2301,"_id":8270,"_source":2303,"_file":8271,"_stem":8272,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73751","73751","What's interesting about inline out declarations this is that a series of statements is now replaced by an expression, so you could do something like this:",73751,"Keith Dahlby","dahlbyk@gmail.com","https://www.gravatar.com/avatar/43a5676a300a54ffdc903e49a2db9060?r=pg&d=retro","https://keith.lostechies.com/","2013-12-09T12:36:06",{"type":16,"children":8179,"toc":8268},[8180,8184,8264],{"type":19,"tag":20,"props":8181,"children":8182},{},[8183],{"type":24,"value":8171},{"type":19,"tag":101,"props":8185,"children":8187},{"className":103,"code":8186,"language":105,"meta":9,"style":9},"s => int.TryParse(s, out int x) ? x : default(int?);\n",[8188],{"type":19,"tag":108,"props":8189,"children":8190},{"__ignoreMap":9},[8191],{"type":19,"tag":112,"props":8192,"children":8193},{"class":114,"line":115},[8194,8199,8203,8207,8211,8215,8220,8224,8228,8233,8237,8241,8246,8251,8255,8259],{"type":19,"tag":112,"props":8195,"children":8196},{"style":197},[8197],{"type":24,"value":8198},"s",{"type":19,"tag":112,"props":8200,"children":8201},{"style":119},[8202],{"type":24,"value":889},{"type":19,"tag":112,"props":8204,"children":8205},{"style":152},[8206],{"type":24,"value":155},{"type":19,"tag":112,"props":8208,"children":8209},{"style":137},[8210],{"type":24,"value":40},{"type":19,"tag":112,"props":8212,"children":8213},{"style":182},[8214],{"type":24,"value":1989},{"type":19,"tag":112,"props":8216,"children":8217},{"style":137},[8218],{"type":24,"value":8219},"(s, ",{"type":19,"tag":112,"props":8221,"children":8222},{"style":119},[8223],{"type":24,"value":2015},{"type":19,"tag":112,"props":8225,"children":8226},{"style":152},[8227],{"type":24,"value":155},{"type":19,"tag":112,"props":8229,"children":8230},{"style":137},[8231],{"type":24,"value":8232}," x) ",{"type":19,"tag":112,"props":8234,"children":8235},{"style":119},[8236],{"type":24,"value":1588},{"type":19,"tag":112,"props":8238,"children":8239},{"style":137},[8240],{"type":24,"value":1675},{"type":19,"tag":112,"props":8242,"children":8243},{"style":119},[8244],{"type":24,"value":8245},":",{"type":19,"tag":112,"props":8247,"children":8248},{"style":125},[8249],{"type":24,"value":8250}," default",{"type":19,"tag":112,"props":8252,"children":8253},{"style":137},[8254],{"type":24,"value":189},{"type":19,"tag":112,"props":8256,"children":8257},{"style":152},[8258],{"type":24,"value":194},{"type":19,"tag":112,"props":8260,"children":8261},{"style":137},[8262],{"type":24,"value":8263},"?);\n",{"type":19,"tag":2248,"props":8265,"children":8266},{},[8267],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":8269},[],"content:comments:probable-c-6-0-features-illustrated:73751.md","comments/probable-c-6-0-features-illustrated/73751.md","comments/probable-c-6-0-features-illustrated/73751",{"_path":8274,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":8275,"description":8276,"id":8277,"name":5417,"email":5418,"avatar":5419,"url":5420,"date":8278,"body":8279,"_type":2301,"_id":8287,"_source":2303,"_file":8288,"_stem":8289,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73749","73749","Thanks Jesper that makes a lot more sense, I was sure I was wrong. I will update the post.",73749,"2013-12-09T12:00:04",{"type":16,"children":8280,"toc":8285},[8281],{"type":19,"tag":20,"props":8282,"children":8283},{},[8284],{"type":24,"value":8276},{"title":9,"searchDepth":143,"depth":143,"links":8286},[],"content:comments:probable-c-6-0-features-illustrated:73749.md","comments/probable-c-6-0-features-illustrated/73749.md","comments/probable-c-6-0-features-illustrated/73749",{"_path":8291,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":8292,"description":8293,"id":8294,"name":8295,"email":8296,"avatar":8297,"date":8298,"body":8299,"_type":2301,"_id":8439,"_source":2303,"_file":8440,"_stem":8441,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73748","73748","4/5: \"Expression\" in this context does not mean involving expression tree types at all, just expressions that are not standalone statements in brackets. Like how \"1 + 2\" in \"() => 1 +2;\" is not \"() => { return 1+ 2; }\".",73748,"Jesper","jesper.lindholm@treetop.se","https://www.gravatar.com/avatar/5aa663da4a6107980dbe41a33139fd5f?r=pg&d=retro","2013-12-09T11:47:57",{"type":16,"children":8300,"toc":8437},[8301,8305,8310,8368,8373,8433],{"type":19,"tag":20,"props":8302,"children":8303},{},[8304],{"type":24,"value":8293},{"type":19,"tag":20,"props":8306,"children":8307},{},[8308],{"type":24,"value":8309},"So:",{"type":19,"tag":101,"props":8311,"children":8313},{"className":103,"code":8312,"language":105,"meta":9,"style":9},"public double Distance => Sqrt((X * X) + (Y * Y));\n",[8314],{"type":19,"tag":108,"props":8315,"children":8316},{"__ignoreMap":9},[8317],{"type":19,"tag":112,"props":8318,"children":8319},{"class":114,"line":115},[8320,8324,8328,8332,8336,8340,8344,8348,8352,8356,8360,8364],{"type":19,"tag":112,"props":8321,"children":8322},{"style":119},[8323],{"type":24,"value":122},{"type":19,"tag":112,"props":8325,"children":8326},{"style":152},[8327],{"type":24,"value":604},{"type":19,"tag":112,"props":8329,"children":8330},{"style":197},[8331],{"type":24,"value":884},{"type":19,"tag":112,"props":8333,"children":8334},{"style":119},[8335],{"type":24,"value":889},{"type":19,"tag":112,"props":8337,"children":8338},{"style":182},[8339],{"type":24,"value":718},{"type":19,"tag":112,"props":8341,"children":8342},{"style":137},[8343],{"type":24,"value":820},{"type":19,"tag":112,"props":8345,"children":8346},{"style":119},[8347],{"type":24,"value":825},{"type":19,"tag":112,"props":8349,"children":8350},{"style":137},[8351],{"type":24,"value":830},{"type":19,"tag":112,"props":8353,"children":8354},{"style":119},[8355],{"type":24,"value":835},{"type":19,"tag":112,"props":8357,"children":8358},{"style":137},[8359],{"type":24,"value":840},{"type":19,"tag":112,"props":8361,"children":8362},{"style":119},[8363],{"type":24,"value":825},{"type":19,"tag":112,"props":8365,"children":8366},{"style":137},[8367],{"type":24,"value":926},{"type":19,"tag":20,"props":8369,"children":8370},{},[8371],{"type":24,"value":8372},"as a shorter way of writing",{"type":19,"tag":101,"props":8374,"children":8376},{"className":103,"code":8375,"language":105,"meta":9,"style":9},"public double Distance { get { return Sqrt((X * X) + (Y * Y)); } }\n",[8377],{"type":19,"tag":108,"props":8378,"children":8379},{"__ignoreMap":9},[8380],{"type":19,"tag":112,"props":8381,"children":8382},{"class":114,"line":115},[8383,8387,8391,8396,8400,8404,8408,8412,8416,8420,8424,8428],{"type":19,"tag":112,"props":8384,"children":8385},{"style":119},[8386],{"type":24,"value":122},{"type":19,"tag":112,"props":8388,"children":8389},{"style":152},[8390],{"type":24,"value":604},{"type":19,"tag":112,"props":8392,"children":8393},{"style":137},[8394],{"type":24,"value":8395}," Distance { get { ",{"type":19,"tag":112,"props":8397,"children":8398},{"style":125},[8399],{"type":24,"value":510},{"type":19,"tag":112,"props":8401,"children":8402},{"style":182},[8403],{"type":24,"value":718},{"type":19,"tag":112,"props":8405,"children":8406},{"style":137},[8407],{"type":24,"value":820},{"type":19,"tag":112,"props":8409,"children":8410},{"style":119},[8411],{"type":24,"value":825},{"type":19,"tag":112,"props":8413,"children":8414},{"style":137},[8415],{"type":24,"value":830},{"type":19,"tag":112,"props":8417,"children":8418},{"style":119},[8419],{"type":24,"value":835},{"type":19,"tag":112,"props":8421,"children":8422},{"style":137},[8423],{"type":24,"value":840},{"type":19,"tag":112,"props":8425,"children":8426},{"style":119},[8427],{"type":24,"value":825},{"type":19,"tag":112,"props":8429,"children":8430},{"style":137},[8431],{"type":24,"value":8432}," Y)); } }\n",{"type":19,"tag":2248,"props":8434,"children":8435},{},[8436],{"type":24,"value":2252},{"title":9,"searchDepth":143,"depth":143,"links":8438},[],"content:comments:probable-c-6-0-features-illustrated:73748.md","comments/probable-c-6-0-features-illustrated/73748.md","comments/probable-c-6-0-features-illustrated/73748",{"_path":8443,"_dir":2326,"_draft":6,"_partial":6,"_locale":7,"title":8444,"description":8445,"id":8446,"name":8447,"email":8448,"avatar":8449,"url":8450,"date":8451,"body":8452,"_type":2301,"_id":8460,"_source":2303,"_file":8461,"_stem":8462,"_extension":2306},"/comments/probable-c-6-0-features-illustrated/73747","73747","It's going to be interesting how these play out. I'm not sure I like the syntax for #1 or #2",73747,"Blake Niemyjski","bniemyjski@gmail.com","https://www.gravatar.com/avatar/89b10deee628535a5510db131f983541?r=pg&d=retro","https://blakeniemyjski.com","2013-12-09T11:45:50",{"type":16,"children":8453,"toc":8458},[8454],{"type":19,"tag":20,"props":8455,"children":8456},{},[8457],{"type":24,"value":8445},{"title":9,"searchDepth":143,"depth":143,"links":8459},[],"content:comments:probable-c-6-0-features-illustrated:73747.md","comments/probable-c-6-0-features-illustrated/73747.md","comments/probable-c-6-0-features-illustrated/73747",1779264583239]