xJREB

@xJREB@lemmy.world
0 Post – 5 Comments
Joined 12 months ago

As a software engineering researcher, I strongly agree. SE research has studied code comprehension for more than 40 years, but for that amount of time, we know surprisingly little about what makes really high-quality code. We are decent in saying what makes very bad code, though, but beyond extreme cases, it's hard to come to fairly general statements.

1 more...

That's a great analogy via movie quotes if I've ever seen one! Need to rewatch that movie... :)

While I agree with the general notion of this, there are still companies that are considerably worse than others. Choosing the lesser evil is still something that would overall help society and the planet.

I'm confused about this as well. Why is this trial happening before one that would bring criminal charges for the insurrection to lock him up? If he lost such a trial, he would be automatically banned from running, right? Or is the required evidence different for this one and that's why they go with it?

2 more...

A few bad things in code for which we have fairly consistent evidence:

  • high nesting depth
  • meaningless or single-letter variable names
  • lots of code duplication
  • very inconsistent formatting
  • very complicated Boolean conditions with AND and OR
  • functions with a lot of parameters