Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search
5 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
How To Write Unmaintainable Code (Original Post) Midnightwalk Jan 2019 OP
There is a book "Obfuscated C" flyingfysh Jan 2019 #1
My son got a big kick out of this! Alas, I am not very techie but generous about sharing great posts FM123 Jan 2019 #2
If you've got a file to read into the program, gtar100 Jan 2019 #3
While that was fun to read, ManiacJoe Jan 2019 #4
Thanks radhashetty Jun 2023 #5

flyingfysh

(1,990 posts)
1. There is a book "Obfuscated C"
Thu Jan 24, 2019, 10:45 PM
Jan 2019

(for non-technical people: C is an old and important computer language)

There is (or was) a yearly contest to see who could write the most unreadable program in C. This books is a collection of some of the winners(?). It is worth a look.

FM123

(10,384 posts)
2. My son got a big kick out of this! Alas, I am not very techie but generous about sharing great posts
Thu Jan 24, 2019, 11:37 PM
Jan 2019

gtar100

(4,192 posts)
3. If you've got a file to read into the program,
Thu Jan 24, 2019, 11:39 PM
Jan 2019

name the variable representing the file "if". I was the lucky recipient of a series of scripts written in Tcl/Expect and the programmer did just that.

set if filename

Scratched my head for a bit until I finally realized what he'd done.

ManiacJoe

(10,138 posts)
4. While that was fun to read,
Sun Jan 27, 2019, 02:38 AM
Jan 2019

fortunately most modern coding houses do not allow for any of that nonsense.

Kick in to the DU tip jar?

This week we're running a special pop-up mini fund drive. From Monday through Friday we're going ad-free for all registered members, and we're asking you to kick in to the DU tip jar to support the site and keep us financially healthy.

As a bonus, making a contribution will allow you to leave kudos for another DU member, and at the end of the week we'll recognize the DUers who you think make this community great.

Tell me more...

Latest Discussions»Retired Forums»Website, DB, & Software Developers»How To Write Unmaintainab...