How Do You Choose Python Function Names? – Real Python

Rules and conventions for naming Python functions emphasizing:
➡️the importance of using descriptive, snake-case names.
➡️the use of underscores for internal methods
➡️differences in naming conventions for variables and classes.

The article is based on Python Enhancement Proposals PEP8

#Python #NamingConventions #CodeReadability #StyleGuide #Programming #Tutorial

https://realpython.com/python-function-names/

How Do You Choose Python Function Names? – Real Python

This tutorial discusses the rules and conventions for choosing Python function names and why they're important.

Bevor Sie zu YouTube weitergehen

"Why did you call your file 'text.pdf.pdf'."

"What do you mean?"

"Why do you have the extension twice?"

"Oh, that? Safety."

"What?"

"It's like when you tie your shoes. You put a safety knot to prevent it from untying, right?"

"Yes."

"It's the same with the double extension. I want to make sure that the computer really knows it is a PDF."

"Your explanation is stupid-stupid."

"Why do you say stupid twice?"

"Safety. I really want you to know that it is stupid."

#FileExtensions #NamingConventions #PDF #safety #stupid #nonsense

Nice naming conventions found in the wild:

#programming #namingconventions #hardestthinginprogramming #python

Naming is crucial in world-building, shaping the immersion and authenticity of your fictional universe. Craft names thoughtfully.

#writingtip #tips #worldbuidling #namingconventions #writingtips #creativewriting #fictionalworlds #speculativefiction

https://storiesgoeveron.com/world-building-naming-conventions/

World Building Naming Conventions - Stories go ever on

Naming is crucial in world-building, shaping the immersion and authenticity of your fictional universe. Craft names thoughtfully.

Stories go ever on

What kind of dip goes with people? Should we ask the cannibals?

This is why you need a good IA/UX person on your team.

#IA #InformationArchitecture #UX #Google #Branding #NamingConventions #PeopleChips

So, umm, I want to name this project: Tiny Island Dark Dungeon Intergalactic Explorer Saga

a.k.a.: T.I.D.D.I.E.S

The goal is to keep it family friendly.

But the acronym is... alluring.

#GameDev #NamingConventions #AMIRITE #GodotEngine

(Yes, I'm using both Kenney's and Quaternius models LOL)

I'm wrestling with naming a new GitLab project, and was reminded of this - "The two hardest problems in computer science: naming things, cache validation, and off-by-one errors." #namingconventions #compsci

🧵 1/3: What’s the difference between a carousel, a swiper and a slider?

The terms are used interchangeably, but I would argue, there’s a semantic difference.

#Carousels are circular. They start over once you reach the last item.

#Swipers are linear. You can swipe back and forth, but once you reach the last item, you can’t swipe any further.

#Sliders are input elements (e.g. volume controls), and thus entirely diffenret #UI #components

#ux #uidesign #namingconventions