this post was submitted on 05 Sep 2023
96 points (99.0% liked)

196

17640 readers
619 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196's:

founded 2 years ago
MODERATORS
 
top 7 comments
sorted by: hot top controversial new old
[–] Moc@lemmy.world 25 points 2 years ago (1 children)

gender: String

How hard was that?

[–] jlh@lemmy.jlh.name 20 points 2 years ago* (last edited 2 years ago)
fix: Replace broken gender concept
- gender: bool
+ gender: float
[–] youCanCallMeDragon@lemmy.world 14 points 2 years ago (1 children)

Republican programmers are going to have rethink some things after this

[–] _stranger_@lemmy.world 6 points 2 years ago

Republican programmers are forcing typing on python.

[–] celeste@lemmy.blahaj.zone 5 points 2 years ago (2 children)

Could someone give an explanation for all the people that are not that deep in the programming sauce.

[–] Cabrio@lemmy.world 4 points 2 years ago* (last edited 2 years ago)

Typecasting is the action of defining data (in this case people) depending on how it's to be processed.

Explicit typecasting is the rigid defining of data in these types and can only be processed as that type of data.

Implicit typecasting will transpose data between types interchangeably depending on how the data is being processed.

A more comprehensive explanation would require a class on data structures.

[–] Amaltheamannen@lemmy.ml 4 points 2 years ago

This meme is nonsense even if you are a programmer. Explicit typing does not limit you to two options, it just means all values need to be typed.