Click here to Skip to main content
15,893,161 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
BillWoodruff1-Sep-21 23:10
professionalBillWoodruff1-Sep-21 23:10 
GeneralRe: Damnit! The internet is down ... Pin
Daniel Pfeffer2-Sep-21 1:52
professionalDaniel Pfeffer2-Sep-21 1:52 
GeneralRe: Damnit! The internet is down ... Pin
BillWoodruff2-Sep-21 3:33
professionalBillWoodruff2-Sep-21 3:33 
GeneralRe: Damnit! The internet is down ... Pin
MarkTJohnson2-Sep-21 4:34
professionalMarkTJohnson2-Sep-21 4:34 
GeneralRe: Damnit! The internet is down ... Pin
rnbergren2-Sep-21 5:10
rnbergren2-Sep-21 5:10 
GeneralRe: Damnit! The internet is down ... Pin
Gerry Schmitz2-Sep-21 6:25
mveGerry Schmitz2-Sep-21 6:25 
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 
Around a luxe conference table, in a room with a large window offering a view of a manicured garden with trees and flower beds, on a late spring day, when the Pacific Northwest's lust for wet and drizzle had not subdued the sun, in Redmond:

PM Program Manager
Dv1 Developer 1 wpf team
Dv2 Developer 2 winform team
Dv3 Developer 3 core team, xamarin team

PM: "Okay, the team working on windowsbase.dll has some exciting news to share ... over to you Dv1:"

Dv1: "Thanks, I'm really jacked-up today, and, not just from Red Bull (laughter); we've finished regression testing on the new Point, Vector, and Rect classes for WBD: performance is excellent, with low memory footprints at 500k+ instance scales ... even at only 16 gigs of memory."

(Applause)

PM: "Issues ?"

Dv2: "'Point:' that's a name collision with WinForms !"

Dv1: "uhhh ... we've never heard anything about using WBD with WinForms ... uhhh ... that's not in the spec ... uhhh ... is it supposed to be used in WinForms ?"

PM: "Who wrote the spec ?"

DV1: "... uhhh .... that would be the WPF team, and, since the cutbacks in the WPF and WinForms teams, we haven't had the kind of exchanges ..."

PM: "We can stop right there; we're not here to discuss staffing. What is the worst possible case here ?"

Dv2: "... well, a WinForm dev with a big app makes a lot of use of System.Drawing.Point ,,, then, he references WBD ... everything breaks ... the old ambiguity name clash TKO ..."

Dv1: "What's 'TKO' ?"

Dv2: "... 'Technical Knock Out' ... a boxing thing."

PM: "Can we stay on track, here, and not use acros that are not MS' acros ?"

DV3: "... well at Ms, 'TKO' could well stand for 'technical knowledge oversight' ..."

PM: "Enough already ! What's the fix ?"

Dv1: "well, make it work only in WPF, Core ... "

Dv2: "not a good idea; winform devs want to use these new structures."

Dv3: "just finesse it ? tell winform devs to use WBD in namespaces where they don't reference System.Drawing ?"

Dv2: "not good ... that means a winform dev with a big app may have to do a humongous re-write."

Dv1: "Is it really so bad ? I mean you start with a big app that does not make use of WBD, you replace every instance of 'Point' with 'System.Drawing.Point' ... you're good to go."

DV3: "imho, any global search and replace on a big app is ... suboptimal."

Dv2: "Isn't the real solution to rename Point in WBD so it doesn't clash with System.Drawing ?"

Dv1: "... not happening !"

A moment of silence.

PM: "Would the WPF team enjoy the cost of re-testing, and the cost of handling dev support when their apps break ... because 'Point' doesn't work any more in apps using WBD ? ... taken out of their next-year budget ? ... would the WinForms team like to share the cost ?"

A silence.

PM: "Excellent, I'm upping status to golden master, and, on that happy note, meeting's over."

Dv1 looked up from his Surface G0, where he had been tying notes: "Hey ... wait a minute ... I forgot about 'Size' ... that's another ..."

Before Dv1 could reach the end of his sentence, he noticed the room was ... empty.

~ postscript

I am rewriting a WinForm geometry library to use the new WBD structures. I am using these "expedients," at present, in namespaces where both library-flavors of Point and Size are used.
using SdPoint = System.Drawing.Point;
using SwPoint = System.Windows.Point;
using SdSize = System.Drawing.Size;
using SwSize = System.Windows.Size;
Eventually, I will evaluate the cost of isolating the code so name clashes are avoided, while still using the "native" names.
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch


modified 2-Sep-21 3:15am.

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 
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 

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.