Click here to Skip to main content
14,660,332 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: while(true) is not fun Pin
trønderen21-Sep-20 3:17
Membertrønderen21-Sep-20 3:17 
GeneralRe: while(true) is not fun Pin
honey the codewitch21-Sep-20 3:39
mvahoney the codewitch21-Sep-20 3:39 
GeneralRe: while(true) is not fun Pin
Grant Rostig21-Sep-20 19:04
MemberGrant Rostig21-Sep-20 19:04 
GeneralRe: while(true) is not fun Pin
trønderen22-Sep-20 0:24
Membertrønderen22-Sep-20 0:24 
GeneralRe: while(true) is not fun Pin
honey the codewitch22-Sep-20 4:34
mvahoney the codewitch22-Sep-20 4:34 
GeneralRe: while(true) is not fun Pin
Nelek20-Sep-20 20:31
protectorNelek20-Sep-20 20:31 
GeneralRe: while(true) is not fun Pin
Frank Malcolm24-Sep-20 12:40
MemberFrank Malcolm24-Sep-20 12:40 
GeneralRe: while(true) is not fun Pin
BillWoodruff20-Sep-20 10:46
mveBillWoodruff20-Sep-20 10:46 
well, my peers, and mentors, i intended this post as a tongue-in-cheek jiggery-pokery i hoped would not be taken seriously ...

back in the days some of us fossils can remember, languages, like Fortran, had simple control structures; you had to use 'goto to exit a DO loop; that, and BASIC, are the context in which Dijkstra's famous hyperbolic essay took aim [^].

in today's high-level languages, like C#, the underlying use of jumps/gotos is abstracted away for very good reasons.

if i see a while(true) in C#, i call that sloppy code that lacks documentation, and, is less maintainable, because you've got to study the interior code to figure out what, if anything, makes it stop.

and, it never returns? [^]
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali

GeneralRe: while(true) is not fun Pin
Member 448047420-Sep-20 19:36
MemberMember 448047420-Sep-20 19:36 
GeneralRe: while(true) is not fun Pin
Member 1486610420-Sep-20 19:47
MemberMember 1486610420-Sep-20 19:47 
GeneralRe: while(true) is not fun Pin
Wizard of Sleeves20-Sep-20 20:23
MemberWizard of Sleeves20-Sep-20 20:23 
GeneralRe: while(true) is not fun Pin
Rage20-Sep-20 21:01
professionalRage20-Sep-20 21:01 
GeneralGoto considered useful Pin
Martijn Smitshoek20-Sep-20 20:48
MemberMartijn Smitshoek20-Sep-20 20:48 
GeneralRe: while(true) is not fun Pin
Rene Balvert20-Sep-20 20:48
MemberRene Balvert20-Sep-20 20:48 
GeneralRe: while(true) is not fun Pin
trønderen21-Sep-20 2:47
Membertrønderen21-Sep-20 2:47 
GeneralRe: while(true) is not fun Pin
Bob Beechey20-Sep-20 20:49
MemberBob Beechey20-Sep-20 20:49 
GeneralRe: while(true) is not fun Pin
c6jones72020-Sep-20 22:21
Memberc6jones72020-Sep-20 22:21 
GeneralRe: while(true) is not fun Pin
#realJSOP20-Sep-20 23:52
mva#realJSOP20-Sep-20 23:52 
GeneralRe: while(true) is not fun Pin
glennPattonInThePubAgain!20-Sep-20 23:55
professionalglennPattonInThePubAgain!20-Sep-20 23:55 
GeneralRe: while(true) is not fun Pin
Marc Clifton21-Sep-20 2:58
mvaMarc Clifton21-Sep-20 2:58 
GeneralRe: while(true) is not fun Pin
James Curran21-Sep-20 3:29
MemberJames Curran21-Sep-20 3:29 
GeneralRe: while(true) is not fun Pin
trønderen21-Sep-20 4:04
Membertrønderen21-Sep-20 4:04 
GeneralRe: while(true) is not fun Pin
James Curran21-Sep-20 6:06
MemberJames Curran21-Sep-20 6:06 
GeneralRe: while(true) is not fun Pin
trønderen22-Sep-20 0:44
Membertrønderen22-Sep-20 0:44 
GeneralRe: while(true) is not fun Pin
obermd21-Sep-20 3:55
Memberobermd21-Sep-20 3:55 

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.