Hacker News new | ask | show | jobs
by abhijitparida 2407 days ago
The name is kind of misleading. I expected it to generate random lines of code, instead of just replacing identifiers with lorem ipsum.
3 comments

Same thought here. I thought something along the lines of hackertyper. Something that looks like real code, but isn't.
> I thought something along the lines of hackertyper. Something that looks like real code, but isn't.

Hackertyper is absolutely using real code.

Specifically, it's using groups.c from the Linux kernel:

https://github.com/torvalds/linux/blob/master/kernel/groups....

Compare that to the code used by Hackertyper:

http://hackertyper.com/code.txt

For whatever it's worth, I didn't share your expectation. The real lorem ipsum is just a fixed load of text, after all - describing something as "lorem ipsum but for code" shouldn't necessarily imply any functionality.
Given that lorem ipsum is a fixed load of text, as you said, I would have expected a lorem ipsum for code to be a fixed load of code (that's nonsensical but looks real enough from afar).
I thought the same thing.