this post was submitted on 10 Sep 2023
65 points (93.3% liked)
Technology
59440 readers
3281 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The illegible code claim has always baffled me.
You can write perfectly legible code in perl. You can write illegible code in python if you really want to.
Define "people". People you work with? Old codebases from your workplace?
Well, from my experience, people don't write illegible perl code.
You can write illegible code in any language.
The variable prefixes make it easy in Perl to write line noise, and there are much more "magical defaults".
What's the most illegible code you have found in Python?
How is type information noise instead of a helpful feature?
I haven't looked for illegible Python code out there.
Writing legible Perl code is the complete antithesis of what the language was created for. This comment shows a complete misunderstanding of Larry Wall’s work.
Lol what are you talking about?! What is this LW's point you're referring to? "Write non-readable code, everyone"?
I'm guessing you're referring to him saying "there's more than one way to do things", and that's not mutually exclusive from writing legible code.
http://www.foo.be/docs/tpj/issues/vol3_2/tpj0302-0012.html
There’s an obfuscated C contest too - no one ever assumed that K&R opposed highly legible code. I seem to recall that Kerrigan actually wrote some books to the contrary.
That's a non-argument, man. You just linked to a contest.
That's like saying that the FAA endorses unsafe airplane building practices because they hold a contest about unmanned cardboard made planes that fly the most length in a desert without crashing.