Click here to Skip to main content
15,890,506 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
NewsC language update puts backward compatibility first Pin
Kent Sharkey13-Nov-18 8:46
staffKent Sharkey13-Nov-18 8:46 
GeneralRe: C language update puts backward compatibility first PinPopular
#realJSOP13-Nov-18 9:57
mve#realJSOP13-Nov-18 9:57 
GeneralRe: C language update puts backward compatibility first Pin
Mark_Wallace13-Nov-18 23:11
Mark_Wallace13-Nov-18 23:11 
NewsVisual Basic in .NET Core 3 Pin
Kent Sharkey13-Nov-18 8:46
staffKent Sharkey13-Nov-18 8:46 
NewsBuilding C# 8.0 Pin
Kent Sharkey13-Nov-18 8:46
staffKent Sharkey13-Nov-18 8:46 
GeneralRe: Building C# 8.0 Pin
ISanti13-Nov-18 23:09
ISanti13-Nov-18 23:09 
GeneralRe: Building C# 8.0 Pin
Rob Grainger13-Nov-18 23:14
Rob Grainger13-Nov-18 23:14 
RantRe: Building C# 8.0 Pin
Bernhard Hiller13-Nov-18 23:36
Bernhard Hiller13-Nov-18 23:36 
Quote:
... rely on new runtime enhancements, and we will not make those in the .NET Runtime 4.8 either. So this feature simply will not work on .NET Framework 4.8 ...
What a great feature! And what about the features of .Net 6 which we use? Will all of them be supported by .NET Core 3.0? I doubt that...

And what a nice code example:
var area = figure switch 
{
    Line _      => 0,
    Rectangle r => r.Width * r.Height,
    Circle c    => Math.PI * c.Radius * c.Radius,
    _           => throw new UnknownFigureException(figure)
};
Why is that bad code?
I could ask such a question in a job interview. I want to see if the candidate understands basic OO concepts and the consequences of unclean code.
(This code places the calculation of the area into an extra class, instead of providing a method in the interface of figure. Adding a new figure type means finding all such places. Of course we can expect many different implementations scattered all over the code base, ...)
Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!

GeneralRe: Building C# 8.0 Pin
Super Lloyd14-Nov-18 18:29
Super Lloyd14-Nov-18 18:29 
NewsThe next version of HTTP won’t be using TCP Pin
Kent Sharkey13-Nov-18 7:46
staffKent Sharkey13-Nov-18 7:46 
GeneralRe: The next version of HTTP won’t be using TCP Pin
Mark_Wallace13-Nov-18 23:14
Mark_Wallace13-Nov-18 23:14 
NewsThe kilogram is dead; long live the kilogram Pin
Kent Sharkey13-Nov-18 7:46
staffKent Sharkey13-Nov-18 7:46 
GeneralRe: The kilogram is dead; long live the kilogram Pin
Daniel Pfeffer13-Nov-18 8:26
professionalDaniel Pfeffer13-Nov-18 8:26 
GeneralRe: The kilogram is dead; long live the kilogram Pin
Joe Woodbury13-Nov-18 13:40
professionalJoe Woodbury13-Nov-18 13:40 
GeneralRe: The kilogram is dead; long live the kilogram Pin
Mark_Wallace13-Nov-18 23:22
Mark_Wallace13-Nov-18 23:22 
NewsMicrosoft to focus on Windows 10 quality after a buggy year Pin
Kent Sharkey13-Nov-18 7:46
staffKent Sharkey13-Nov-18 7:46 
GeneralRe: Microsoft to focus on Windows 10 quality after a buggy year PinPopular
#realJSOP13-Nov-18 8:06
mve#realJSOP13-Nov-18 8:06 
GeneralRe: Microsoft to focus on Windows 10 quality after a buggy year Pin
David O'Neil13-Nov-18 9:04
professionalDavid O'Neil13-Nov-18 9:04 
NewsHow Google Is Slowing Innovation Pin
raddevus13-Nov-18 4:41
mvaraddevus13-Nov-18 4:41 
GeneralRe: How Google Is Slowing Innovation Pin
RickZeeland13-Nov-18 6:29
mveRickZeeland13-Nov-18 6:29 
JokeRe: How Google Is Slowing Innovation Pin
raddevus13-Nov-18 8:02
mvaraddevus13-Nov-18 8:02 
GeneralRe: How Google Is Slowing Innovation Pin
User 1106097913-Nov-18 10:35
User 1106097913-Nov-18 10:35 
GeneralRe: How Google Is Slowing Innovation Pin
raddevus13-Nov-18 11:05
mvaraddevus13-Nov-18 11:05 
GeneralRe: How Google Is Slowing Innovation Pin
User 1106097913-Nov-18 11:25
User 1106097913-Nov-18 11:25 
GeneralRe: How Google Is Slowing Innovation Pin
Mark_Wallace13-Nov-18 23:44
Mark_Wallace13-Nov-18 23:44 

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

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