News for hackers. Stuff that matters.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by jxf on Sunday October 30, 2022 @03:16AM (#33391989)
"Less" doesn't mean "fewer bytes", it means "less complexity". If two ASTs do exactly the same thing, but one is easier to understand and has less structure, that one is probably better.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by kamaal on Sunday October 30, 2022 @09:00AM (#33394107)
Less complex in lots of situations means being explicit, not being too template'y, not being too generic, abstract and writing code that is supposed to be a kind of meta that takes in a config and does several things for several inputs.

Writing less complex code in lots of situations just means writing lots of code. Which is diametrically opposite to the original statement of less code being better.

Re:Tesla engineers were on-site to evaluate the Twitter staf... by jacob019 on Sunday October 30, 2022 @03:38PM (#33397834)
Being kind of meta, taking config, and doing several things for several inputs are good examples of ways to reduce the amount of code--when used appropriately. Being explicit reduces code too. Over abstracting and premature optimization can result in bloated spaghetti code.