Naming conventions that need to die (News)

需要废除的命名约定(新闻)

The Changelog: Software Development, Open Source

科技

2024-10-22

9 分钟
PDF

单集简介 ...

Will Crichton wishes some naming conventions would die already, GitHub user brjsp noticed that Bitwarden's new SDK dependency isn't open source, Joaquim Rocha details his forking best practices, Sophie Koonin explains why you should go to conferences & Mike Hoye puts WordPress on SQLite.

单集文稿 ...

  • What up nerds?

  • It's your boy.

  • I'm Jared, and this is changelog news for the week of Monday, October 21st, 2024 forever ago, Devin Zugal came on the show and told us about the making of GitHub sponsors.

  • In that conversation, we learned of her fascination with city planning and even encouraged her to start a podcast about it, which she did.

  • By the turns out, Devin's been doing far more than just studying and talking about city building.

  • She announced late last week that her and some friends are creating a new town in California wine country called Esmeralda.

  • How cool is that?

  • Kind of makes you want to throw that crud app out the window and think bigger, huh?

  • Okay, let's get in to this week's news.

  • Naming Conventions that Need to Die Here's Will Creighton writing In November of 2018 quote names are an important tool of thought.

  • They provide a loose, lightweight way to manage and structure knowledge.

  • However, bad names inhibit learning and impede progress.

  • We should root out and destroy the processes that lead to bad names.

  • End quote Will takes umbrage with names that point back to their inventor or discoverer, such as Planck Constant, Bernoulli Distribution, etc.

  • He also doesn't like using numbers as names like type1error, type2error, etc.

  • Or lazily choosing a random word like pig, flink, spike, hive, arrow, Kafka, all of which are Apache projects.

  • And he'd also like to expunge historical accidents like master slave, car vs.

  • CDR in LISP, etc.

  • I will add another Stop using names that are already overloaded.

  • For instance, if the name you like has a lengthy disambiguation page on Wikipedia, go maybe pick something fresh.