Click here to Skip to main content
15,880,469 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: .Net Core 6 jumps the shark Pin
Phil.Benson8-Dec-21 2:01
professionalPhil.Benson8-Dec-21 2:01 
GeneralRe: .Net Core 6 jumps the shark Pin
Dave Kreskowiak8-Dec-21 2:04
mveDave Kreskowiak8-Dec-21 2:04 
GeneralRe: .Net Core 6 jumps the shark Pin
Phil.Benson8-Dec-21 2:06
professionalPhil.Benson8-Dec-21 2:06 
GeneralRe: .Net Core 6 jumps the shark Pin
Dave Kreskowiak8-Dec-21 2:10
mveDave Kreskowiak8-Dec-21 2:10 
GeneralRe: .Net Core 6 jumps the shark Pin
Phil.Benson8-Dec-21 2:20
professionalPhil.Benson8-Dec-21 2:20 
GeneralRe: .Net Core 6 jumps the shark Pin
jschell23-Jan-22 9:01
jschell23-Jan-22 9:01 
GeneralRe: .Net Core 6 jumps the shark Pin
Dave Kreskowiak23-Jan-22 9:32
mveDave Kreskowiak23-Jan-22 9:32 
GeneralRe: .Net Core 6 jumps the shark Pin
jschell30-Jan-22 6:04
jschell30-Jan-22 6:04 
Dave Kreskowiak wrote:
Yep, and it was ugly and included certain restrictions on how the code had to be written.


I would need more details. How the code and not for example process failures would lead to problems.

I have worked on two products in C# that did dynamic code compiling. Certainly no restrictions that ever stopped what I wanted to do or in one case many customers that were using the product to write code, for the actual code.

I didn't try to keep it in memory but the dlls were loaded dynamically in both cases. So converting to memory for that part would have been easy.

Now the entire process is "ugly" but in both cases there was much of what was done that could not have been done, in a product feature way, that would have removed that requirement.

In both cases people tended to get excited and then over use it. I have done the same with java (at least 3 times) and that problem happens with that as well. However that is a process problem not a code problem.

So in C# does it have to do with actually saving it to memory?
GeneralRe: .Net Core 6 jumps the shark Pin
Dave Kreskowiak30-Jan-22 6:07
mveDave Kreskowiak30-Jan-22 6:07 
GeneralRe: .Net Core 6 jumps the shark Pin
RickZeeland28-Nov-21 6:45
mveRickZeeland28-Nov-21 6:45 
GeneralRe: .Net Core 6 jumps the shark Pin
raddevus28-Nov-21 6:50
mvaraddevus28-Nov-21 6:50 
GeneralRe: .Net Core 6 jumps the shark Pin
RickZeeland28-Nov-21 7:54
mveRickZeeland28-Nov-21 7:54 
GeneralRe: .Net Core 6 jumps the shark Pin
raddevus28-Nov-21 11:41
mvaraddevus28-Nov-21 11:41 
GeneralRe: .Net Core 6 jumps the shark Pin
Super Lloyd28-Nov-21 20:12
Super Lloyd28-Nov-21 20:12 
GeneralRe: .Net Core 6 jumps the shark Pin
Richard Deeming28-Nov-21 21:52
mveRichard Deeming28-Nov-21 21:52 
GeneralRe: .Net Core 6 jumps the shark Pin
Eusebiu Marcu28-Nov-21 20:58
Eusebiu Marcu28-Nov-21 20:58 
GeneralRe: .Net Core 6 jumps the shark Pin
den2k8829-Nov-21 0:01
professionalden2k8829-Nov-21 0:01 
GeneralRe: .Net Core 6 jumps the shark Pin
Member 916705729-Nov-21 1:14
Member 916705729-Nov-21 1:14 
GeneralRe: .Net Core 6 jumps the shark Pin
MSBassSinger29-Nov-21 4:25
professionalMSBassSinger29-Nov-21 4:25 
GeneralRe: .Net Core 6 jumps the shark Pin
Jon McKee4-Dec-21 13:37
professionalJon McKee4-Dec-21 13:37 
GeneralRe: .Net Core 6 jumps the shark Pin
MSBassSinger4-Dec-21 13:56
professionalMSBassSinger4-Dec-21 13:56 
GeneralRe: .Net Core 6 jumps the shark Pin
Jon McKee4-Dec-21 14:21
professionalJon McKee4-Dec-21 14:21 
GeneralRe: .Net Core 6 jumps the shark Pin
MSBassSinger4-Dec-21 15:00
professionalMSBassSinger4-Dec-21 15:00 
GeneralRe: .Net Core 6 jumps the shark Pin
Jon McKee4-Dec-21 16:12
professionalJon McKee4-Dec-21 16:12 
GeneralRe: .Net Core 6 jumps the shark Pin
Richard Deeming5-Dec-21 22:00
mveRichard Deeming5-Dec-21 22:00 

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.