programming rule

104 points · 8 comments · view on lemmy.world

8 Comments

Moc@lemmy.world · 27 pts · 2y (1 reply)
[ removed ]
jlh@lemmy.jlh.name · 19 pts · 2y
fix: Replace broken gender concept
- gender: bool
+ gender: float
youCanCallMeDragon@lemmy.world · 15 pts · 2y (1 reply)

Republican programmers are going to have rethink some things after this

_stranger_@lemmy.world · 6 pts · 2y

Republican programmers are forcing typing on python.

celeste@lemmy.blahaj.zone · 4 pts · 2y (2 replies)

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

Amaltheamannen@lemmy.ml · 3 pts · 2y

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.

Cabrio@lemmy.world · 3 pts · 2y

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.

redempt@lemmy.world · 1 pts · 2y

this makes no sense no matter how I try to look at it

UnfortunateShort@lemmy.world · -2 pts · 2y (1 reply)

Uhm, that's kinda not how any of this works. You can have types that you can cast to anything and a type doesn't have to be binary just because it's to be explicitly casted either. You can also have implicit but limited typecasting.

Cabrio@lemmy.world · 1 pts · 2y
[ removed ]