Furry artist and streamer 🦝 My site: https://malleyeno.com

  • 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: August 7th, 2023

help-circle
  • I feel embarrassed to say this, but I straight up have to use reminders to go “hey, talk to X person” and set them up in advance. Because otherwise our chats will just be me going “happy birthday” or “happy new year” and that’s it for the year.

    It’s not that my friends aren’t important to me, its just that it never occurs to me naturally to be the one reaching out. Can’t tell if I’m a bad friend or if I just have zero object permanence for people lmao




  • The rust compiler holds your hand, wraps you in blankets, makes you hot chocolate, kisses you on the forehead before it gently and politely points out what you did wrong and how you can solve it step-by-step. It would never think of something as heinous as swearing at you, shame on you for insulting my wife’s honour like this.



  • They’re also useful for separating multiple lists when using a comma would make it look like an item is an extended list.

    So let’s say I want to express:

    "My contacts are:

    • Jessica, Cook (as in a job title, not a name)

    • James, MD (as in the professional certification, not the name ‘MD’)

    • Doug, ABC (maybe to show that Doug works at ABC)"

    If I said:

    “My contacts are Jessica, Cook, James, MD, Doug, ABC.”

    There’s no clear indication of what is a list member and what is a new list. But this:

    “My contacts are Jessica, Cook; James, MD; Doug, ABC.”

    is a bit clearer. (There are probably better examples but I’m shooting from the hip here lol)



  • I might be already exposing myself as an emacs user, but I think Lisp naming convention is pretty reasonable. I use it in other languages as far as their language rules allow me

    • if a variable or function is a predicate (as in if it tests if something is true or not), append p or _p/-p

    • variables and functions both have lisp case variable-name-here. Sub for _ in languages that dont allow - in names

    • unused or unexposed variables are prefixed _ .

    • top level packages get naming rights. So if I’m making cool-package then variables or functions that are specific to it are cool-package-variable (especially if it is exposed to other packages). cool-package/variable is also good if allowed.

    • otherwise, separate namespaces with /. So there’s main-function and my/main-function. If / is reserved, then I assume the language has a way of segmenting namespaces already and just default to that since _ or - would get ambiguous here.

    See the rest here: https://github.com/bbatsov/emacs-lisp-style-guide