home.social

#variablenames — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #variablenames, aggregated by home.social.

  1. Vim is so intuitive and convenient

    I just typed `:imap dirs $partial_content.directories` and it worked exactly as expected.
    And removing the mapping is just as easy: `:iunmap dirs`.

    I wonder if Vim isn't just the thing joining one letter short, fast to type variable names with meaningful variable names :)

  2. Me to my students: Use meaningful variable names so that they're easy to understand. Names should convey information about how they're used. And definitely don't use single-letter names!

    Also me: In this course we're going to use the C programming language. I'll occasionally compare it to Java, Python, and R.

    #SoftwareEngineering #ComputerScience #VariableNames #ProgrammingLanguages #C #Java #Python #R #noxp