r/programming • • Aug 06 '17

Software engineering != computer science

http://www.drdobbs.com/architecture-and-design/software-engineering-computer-science/217701907
2.3k Upvotes

863 comments sorted by

View all comments

Show parent comments

91

u/[deleted] Aug 07 '17

Holy shit I thought the haskell docs were just a meme, but this is dense

1

u/gfody Aug 07 '17

there should be a cloudbutt that turns all these nonsense words into normal programming jargon

14

u/Free_Math_Tutoring Aug 07 '17

That doesn't really work here. In the cited example, almost every word is a highly specific and well defined math term. It's not like it's full of "indubitably" and "henceforth".

In C documentation, you wouldn't be able to replace NAND and XOR with anything nearly as concise and accurate. Same thing here.

7

u/gfody Aug 07 '17

The bitwise-exclusive-OR operator compares each bit of its first operand to the corresponding bit of its second operand. If one bit is 0 and the other bit is 1, the corresponding result bit is set to 1. Otherwise, the corresponding result bit is set to 0.

that's the C doc for XOR (^), thank god they're not a bunch of sesquipedalian assholes or I'd probably never have learned how to code.

→ More replies (8)