Naming things...
derek

derek @derek

About: let thoughts = [true, undefined]; console.blog(...thoughts);

Location:
🏝
Joined:
Aug 22, 2018

Naming things...

Publish Date: Jun 3 '19
7 4

There are only two hard things in Computer Science: cache invalidation and naming things.
-- Phil Karlton

👆🏽💯!

What's the best or worst naming you've seen in code or as a project name?

Comments 4 total

  • derek
    derekJun 3, 2019

    😆☝ That's a good one!

    I don't understand why the security world have great names for all the things... ie: vulnerabilities, ransomware, malware, tools etc.

  • Corey McCarty
    Corey McCartyJun 4, 2019

    The biggest problem names that I've come across aren't the obscure names it's the ones that cause overlapping concepts with common words. Index is a terrible word. I work with data in oracle. Indexing can refer to the oracle indexes or tables that we call index tables (with very similar usage) and then id's get referred to as indexes. It gets really confusing really fast when you get into detailed conversations.

  • Wes Dunn
    Wes DunnJun 4, 2019

    Best: Python auth method named - can_haz_access

    Worst: C# local array variable name, used for holding split string parts - partsIsParts. I can only assume this is in reference to an 80s Wendy’s commercial... but still...

    NOTE: these replies are thoroughly tongue-in-cheek

Add comment