Click here to Skip to main content
14,689,403 members
Home » Discussions » C#
   

C#

 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 1:36
MemberWiep Corbier16-Jun-20 1:36 
GeneralRe: Multiple Classes, same name Pin
Richard MacCutchan16-Jun-20 1:52
mveRichard MacCutchan16-Jun-20 1:52 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 1:55
MemberWiep Corbier16-Jun-20 1:55 
GeneralRe: Multiple Classes, same name Pin
Richard MacCutchan16-Jun-20 2:05
mveRichard MacCutchan16-Jun-20 2:05 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 2:17
MemberWiep Corbier16-Jun-20 2:17 
GeneralRe: Multiple Classes, same name Pin
Richard MacCutchan16-Jun-20 2:37
mveRichard MacCutchan16-Jun-20 2:37 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 2:50
MemberWiep Corbier16-Jun-20 2:50 
GeneralRe: Multiple Classes, same name Pin
OriginalGriff16-Jun-20 2:58
mveOriginalGriff16-Jun-20 2:58 
Sometimes, the most constructive thing you can be told is "that is a dumb idea - don't waste any more of your time on it". And one of the hardest things we have to do as developers is recognise that fact about our own stuff and throw it away and start again.

We all do it: I had a brilliant scheme laid out - pages and page of design documents, using abstract classes to their full extent: everything was beautiful, it would be perfect. Except ... C# doesn't have abstract static methods. And for very, very good reasons.

So the whole lot: design, code, the whole idea was a pile of garbage, and I had to chuck it and start again.

That really is hard to do, but it's part of the job. Yes, I could have bodged round the problem, hacked it here, forced it there - but the result would be clumsy, hard to work with, and difficult to maintain; as well as having a lot of "holes" for bugs to hide.

Trust us: this is an idea you should drop!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 3:10
MemberWiep Corbier16-Jun-20 3:10 
GeneralRe: Multiple Classes, same name Pin
Richard MacCutchan16-Jun-20 3:18
mveRichard MacCutchan16-Jun-20 3:18 
GeneralRe: Multiple Classes, same name Pin
Member 798912216-Jun-20 4:13
MemberMember 798912216-Jun-20 4:13 
GeneralRe: Multiple Classes, same name Pin
Richard MacCutchan16-Jun-20 4:50
mveRichard MacCutchan16-Jun-20 4:50 
GeneralRe: Multiple Classes, same name Pin
Nelek22-Jun-20 6:58
protectorNelek22-Jun-20 6:58 
GeneralRe: Multiple Classes, same name Pin
Dave Kreskowiak16-Jun-20 4:22
mveDave Kreskowiak16-Jun-20 4:22 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 4:26
MemberWiep Corbier16-Jun-20 4:26 
GeneralRe: Multiple Classes, same name Pin
Dave Kreskowiak16-Jun-20 4:42
mveDave Kreskowiak16-Jun-20 4:42 
GeneralRe: Multiple Classes, same name Pin
ZurdoDev16-Jun-20 5:00
mveZurdoDev16-Jun-20 5:00 
AnswerRe: Multiple Classes, same name Pin
Pete O'Hanlon16-Jun-20 2:45
subeditorPete O'Hanlon16-Jun-20 2:45 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 2:58
MemberWiep Corbier16-Jun-20 2:58 
GeneralRe: Multiple Classes, same name Pin
OriginalGriff16-Jun-20 3:28
mveOriginalGriff16-Jun-20 3:28 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 3:33
MemberWiep Corbier16-Jun-20 3:33 
GeneralRe: Multiple Classes, same name Pin
OriginalGriff16-Jun-20 3:45
mveOriginalGriff16-Jun-20 3:45 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 4:10
MemberWiep Corbier16-Jun-20 4:10 
GeneralRe: Multiple Classes, same name Pin
Dave Kreskowiak16-Jun-20 4:32
mveDave Kreskowiak16-Jun-20 4:32 
GeneralRe: Multiple Classes, same name Pin
Wiep Corbier16-Jun-20 4:54
MemberWiep Corbier16-Jun-20 4:54 

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.