Click here to Skip to main content
15,900,589 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: Damnit! The internet is down ... Pin
Slow Eddie3-Sep-21 3:39
professionalSlow Eddie3-Sep-21 3:39 
GeneralA conversation heard at Microsoft Pin
BillWoodruff1-Sep-21 20:32
professionalBillWoodruff1-Sep-21 20:32 
GeneralRe: A conversation heard at Microsoft Pin
Daniel Pfeffer1-Sep-21 21:39
professionalDaniel Pfeffer1-Sep-21 21:39 
GeneralRe: A conversation heard at Microsoft Pin
BillWoodruff1-Sep-21 23:21
professionalBillWoodruff1-Sep-21 23:21 
GeneralRe: A conversation heard at Microsoft Pin
Richard Deeming1-Sep-21 22:10
mveRichard Deeming1-Sep-21 22:10 
GeneralRe: A conversation heard at Microsoft Pin
BillWoodruff1-Sep-21 23:05
professionalBillWoodruff1-Sep-21 23:05 
GeneralRe: A conversation heard at Microsoft Pin
Richard Deeming1-Sep-21 23:25
mveRichard Deeming1-Sep-21 23:25 
GeneralRe: A conversation heard at Microsoft Pin
BillWoodruff1-Sep-21 23:46
professionalBillWoodruff1-Sep-21 23:46 
It would be interesting to know if this issue came up in defining the windowsbase.dll code. I'd wager 60/40 odds it is something slipped through the cracks
Richard Deeming wrote:
It's slightly annoying, but there are only so many words you can use to describe a class that represents a point or a size. If every new library that exposes those concepts had to come up with a different word for the same concept, that would be a worse outcome than having to alias the types in the unusual places where both are used.
I must respectfully disagree: if they go to the trouble of using 'Rect instead of 'Rectangle, why re-use 'Point, and 'Size, and cause an unnecessary work-around ? For me, that is the worst outcome Smile | :)
Richard Deeming wrote:
If you start with a class that uses System.Drawing and has unqualified references to Point and Size, then the simplest option is to add aliases for the System.Windows types, and use those in the new code you're writing.
That's exactly what the work-around I show in my first post does, and, when you are dealing with code that uses both libraries, it's a pain in the butt.
Richard Deeming wrote:
But at least the types are in different namespaces, so you don't need to mess around with extern aliases for the assemblies. Smile | :)
Interesting, thanks, I will look into the usage of 'extern.
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch

GeneralRe: A conversation heard at Microsoft Pin
Richard Deeming2-Sep-21 0:09
mveRichard Deeming2-Sep-21 0:09 
GeneralRe: A conversation heard at Microsoft Pin
BillWoodruff2-Sep-21 14:11
professionalBillWoodruff2-Sep-21 14:11 
GeneralRe: A conversation heard at Microsoft Pin
obermd2-Sep-21 8:42
obermd2-Sep-21 8:42 
GeneralRe: A conversation heard at Microsoft Pin
BillWoodruff2-Sep-21 13:56
professionalBillWoodruff2-Sep-21 13:56 
GeneralMessage Closed Pin
1-Sep-21 23:08
professionalBillWoodruff1-Sep-21 23:08 
GeneralRe: A conversation heard at Microsoft Pin
Richard Deeming1-Sep-21 23:17
mveRichard Deeming1-Sep-21 23:17 
GeneralRe: A conversation heard at Microsoft Pin
MadGerbil3-Sep-21 1:51
MadGerbil3-Sep-21 1:51 
GeneralRe: A conversation heard at Microsoft Pin
BillWoodruff3-Sep-21 15:10
professionalBillWoodruff3-Sep-21 15:10 
GeneralRe: A conversation heard at Microsoft Pin
Steve Naidamast3-Sep-21 5:58
professionalSteve Naidamast3-Sep-21 5:58 
GeneralRe: A conversation heard at Microsoft Pin
BillWoodruff3-Sep-21 15:08
professionalBillWoodruff3-Sep-21 15:08 
GeneralOutsourced HR? Pin
David Carta1-Sep-21 19:48
professionalDavid Carta1-Sep-21 19:48 
GeneralRe: Outsourced HR? Pin
Moo v This2-Sep-21 2:58
Moo v This2-Sep-21 2:58 
GeneralRe: Outsourced HR? Pin
David Carta3-Sep-21 5:12
professionalDavid Carta3-Sep-21 5:12 
GeneralRe: Outsourced HR? Pin
rnbergren2-Sep-21 3:12
rnbergren2-Sep-21 3:12 
GeneralRe: Outsourced HR? Pin
dandy722-Sep-21 3:37
dandy722-Sep-21 3:37 
GeneralRe: Outsourced HR? Pin
Moo v This3-Sep-21 3:40
Moo v This3-Sep-21 3:40 
GeneralRe: Outsourced HR? Pin
David Carta3-Sep-21 5:10
professionalDavid Carta3-Sep-21 5:10 

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

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


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   491 votes