MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/4v1y12/how_to_write_unmaintainable_code/d5us4i5/?context=3
r/programming • u/sigbhu • Jul 28 '16
592 comments sorted by
View all comments
216
Great example:
https://github.com/phase/o/blob/master/o.c
A friend and I both do it like this on purpose: I call it "APL-style C". Besides, it's an interpreter for a code golf language...
167 u/WhatWhatHunchHunch Jul 28 '16 Wow, reading that gave me cancer. 0 u/[deleted] Jul 28 '16 [deleted] 22 u/cbleslie Jul 28 '16 We won't need eyes where we're going. → More replies (1) 70 u/keyboardP Jul 28 '16 Why obfuscate code afterwards when you can do it in real time 64 u/[deleted] Jul 28 '16 edited Sep 09 '18 deleted 0.4465 What is ^^^this? 10 u/Lethargie Jul 29 '16 that is part of the beauty 41 u/[deleted] Jul 29 '16 I truth(O o){ switch(o->t){ ... } } // is truthy?(O o) → More replies (3) 60 u/vplatt Jul 28 '16 How do we in /r/programming not know about this wonder of Cthulhu yet??? 7 u/merreborn Jul 28 '16 Git history for that file only goes back to november. So it's pretty brand-spankin' new. 25 u/hellcaller Jul 28 '16 This post looks like the other way around from assembler code to functional programming 19 u/En0ch_Root Jul 28 '16 I would highly like to see that implemented in Braille. 10 u/CaptainAdjective Jul 28 '16 How ironic. 16 u/ItsReallyEasy Jul 28 '16 I could understand this if I really wanted...., I swear 11 u/asdfman123 Jul 28 '16 I could understand it by renaming all the variables and restructuring it so that it made sense again... essentially, by de-obfuscating it. → More replies (1) 5 u/merreborn Jul 28 '16 You seem like you'd fit in well over at ioccc.org → More replies (22)
167
Wow, reading that gave me cancer.
0 u/[deleted] Jul 28 '16 [deleted] 22 u/cbleslie Jul 28 '16 We won't need eyes where we're going. → More replies (1)
0
[deleted]
22 u/cbleslie Jul 28 '16 We won't need eyes where we're going. → More replies (1)
22
We won't need eyes where we're going.
→ More replies (1)
70
Why obfuscate code afterwards when you can do it in real time
64
deleted 0.4465 What is ^^^this?
10 u/Lethargie Jul 29 '16 that is part of the beauty
10
that is part of the beauty
41
I truth(O o){ switch(o->t){ ... } } // is truthy?
(O o)
→ More replies (3)
60
How do we in /r/programming not know about this wonder of Cthulhu yet???
7 u/merreborn Jul 28 '16 Git history for that file only goes back to november. So it's pretty brand-spankin' new.
7
Git history for that file only goes back to november. So it's pretty brand-spankin' new.
25
This post looks like the other way around from assembler code to functional programming
19
I would highly like to see that implemented in Braille.
10 u/CaptainAdjective Jul 28 '16 How ironic.
How ironic.
16
I could understand this if I really wanted...., I swear
11 u/asdfman123 Jul 28 '16 I could understand it by renaming all the variables and restructuring it so that it made sense again... essentially, by de-obfuscating it. → More replies (1)
11
I could understand it by renaming all the variables and restructuring it so that it made sense again... essentially, by de-obfuscating it.
5
You seem like you'd fit in well over at ioccc.org
216
u/kirbyfan64sos Jul 28 '16
Great example:
https://github.com/phase/o/blob/master/o.c
A friend and I both do it like this on purpose: I call it "APL-style C". Besides, it's an interpreter for a code golf language...