Click here to Skip to main content
15,893,814 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: code that makes me sick ... Pin
Rage16-Jan-19 20:44
professionalRage16-Jan-19 20:44 
GeneralRe: code that makes me sick ... Pin
Dominic Burford16-Jan-19 21:51
professionalDominic Burford16-Jan-19 21:51 
GeneralRe: code that makes me sick ... Pin
RugbyLeague16-Jan-19 23:03
RugbyLeague16-Jan-19 23:03 
GeneralRe: code that makes me sick ... Pin
Dominic Burford17-Jan-19 0:24
professionalDominic Burford17-Jan-19 0:24 
GeneralRe: code that makes me sick ... Pin
stoneyowl217-Jan-19 3:13
stoneyowl217-Jan-19 3:13 
GeneralRe: code that makes me sick ... Pin
RugbyLeague17-Jan-19 4:16
RugbyLeague17-Jan-19 4:16 
GeneralRe: code that makes me sick ... Pin
kalberts17-Jan-19 0:25
kalberts17-Jan-19 0:25 
GeneralRe: code that makes me sick ... Pin
Daniel Pfeffer17-Jan-19 2:45
professionalDaniel Pfeffer17-Jan-19 2:45 
Member 7989122 wrote:
The same software also won a first prize for the largest struct definition: approx 8300 lines. If you print it out, 72 lines to the page, that one type defintion would fill a book of 120 pages. True enough: This wasn't one flat set of 8300 fields, but a variant structure defining a protocol element, with a few common header fields followed by all the different variants depending on the function code in the header. Nevertheless, in my eyes this is crazy. ... But then, almost every time I see code relating to telephone switches, I say "This is crazy". I suppose it is just a completely different approach to programming.

I suppose that in a language such as C++, you would have a set of classes, all derived from the same base class, with appropriate serializers for I/O. Given that many of these protocols were implemented in C, I don't see how else they could have done.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

GeneralRe: code that makes me sick ... Pin
kalberts17-Jan-19 3:24
kalberts17-Jan-19 3:24 
GeneralRe: code that makes me sick ... Pin
Daniel Pfeffer17-Jan-19 3:56
professionalDaniel Pfeffer17-Jan-19 3:56 
GeneralRe: code that makes me sick ... Pin
Kornfeld Eliyahu Peter16-Jan-19 21:18
professionalKornfeld Eliyahu Peter16-Jan-19 21:18 
GeneralRe: code that makes me sick ... Pin
den2k8816-Jan-19 21:23
professionalden2k8816-Jan-19 21:23 
GeneralDo you know what happening if there is 5 cm of snow? Pin
Kornfeld Eliyahu Peter16-Jan-19 7:14
professionalKornfeld Eliyahu Peter16-Jan-19 7:14 
GeneralRe: Do you know what happening if there is 5 cm of snow? Pin
Eddy Vluggen16-Jan-19 7:17
professionalEddy Vluggen16-Jan-19 7:17 
GeneralRe: Do you know what happening if there is 5 cm of snow? Pin
kalberts17-Jan-19 0:35
kalberts17-Jan-19 0:35 
QuestionRe: Do you know what happening if there is 5 cm of snow? Pin
Eddy Vluggen17-Jan-19 0:42
professionalEddy Vluggen17-Jan-19 0:42 
AnswerRe: Do you know what happening if there is 5 cm of snow? Pin
kalberts17-Jan-19 0:48
kalberts17-Jan-19 0:48 
GeneralRe: Do you know what happening if there is 5 cm of snow? Pin
Eddy Vluggen17-Jan-19 1:34
professionalEddy Vluggen17-Jan-19 1:34 
GeneralRe: Do you know what happening if there is 5 cm of snow? Pin
kalberts17-Jan-19 4:13
kalberts17-Jan-19 4:13 
GeneralRe: Do you know what happening if there is 5 cm of snow? Pin
Eddy Vluggen17-Jan-19 8:27
professionalEddy Vluggen17-Jan-19 8:27 
GeneralRe: Do you know what happening if there is 5 cm of snow? Pin
Daniel Pfeffer17-Jan-19 2:54
professionalDaniel Pfeffer17-Jan-19 2:54 
GeneralRe: Do you know what happening if there is 5 cm of snow? Pin
Kornfeld Eliyahu Peter19-Jan-19 20:19
professionalKornfeld Eliyahu Peter19-Jan-19 20:19 
GeneralRe: Do you know what happening if there is 5 cm of snow? Pin
jeron116-Jan-19 7:24
jeron116-Jan-19 7:24 
GeneralRe: Do you know what happening if there is 5 cm of snow? Pin
PIEBALDconsult16-Jan-19 9:22
mvePIEBALDconsult16-Jan-19 9:22 
GeneralRe: Do you know what happening if there is 5 cm of snow? Pin
jeron116-Jan-19 10:56
jeron116-Jan-19 10:56 

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.