Click here to Skip to main content
15,916,432 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: Why use the correct exception type? Pin
raddevus26-Mar-18 9:07
mvaraddevus26-Mar-18 9:07 
GeneralRe: Why use the correct exception type? Pin
Mycroft Holmes26-Mar-18 14:30
professionalMycroft Holmes26-Mar-18 14:30 
JokeRe: Why use the correct exception type? Pin
raddevus27-Mar-18 2:23
mvaraddevus27-Mar-18 2:23 
GeneralRe: Why use the correct exception type? Pin
Bruce Patin29-Mar-18 3:44
Bruce Patin29-Mar-18 3:44 
GeneralRe: Why use the correct exception type? Pin
littleGreenDude3-Apr-18 10:13
littleGreenDude3-Apr-18 10:13 
GeneralRe: Why use the correct exception type? Pin
Dr.Walt Fair, PE12-Apr-18 9:40
professionalDr.Walt Fair, PE12-Apr-18 9:40 
GeneralRe: Why use the correct exception type? Pin
GuyThiebaut25-Mar-18 8:00
professionalGuyThiebaut25-Mar-18 8:00 
GeneralRe: Why use the correct exception type? Pin
phil.o23-Mar-18 15:41
professionalphil.o23-Mar-18 15:41 
GeneralRe: Why use the correct exception type? Pin
Smart K814-Apr-18 1:20
professionalSmart K814-Apr-18 1:20 
GeneralRe: Why use the correct exception type? Pin
RickZeeland23-Mar-18 20:00
mveRickZeeland23-Mar-18 20:00 
GeneralRe: Why use the correct exception type? Pin
Jörgen Andersson24-Mar-18 22:11
professionalJörgen Andersson24-Mar-18 22:11 
GeneralRe: Why use the correct exception type? Pin
Chris Maunder25-Mar-18 0:06
cofounderChris Maunder25-Mar-18 0:06 
GeneralRe: Why use the correct exception type? Pin
Jörgen Andersson25-Mar-18 3:23
professionalJörgen Andersson25-Mar-18 3:23 
GeneralRe: Why use the correct exception type? Pin
Chris Maunder25-Mar-18 11:49
cofounderChris Maunder25-Mar-18 11:49 
GeneralRe: Why use the correct exception type? Pin
Jörgen Andersson25-Mar-18 11:54
professionalJörgen Andersson25-Mar-18 11:54 
GeneralRe: Why use the correct exception type? Pin
Chris Maunder25-Mar-18 12:07
cofounderChris Maunder25-Mar-18 12:07 
GeneralRe: Why use the correct exception type? Pin
Sentenryu29-Mar-18 1:17
Sentenryu29-Mar-18 1:17 
GeneralRe: Why use the correct exception type? Pin
Slacker00726-Mar-18 1:18
professionalSlacker00726-Mar-18 1:18 
GeneralRe: Why use the correct exception type? Pin
Bernhard Hiller26-Mar-18 2:04
Bernhard Hiller26-Mar-18 2:04 
GeneralRe: Why use the correct exception type? Pin
F-ES Sitecore26-Mar-18 3:22
professionalF-ES Sitecore26-Mar-18 3:22 
GeneralRe: Why use the correct exception type? Pin
Slacker00726-Mar-18 6:51
professionalSlacker00726-Mar-18 6:51 
GeneralRe: Why use the correct exception type? Pin
Tim Carmichael27-Mar-18 6:44
Tim Carmichael27-Mar-18 6:44 
GeneralRe: Why use the correct exception type? Pin
S Douglas28-Mar-18 9:10
professionalS Douglas28-Mar-18 9:10 
GeneralRe: Why use the correct exception type? Pin
Kirill Illenseer28-Mar-18 22:40
Kirill Illenseer28-Mar-18 22:40 
GeneralRe: Why use the correct exception type? Pin
Sentenryu29-Mar-18 1:28
Sentenryu29-Mar-18 1:28 
I mean, not really? COM files have a size limit because they behave different from EXE files (or rather, EXE files behave different, since COM is the original). When you try to load a COM file that exceeds this limit you're really running out of memory, before the code can even start to be executed.

Could they read the file size and predict that? they couldn't (or just didn't, hard to say with stuff this old) when COM files where actually being used, so the current included loaders also don't. You don't really want to mess with those kinds of legacy systems, specially when they are useless for current developments and the alternative doesn't share the concerns.

COM file - Wikipedia

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.