▲ 814 ▼ "Source code file" (gregtech.eu) submitted 1 year ago by lena@gregtech.eu to c/programmer_humor@programming.dev 198 comments fedilink hide all child comments
[–] spicehoarder@lemmy.zip 74 points 1 year ago (16 children) This just confirms Twitter is a 1M line BASIC program. permalink fedilink source hideshow 16 child comments replies: [–] YtA4QCam2A9j7EfTgHrH@infosec.pub 29 points 1 year ago (15 children) Think of all the GOTOs permalink fedilink source parent hideshow 15 child comments replies: [–] JohnnyCanuck@lemmy.ca 1 point 1 year ago Nah it's just if-then-elses all the way down permalink fedilink source parent [–] ChickenLadyLovesLife@lemmy.world 9 points 1 year ago (11 children) More like all the On Error Resume Next statements. Which wasn't even the worst thing about Visual Basic! VB also had the On Error Resume statement. On Error Resume Next at least moved on to the next line after an error occurred; On Error Resume just re-executed the error-generating line, I guess on the assumption that something would eventually change there. permalink fedilink source parent hideshow 11 child comments replies: [–] locuester@lemmy.zip 5 points 1 year ago (10 children) There would just be one of those, at the top of the 1 file… permalink fedilink source parent hideshow 10 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (9 children) On Error was used within a function, so you would have one (or more ... or less) per function. permalink fedilink source parent hideshow 9 child comments replies: [–] ICastFist@programming.dev 1 point 1 year ago One function per file is definitely what grok would output permalink fedilink source parent [–] locuester@lemmy.zip 4 points 1 year ago (7 children) Oof indeed! After 40 years, I forgot it even had fns permalink fedilink source parent hideshow 7 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (6 children) I started with VB3, which didn't have custom classes. I have no idea how I did anything back then, but at least it was better than TurboBasic. permalink fedilink source parent hideshow 6 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (5 children) I did years of gw-basic, then ms quickbasic, j++, java, c#, now rust. permalink fedilink source parent hideshow 5 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago* (3 children) I did BASIC on the Apple IIe, then TurboBasic, Visual Basic (3, 4, 5 and 6 with some C in there somewhere), VB.Net, C#, Java, Objective-C and finally QT. Now I drive a school bus. permalink fedilink source parent hideshow 3 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (2 children) Omg you landed my dream job. Another couple years and I can quit this desk shit and go make kids lives better. permalink fedilink source parent hideshow 2 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago (1 child) Lol "landed". We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn't even get suspended. permalink fedilink source parent hideshow 1 child comment replies: [–] locuester@lemmy.zip 1 point 1 year ago Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy permalink fedilink source parent [–] voodooattack@lemmy.world 3 points 1 year ago Interesting to meet another person that went through the “GW-BASIC to Rust” journey. Mine was through FreeBasic and C++ in the middle but we ended up in the same neighbourhood. permalink fedilink source parent [–] Valmond@lemmy.world 3 points 1 year ago (1 child) Elon goto hell permalink fedilink source parent hideshow 1 child comment replies: [–] YtA4QCam2A9j7EfTgHrH@infosec.pub 2 points 1 year ago GOTO considered harmful, except in this case permalink fedilink source parent
[–] YtA4QCam2A9j7EfTgHrH@infosec.pub 29 points 1 year ago (15 children) Think of all the GOTOs permalink fedilink source parent hideshow 15 child comments replies: [–] JohnnyCanuck@lemmy.ca 1 point 1 year ago Nah it's just if-then-elses all the way down permalink fedilink source parent [–] ChickenLadyLovesLife@lemmy.world 9 points 1 year ago (11 children) More like all the On Error Resume Next statements. Which wasn't even the worst thing about Visual Basic! VB also had the On Error Resume statement. On Error Resume Next at least moved on to the next line after an error occurred; On Error Resume just re-executed the error-generating line, I guess on the assumption that something would eventually change there. permalink fedilink source parent hideshow 11 child comments replies: [–] locuester@lemmy.zip 5 points 1 year ago (10 children) There would just be one of those, at the top of the 1 file… permalink fedilink source parent hideshow 10 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (9 children) On Error was used within a function, so you would have one (or more ... or less) per function. permalink fedilink source parent hideshow 9 child comments replies: [–] ICastFist@programming.dev 1 point 1 year ago One function per file is definitely what grok would output permalink fedilink source parent [–] locuester@lemmy.zip 4 points 1 year ago (7 children) Oof indeed! After 40 years, I forgot it even had fns permalink fedilink source parent hideshow 7 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (6 children) I started with VB3, which didn't have custom classes. I have no idea how I did anything back then, but at least it was better than TurboBasic. permalink fedilink source parent hideshow 6 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (5 children) I did years of gw-basic, then ms quickbasic, j++, java, c#, now rust. permalink fedilink source parent hideshow 5 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago* (3 children) I did BASIC on the Apple IIe, then TurboBasic, Visual Basic (3, 4, 5 and 6 with some C in there somewhere), VB.Net, C#, Java, Objective-C and finally QT. Now I drive a school bus. permalink fedilink source parent hideshow 3 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (2 children) Omg you landed my dream job. Another couple years and I can quit this desk shit and go make kids lives better. permalink fedilink source parent hideshow 2 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago (1 child) Lol "landed". We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn't even get suspended. permalink fedilink source parent hideshow 1 child comment replies: [–] locuester@lemmy.zip 1 point 1 year ago Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy permalink fedilink source parent [–] voodooattack@lemmy.world 3 points 1 year ago Interesting to meet another person that went through the “GW-BASIC to Rust” journey. Mine was through FreeBasic and C++ in the middle but we ended up in the same neighbourhood. permalink fedilink source parent [–] Valmond@lemmy.world 3 points 1 year ago (1 child) Elon goto hell permalink fedilink source parent hideshow 1 child comment replies: [–] YtA4QCam2A9j7EfTgHrH@infosec.pub 2 points 1 year ago GOTO considered harmful, except in this case permalink fedilink source parent
[–] JohnnyCanuck@lemmy.ca 1 point 1 year ago Nah it's just if-then-elses all the way down permalink fedilink source parent
[–] ChickenLadyLovesLife@lemmy.world 9 points 1 year ago (11 children) More like all the On Error Resume Next statements. Which wasn't even the worst thing about Visual Basic! VB also had the On Error Resume statement. On Error Resume Next at least moved on to the next line after an error occurred; On Error Resume just re-executed the error-generating line, I guess on the assumption that something would eventually change there. permalink fedilink source parent hideshow 11 child comments replies: [–] locuester@lemmy.zip 5 points 1 year ago (10 children) There would just be one of those, at the top of the 1 file… permalink fedilink source parent hideshow 10 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (9 children) On Error was used within a function, so you would have one (or more ... or less) per function. permalink fedilink source parent hideshow 9 child comments replies: [–] ICastFist@programming.dev 1 point 1 year ago One function per file is definitely what grok would output permalink fedilink source parent [–] locuester@lemmy.zip 4 points 1 year ago (7 children) Oof indeed! After 40 years, I forgot it even had fns permalink fedilink source parent hideshow 7 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (6 children) I started with VB3, which didn't have custom classes. I have no idea how I did anything back then, but at least it was better than TurboBasic. permalink fedilink source parent hideshow 6 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (5 children) I did years of gw-basic, then ms quickbasic, j++, java, c#, now rust. permalink fedilink source parent hideshow 5 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago* (3 children) I did BASIC on the Apple IIe, then TurboBasic, Visual Basic (3, 4, 5 and 6 with some C in there somewhere), VB.Net, C#, Java, Objective-C and finally QT. Now I drive a school bus. permalink fedilink source parent hideshow 3 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (2 children) Omg you landed my dream job. Another couple years and I can quit this desk shit and go make kids lives better. permalink fedilink source parent hideshow 2 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago (1 child) Lol "landed". We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn't even get suspended. permalink fedilink source parent hideshow 1 child comment replies: [–] locuester@lemmy.zip 1 point 1 year ago Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy permalink fedilink source parent [–] voodooattack@lemmy.world 3 points 1 year ago Interesting to meet another person that went through the “GW-BASIC to Rust” journey. Mine was through FreeBasic and C++ in the middle but we ended up in the same neighbourhood. permalink fedilink source parent
[–] locuester@lemmy.zip 5 points 1 year ago (10 children) There would just be one of those, at the top of the 1 file… permalink fedilink source parent hideshow 10 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (9 children) On Error was used within a function, so you would have one (or more ... or less) per function. permalink fedilink source parent hideshow 9 child comments replies: [–] ICastFist@programming.dev 1 point 1 year ago One function per file is definitely what grok would output permalink fedilink source parent [–] locuester@lemmy.zip 4 points 1 year ago (7 children) Oof indeed! After 40 years, I forgot it even had fns permalink fedilink source parent hideshow 7 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (6 children) I started with VB3, which didn't have custom classes. I have no idea how I did anything back then, but at least it was better than TurboBasic. permalink fedilink source parent hideshow 6 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (5 children) I did years of gw-basic, then ms quickbasic, j++, java, c#, now rust. permalink fedilink source parent hideshow 5 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago* (3 children) I did BASIC on the Apple IIe, then TurboBasic, Visual Basic (3, 4, 5 and 6 with some C in there somewhere), VB.Net, C#, Java, Objective-C and finally QT. Now I drive a school bus. permalink fedilink source parent hideshow 3 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (2 children) Omg you landed my dream job. Another couple years and I can quit this desk shit and go make kids lives better. permalink fedilink source parent hideshow 2 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago (1 child) Lol "landed". We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn't even get suspended. permalink fedilink source parent hideshow 1 child comment replies: [–] locuester@lemmy.zip 1 point 1 year ago Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy permalink fedilink source parent [–] voodooattack@lemmy.world 3 points 1 year ago Interesting to meet another person that went through the “GW-BASIC to Rust” journey. Mine was through FreeBasic and C++ in the middle but we ended up in the same neighbourhood. permalink fedilink source parent
[–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (9 children) On Error was used within a function, so you would have one (or more ... or less) per function. permalink fedilink source parent hideshow 9 child comments replies: [–] ICastFist@programming.dev 1 point 1 year ago One function per file is definitely what grok would output permalink fedilink source parent [–] locuester@lemmy.zip 4 points 1 year ago (7 children) Oof indeed! After 40 years, I forgot it even had fns permalink fedilink source parent hideshow 7 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (6 children) I started with VB3, which didn't have custom classes. I have no idea how I did anything back then, but at least it was better than TurboBasic. permalink fedilink source parent hideshow 6 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (5 children) I did years of gw-basic, then ms quickbasic, j++, java, c#, now rust. permalink fedilink source parent hideshow 5 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago* (3 children) I did BASIC on the Apple IIe, then TurboBasic, Visual Basic (3, 4, 5 and 6 with some C in there somewhere), VB.Net, C#, Java, Objective-C and finally QT. Now I drive a school bus. permalink fedilink source parent hideshow 3 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (2 children) Omg you landed my dream job. Another couple years and I can quit this desk shit and go make kids lives better. permalink fedilink source parent hideshow 2 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago (1 child) Lol "landed". We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn't even get suspended. permalink fedilink source parent hideshow 1 child comment replies: [–] locuester@lemmy.zip 1 point 1 year ago Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy permalink fedilink source parent [–] voodooattack@lemmy.world 3 points 1 year ago Interesting to meet another person that went through the “GW-BASIC to Rust” journey. Mine was through FreeBasic and C++ in the middle but we ended up in the same neighbourhood. permalink fedilink source parent
[–] ICastFist@programming.dev 1 point 1 year ago One function per file is definitely what grok would output permalink fedilink source parent
[–] locuester@lemmy.zip 4 points 1 year ago (7 children) Oof indeed! After 40 years, I forgot it even had fns permalink fedilink source parent hideshow 7 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (6 children) I started with VB3, which didn't have custom classes. I have no idea how I did anything back then, but at least it was better than TurboBasic. permalink fedilink source parent hideshow 6 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (5 children) I did years of gw-basic, then ms quickbasic, j++, java, c#, now rust. permalink fedilink source parent hideshow 5 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago* (3 children) I did BASIC on the Apple IIe, then TurboBasic, Visual Basic (3, 4, 5 and 6 with some C in there somewhere), VB.Net, C#, Java, Objective-C and finally QT. Now I drive a school bus. permalink fedilink source parent hideshow 3 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (2 children) Omg you landed my dream job. Another couple years and I can quit this desk shit and go make kids lives better. permalink fedilink source parent hideshow 2 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago (1 child) Lol "landed". We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn't even get suspended. permalink fedilink source parent hideshow 1 child comment replies: [–] locuester@lemmy.zip 1 point 1 year ago Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy permalink fedilink source parent [–] voodooattack@lemmy.world 3 points 1 year ago Interesting to meet another person that went through the “GW-BASIC to Rust” journey. Mine was through FreeBasic and C++ in the middle but we ended up in the same neighbourhood. permalink fedilink source parent
[–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (6 children) I started with VB3, which didn't have custom classes. I have no idea how I did anything back then, but at least it was better than TurboBasic. permalink fedilink source parent hideshow 6 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (5 children) I did years of gw-basic, then ms quickbasic, j++, java, c#, now rust. permalink fedilink source parent hideshow 5 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago* (3 children) I did BASIC on the Apple IIe, then TurboBasic, Visual Basic (3, 4, 5 and 6 with some C in there somewhere), VB.Net, C#, Java, Objective-C and finally QT. Now I drive a school bus. permalink fedilink source parent hideshow 3 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (2 children) Omg you landed my dream job. Another couple years and I can quit this desk shit and go make kids lives better. permalink fedilink source parent hideshow 2 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago (1 child) Lol "landed". We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn't even get suspended. permalink fedilink source parent hideshow 1 child comment replies: [–] locuester@lemmy.zip 1 point 1 year ago Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy permalink fedilink source parent [–] voodooattack@lemmy.world 3 points 1 year ago Interesting to meet another person that went through the “GW-BASIC to Rust” journey. Mine was through FreeBasic and C++ in the middle but we ended up in the same neighbourhood. permalink fedilink source parent
[–] locuester@lemmy.zip 1 point 1 year ago (5 children) I did years of gw-basic, then ms quickbasic, j++, java, c#, now rust. permalink fedilink source parent hideshow 5 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago* (3 children) I did BASIC on the Apple IIe, then TurboBasic, Visual Basic (3, 4, 5 and 6 with some C in there somewhere), VB.Net, C#, Java, Objective-C and finally QT. Now I drive a school bus. permalink fedilink source parent hideshow 3 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (2 children) Omg you landed my dream job. Another couple years and I can quit this desk shit and go make kids lives better. permalink fedilink source parent hideshow 2 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago (1 child) Lol "landed". We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn't even get suspended. permalink fedilink source parent hideshow 1 child comment replies: [–] locuester@lemmy.zip 1 point 1 year ago Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy permalink fedilink source parent [–] voodooattack@lemmy.world 3 points 1 year ago Interesting to meet another person that went through the “GW-BASIC to Rust” journey. Mine was through FreeBasic and C++ in the middle but we ended up in the same neighbourhood. permalink fedilink source parent
[–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago* (3 children) I did BASIC on the Apple IIe, then TurboBasic, Visual Basic (3, 4, 5 and 6 with some C in there somewhere), VB.Net, C#, Java, Objective-C and finally QT. Now I drive a school bus. permalink fedilink source parent hideshow 3 child comments replies: [–] locuester@lemmy.zip 1 point 1 year ago (2 children) Omg you landed my dream job. Another couple years and I can quit this desk shit and go make kids lives better. permalink fedilink source parent hideshow 2 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago (1 child) Lol "landed". We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn't even get suspended. permalink fedilink source parent hideshow 1 child comment replies: [–] locuester@lemmy.zip 1 point 1 year ago Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy permalink fedilink source parent
[–] locuester@lemmy.zip 1 point 1 year ago (2 children) Omg you landed my dream job. Another couple years and I can quit this desk shit and go make kids lives better. permalink fedilink source parent hideshow 2 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago (1 child) Lol "landed". We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn't even get suspended. permalink fedilink source parent hideshow 1 child comment replies: [–] locuester@lemmy.zip 1 point 1 year ago Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy permalink fedilink source parent
[–] ChickenLadyLovesLife@lemmy.world 1 point 1 year ago (1 child) Lol "landed". We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn't even get suspended. permalink fedilink source parent hideshow 1 child comment replies: [–] locuester@lemmy.zip 1 point 1 year ago Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy permalink fedilink source parent
[–] locuester@lemmy.zip 1 point 1 year ago Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy permalink fedilink source parent
[–] voodooattack@lemmy.world 3 points 1 year ago Interesting to meet another person that went through the “GW-BASIC to Rust” journey. Mine was through FreeBasic and C++ in the middle but we ended up in the same neighbourhood. permalink fedilink source parent
[–] Valmond@lemmy.world 3 points 1 year ago (1 child) Elon goto hell permalink fedilink source parent hideshow 1 child comment replies: [–] YtA4QCam2A9j7EfTgHrH@infosec.pub 2 points 1 year ago GOTO considered harmful, except in this case permalink fedilink source parent
[–] YtA4QCam2A9j7EfTgHrH@infosec.pub 2 points 1 year ago GOTO considered harmful, except in this case permalink fedilink source parent