Click here to Skip to main content
15,889,992 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: How did they do it? Pin
honey the codewitch6-May-22 1:18
mvahoney the codewitch6-May-22 1:18 
GeneralRe: How did they do it? Pin
Dougy836-May-22 1:48
Dougy836-May-22 1:48 
GeneralRe: How did they do it? Pin
honey the codewitch6-May-22 1:55
mvahoney the codewitch6-May-22 1:55 
GeneralRe: How did they do it? Pin
Dougy836-May-22 1:57
Dougy836-May-22 1:57 
GeneralRe: How did they do it? Pin
Dougy836-May-22 1:56
Dougy836-May-22 1:56 
GeneralRe: How did they do it? Pin
Cpichols6-May-22 1:49
Cpichols6-May-22 1:49 
GeneralRe: How did they do it? Pin
honey the codewitch6-May-22 1:58
mvahoney the codewitch6-May-22 1:58 
GeneralRe: How did they do it? Pin
Gary Wheeler6-May-22 2:02
Gary Wheeler6-May-22 2:02 
For a moment forget about your environment and try to think like the original developers. You've got very limited RAM, and slightly-less limited code space. This means your code has to be clever. It also implies you don't necessarily have to handle the arbitrary, general case where all possibilities are handled regardless of what seems to be allowed by the parameters.

As an example, suppose you have a signed 16-bit value to handle. Does the usage really need to allow for negative values? What about zero (0)? What's the actual, practical range for the value?

Figuring out the actual, implicit (and undocumented) constraints can help figure out a practical algorithm.
Software Zen: delete this;

GeneralRe: How did they do it? Pin
honey the codewitch6-May-22 2:44
mvahoney the codewitch6-May-22 2:44 
GeneralRe: How did they do it? Pin
Gary Wheeler6-May-22 2:48
Gary Wheeler6-May-22 2:48 
GeneralRe: How did they do it? Pin
honey the codewitch6-May-22 2:52
mvahoney the codewitch6-May-22 2:52 
GeneralRe: How did they do it? Pin
Gary Wheeler6-May-22 3:16
Gary Wheeler6-May-22 3:16 
GeneralRe: How did they do it? Pin
honey the codewitch6-May-22 3:18
mvahoney the codewitch6-May-22 3:18 
GeneralMay the Farce Be With You Pin
BernardIE53174-May-22 14:35
BernardIE53174-May-22 14:35 
General50% french is english Pin
Southmountain4-May-22 14:25
Southmountain4-May-22 14:25 
GeneralRe: 50% french is english Pin
PIEBALDconsult4-May-22 14:32
mvePIEBALDconsult4-May-22 14:32 
GeneralRe: 50% french is english Pin
Southmountain4-May-22 16:43
Southmountain4-May-22 16:43 
GeneralRe: 50% french is english Pin
Richard Deeming4-May-22 21:18
mveRichard Deeming4-May-22 21:18 
GeneralRe: 50% french is english Pin
Peter_in_27804-May-22 16:15
professionalPeter_in_27804-May-22 16:15 
GeneralRe: 50% french is english Pin
Amarnath S4-May-22 16:47
professionalAmarnath S4-May-22 16:47 
GeneralRe: 50% french is english Pin
CPallini4-May-22 20:34
mveCPallini4-May-22 20:34 
GeneralRe: 50% french is english Pin
DerekT-P4-May-22 21:20
professionalDerekT-P4-May-22 21:20 
GeneralRe: 50% french is english Pin
GuyThiebaut4-May-22 21:30
professionalGuyThiebaut4-May-22 21:30 
GeneralRe: 50% french is english Pin
Rajeev Jayaram5-May-22 6:21
Rajeev Jayaram5-May-22 6:21 
GeneralWordle Hurdle Pin
Vivi Chellappa4-May-22 10:13
professionalVivi Chellappa4-May-22 10:13 

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.