Avatar

GetOffMyLan

GetOffMyLan@programming.dev
Joined
1 posts • 384 comments
Direct message

You can actually use the dynamic type here for late binding of overloads. You will get a runtime error for unknown types though.

You essentially define the function overloaded for each type. Then call the function with a dynamic and the runtime will figure out what method to call

permalink
report
reply

I was pretty surprised at how much faster switch can be

permalink
report
reply

I think complication is actually how it interacts with other language features. As opposed to implementing the actual objects.

permalink
report
parent
reply

Battery tech is constantly having huge breakthroughs. They are just come in small steps.

I mean a smart phone is literally a battery powered computer. It’s absolutely astounding compared to what we had 10/20 years ago.

permalink
report
parent
reply

Yeah the more power phones have available the more manufacturers use.

It’s why I miss replaceable batteries.

permalink
report
parent
reply

Not really. They have massive breakthroughs that increase capacity and charging hugely.

People just seem to expect some world changing development constantly.

permalink
report
parent
reply

Given their age it’s more likely lead poisoning

permalink
report
parent
reply

Yeah it’s pretty gobbledygook. Don’t think you explained yourself that well.

Many people just want to do their job and go home. They don’t want to make friends. Or they have no motivation to do anything beyond what they are paid for to help the company or colleagues.

Which is totally fair enough to me. If I didn’t need to work to live I 100% wouldn’t. Even though I quite enjoy my job and like the people I work with.

permalink
report
reply

It’s literally the name of the field of study. Chances are this uses the same thing as LLMs. Aka a neutral network, which are some of the oldest AIs around.

It refers to anything that simulates intelligence. They are using the correct word. People just misunderstand it.

permalink
report
parent
reply