Click here to Skip to main content
15,886,919 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.

 
GeneralC# 6, you dirty dog! Pin
PIEBALDconsult27-Aug-22 9:57
mvePIEBALDconsult27-Aug-22 9:57 
GeneralRe: C# 6, you dirty dog! Pin
Richard Deeming29-Aug-22 21:15
mveRichard Deeming29-Aug-22 21:15 
GeneralRe: C# 6, you dirty dog! Pin
PIEBALDconsult30-Aug-22 3:35
mvePIEBALDconsult30-Aug-22 3:35 
GeneralRe: C# 6, you dirty dog! Pin
James Curran1-Sep-22 0:04
James Curran1-Sep-22 0:04 
GeneralRe: C# 6, you dirty dog! Pin
jochance1-Sep-22 5:47
jochance1-Sep-22 5:47 
GeneralRe: C# 6, you dirty dog! Pin
englebart1-Sep-22 6:55
professionalenglebart1-Sep-22 6:55 
GeneralRe: C# 6, you dirty dog! Pin
PIEBALDconsult1-Sep-22 7:00
mvePIEBALDconsult1-Sep-22 7:00 
GeneralTwo of my most frequent issues with .net inconsistencies PinPopular
PIEBALDconsult24-Aug-22 10:28
mvePIEBALDconsult24-Aug-22 10:28 
GeneralRe: Two of my most frequent issues with .net inconsistencies Pin
MarkTJohnson24-Aug-22 10:31
professionalMarkTJohnson24-Aug-22 10:31 
GeneralRe: Two of my most frequent issues with .net inconsistencies Pin
Greg Utas24-Aug-22 11:29
professionalGreg Utas24-Aug-22 11:29 
GeneralRe: Two of my most frequent issues with .net inconsistencies Pin
PIEBALDconsult24-Aug-22 11:37
mvePIEBALDconsult24-Aug-22 11:37 
GeneralRe: Two of my most frequent issues with .net inconsistencies Pin
Greg Utas24-Aug-22 13:35
professionalGreg Utas24-Aug-22 13:35 
GeneralRe: Two of my most frequent issues with .net inconsistencies Pin
englebart1-Sep-22 6:59
professionalenglebart1-Sep-22 6:59 
GeneralRe: Two of my most frequent issues with .net inconsistencies Pin
Richard Deeming24-Aug-22 22:06
mveRichard Deeming24-Aug-22 22:06 
GeneralRe: Two of my most frequent issues with .net inconsistencies Pin
PIEBALDconsult25-Aug-22 3:21
mvePIEBALDconsult25-Aug-22 3:21 
GeneralRe: Two of my most frequent issues with .net inconsistencies Pin
Richard Deeming25-Aug-22 5:05
mveRichard Deeming25-Aug-22 5:05 
GeneralRe: Two of my most frequent issues with .net inconsistencies Pin
PIEBALDconsult25-Aug-22 7:40
mvePIEBALDconsult25-Aug-22 7:40 
GeneralRe: Two of my most frequent issues with .net inconsistencies Pin
Bernhard Hiller25-Aug-22 21:09
Bernhard Hiller25-Aug-22 21:09 
GeneralRe: Two of my most frequent issues with .net inconsistencies Pin
PIEBALDconsult27-Aug-22 6:19
mvePIEBALDconsult27-Aug-22 6:19 
GeneralRe: Two of my most frequent issues with .net inconsistencies Pin
Eddy Vluggen1-Sep-22 3:44
professionalEddy Vluggen1-Sep-22 3:44 
GeneralTECO Macros - show me the codez Pin
MrChug10-Aug-22 17:39
MrChug10-Aug-22 17:39 
GeneralRe: TECO Macros - show me the codez Pin
PIEBALDconsult10-Aug-22 17:44
mvePIEBALDconsult10-Aug-22 17:44 
GeneralRe: TECO Macros - show me the codez Pin
englebart1-Sep-22 7:06
professionalenglebart1-Sep-22 7:06 
GeneralRe: TECO Macros - show me the codez Pin
PIEBALDconsult1-Sep-22 7:28
mvePIEBALDconsult1-Sep-22 7:28 
Correct. Though EDT became an option of TPU eventually -- EDIT/EDT .
I never got the hang of EVE and I could never figure out how to exit it whenever I started it accidently.
I still have a file of EDT macros I use when I use my OpenVMS systems (which is rare).

I also knew developers who used VI rather than TPU-based editors. An amber-screen dumb terminus doesn't know the difference.

Again, I don't adopt new things without some good reason to do so. I certainly prefer a screen editor to a line editor.
Always consider what happens if you have to work with an older system without the new tool(s). Such as, does the version of OpenVMS/VAX I have on my MicroVAX even support TPU? (I think it does.) One reason I bought the MicroVAX is because VAX BASIC has Immediate Mode Big Grin | :-D .

About twenty years ago I was asked to write a program with only the tools installed on a fresh install of Windows XP (?) -- e.g. notepad and CSC.
Developers who have no clue how to write code without an IDE may find themselves unable to make any progress.


Edit: When I first learned BASIC on the PDP-11 (in 1983), the teacher taught us to use EDT in line mode (was there no screen mode yet?), but the cool kids used TECO.

modified 1-Sep-22 13:59pm.

GeneralWeird: Very confusing Base64 problem (includes quiz) Pin
raddevus21-Jul-22 11:12
mvaraddevus21-Jul-22 11:12 

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.