Click here to Skip to main content
15,895,779 members

Welcome to the Lounge

   

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

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

 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 17:34
mvahoney the codewitch30-Jul-19 17:34 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 18:07
Super Lloyd30-Jul-19 18:07 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 1:29
mvahoney the codewitch31-Jul-19 1:29 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 2:05
Super Lloyd31-Jul-19 2:05 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 2:17
mvahoney the codewitch31-Jul-19 2:17 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 3:13
Super Lloyd31-Jul-19 3:13 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 3:16
mvahoney the codewitch31-Jul-19 3:16 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 3:30
Super Lloyd31-Jul-19 3:30 
I mean it's such an obvious static type check optimisation.. I haven't explicitly checked for it, but I would wage $5 on it! Poke tongue | ;-P
C#
void Do<int>(int value) {
  // I would wage $5 the compiler remove the if statement and execute the nested statement always
  if (value is int ii) { 
  }
  // I would wage 5 dollar this is removed by the compiler
  if (value is double dd) { 
  }
}
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!

GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 3:35
mvahoney the codewitch31-Jul-19 3:35 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:05
Super Lloyd31-Jul-19 5:05 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:11
mvahoney the codewitch31-Jul-19 5:11 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:12
Super Lloyd31-Jul-19 5:12 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:14
mvahoney the codewitch31-Jul-19 5:14 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:15
Super Lloyd31-Jul-19 5:15 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:19
mvahoney the codewitch31-Jul-19 5:19 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:50
Super Lloyd31-Jul-19 5:50 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:53
mvahoney the codewitch31-Jul-19 5:53 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:56
mvahoney the codewitch31-Jul-19 5:56 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 6:01
Super Lloyd31-Jul-19 6:01 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 6:05
mvahoney the codewitch31-Jul-19 6:05 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 6:11
mvahoney the codewitch31-Jul-19 6:11 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:27
mvahoney the codewitch31-Jul-19 5:27 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:51
Super Lloyd31-Jul-19 5:51 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:11
Super Lloyd31-Jul-19 5:11 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:13
mvahoney the codewitch31-Jul-19 5:13 

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.