this post was submitted on 13 Jul 2023
445 points (98.3% liked)

Programmer Humor

32503 readers
395 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] lowleveldata@programming.dev 12 points 1 year ago (12 children)

tbh unsigned int scares me too. I just use int anyway to avoid strange things happening.

[–] zeropublix@lemmy.ml 12 points 1 year ago (2 children)

The use of it quite limited in the every-day coders life. People acting like they be using 500TB databases these days.

[–] Sallen@lemmy.world 24 points 1 year ago (1 children)

Embedded software devs still exist btw

[–] angrymouse@lemmy.world 3 points 1 year ago (2 children)

Stop lying, who in the modern world would need embedded systems?

[–] kakes@sh.itjust.works 6 points 1 year ago

I don't see a use for embedded systems that can't be adequately replaced with a Windows PC smh.

[–] socsa@lemmy.ml 1 points 1 year ago

Netcode. I make my own layer 2 headers sometimes.

[–] Doombot1@lemmy.one 8 points 1 year ago

I use uints every day at work. They’re very useful for cases when you’ve only got a single byte or two bytes to work with. E.g. an 8-bit int will only get you to a max of 127, but of course an unsigned 8-bit gets you to 255. Similar concept with 16/32/64s. Very useful when you’re working with small amounts of available memory, such as when writing code to go on ASICs.

load more comments (9 replies)