The name is kind of misleading. I expected it to generate random lines of code, instead of just replacing identifiers with lorem ipsum.
Codem Ipsum: Lorem Ipsum but for Code
21–30 of 35 posts
Re: Codem Ipsum: Lorem Ipsum but for Code
#22Why code in faux Latin when you can use the real thing: http://users.monash.edu/~damian/papers/HTML/Perligata.html
I am a Russian speaker, and this ambiguous aspect of English has always bugged me to hell! I think english was a bad model as a starting point for programming languages.
Re: Codem Ipsum: Lorem Ipsum but for Code
#23Hey, I made this. I needed dummy but syntactically valid code to show in demos like this one: https://github.com/pomber/code-surfer/blob/code-surfer-v2/re...
Wait, this is just for dummy code for demos? I've been using at work for our production system. I figured the compiler would catch any mistakes...
Re: Codem Ipsum: Lorem Ipsum but for Code
#24Re: Codem Ipsum: Lorem Ipsum but for Code
#25Why code in faux Latin when you can use the real thing: http://users.monash.edu/~damian/papers/HTML/Perligata.html
Re: Codem Ipsum: Lorem Ipsum but for Code
#26Why code in faux Latin when you can use the real thing: http://users.monash.edu/~damian/papers/HTML/Perligata.html
This is so cool! I love it. I am a Russian speaker, and this ambiguous aspect of English has always bugged me to hell! I think english was a bad model as a starting point for programming languages.
Re: Codem Ipsum: Lorem Ipsum but for Code
#27Earlier quoted context omitted.
This is so cool! I love it. I am a Russian speaker, and this ambiguous aspect of English has always bugged me to hell! I think english was a bad model as a starting point for programming languages.
How so?
`bite(dog, man)` is ambiguous. You need to look up the function documentation, make a guess, or ask the library developer to come up with a less ambiguous name.
If you could decline your variables, however, you could write (in terrible fake Latin)
`bite(dog, man-um)` or `bite(dog-um, man)` and they would be interpreted as two different -- and unambiguous -- things.
...but I'm just repeating GP's article.
Re: Codem Ipsum: Lorem Ipsum but for Code
#28Why code in faux Latin when you can use the real thing: http://users.monash.edu/~damian/papers/HTML/Perligata.html
Re: Codem Ipsum: Lorem Ipsum but for Code
#29What I was hoping for is a "Lorem Ipsum"-style generator for code for like 10 different languages. So you'd have a Lorem Ipsum for JS, C++, Rust, etc.
This is just find/replacing identifiers with lorem ipsum, which doesn't really mask the underlying code that well.
Re: Codem Ipsum: Lorem Ipsum but for Code
#30"SyntaxError: unknown: Unexpected token (1:20)"
on valid code