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, 09: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.

gtar100

(4,192 posts)
3. If you've got a file to read into the program,
Thu Jan 24, 2019, 10: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.

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