this post was submitted on 10 Feb 2024
213 points (96.1% liked)

196

16738 readers
1956 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS
213
submitted 10 months ago* (last edited 10 months ago) by Feathercrown to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] kryptonianCodeMonkey 14 points 10 months ago* (last edited 10 months ago) (1 children)

Reject the code block. Embrace the modularity. If you were going to write a code block, write a function instead.

[–] [email protected] 13 points 10 months ago (1 children)

If you must avoid code blocks, that means you can only use one line. I don't think you can be Turing complete if each function can only call one function. I don't even think you can get a context-free grammar, Chomsky normal form at least allows a variable to expand into two variables.

[–] [email protected] 6 points 10 months ago

Please never bring up CNF again. I'm a year out of college, two years out of finite automata, and I still shudder when it's brought up.