A person I watch frequently gave me this gem.
18++
Submitted 8 months ago by HelloHotel@lemm.ee to technology@lemmy.world
https://www.youtube.com/watch?v=r2npdV6tX1g
A person I watch frequently gave me this gem.
At least Tom won’t be affected. He’s a genius.
For those in the unknown, this comment is in reference to an article on The Daily WTF, which ThePrimeagen “reacted” to.
:::spoiler rant
As I have frequently found myself not knowing a quip/quote/reference from popular (or worse, obscure) media, I am doing my bit to add context to this rather plain comment disguised as an in-joke.
For people who derive pleasure from posting such references, please annotate your reference with some context for others to take part in/appreciate the media you liked enough to remember and make a reference of.
:::
I like theprimeagen and I’m really interested in what he has to say. but he talks so loud into the microphone and it just ends up giving me anxiety :(
There was this one youtube video he made and the moment it started, he screamed into the microphone and it just instantly freaked me the fuck out. 😔
Let me guess - learned from all those websites about unsafe memory(ies)?
Based Gemini.
Actual, true AI
squirrelwithnut@lemmy.world 8 months ago
I’ve seen this sentiment in a few places recently, and as a software engineer with 20 years of experience I can say with 100% certainty that this is a terrible (and dangerous) trend when it comes to programming.
Undergrads should absolutely be learning how memory works, how to allocate it, when to free it, and what issues you can get into when you don’t do it properly. Sheltering them from such things will lead to a more ignorant generation of developers, which will lead to a lot of headaches down the road, for everyone.
anlumo@lemmy.world 8 months ago
This is almost certainly not intentional. The AI just can’t differentiate between unsafe as in NSFW and unsafe as in manual memory management.
iegod@lemm.ee 8 months ago
Agreed. I’ve been seeing the trend myself and it’s a damn shame. Ignorance isn’t a reason to shelter others
nyan@lemmy.cafe 8 months ago
Manual memory management has about as much applicability these days as assembler did back when I was doing my degree. It should be covered as part of learning How Things Work Under the Hood, it’s still needed for some kinds of specialist work, but many—perhaps even the majority of—people writing code will never need to deal with it in the real world, because the languages in which most code is written these days all have some form of memory management.
thehatfox@lemmy.world 8 months ago
There is still an enormous amount of C++ code still in use (and other unsafe languages for that matter). It is still an actively developed and used language, and likely will be for many years to come. Having at least a basic grounding in it is very valuable element of flexibility for any potential programmer, as well as an understanding of the underlying concepts.
catloaf@lemm.ee 8 months ago
Yeah, but that doesn’t mean you should allocate a billion arrays just because the memory is managed for you. It’s still inefficient.
sunbeam60@lemmy.one 8 months ago
Hmmm.
You’re probably right. But to any student reading this I’d say you’re likely to become a significantly stronger programmer, and thus find it easier to find employment, if you understand and feel comfortable knowing how to use a memory-unsafe language. Eventually you’ll arrive up in a problem that’s caused by it, or a required optimisation that benefits from manual memory management. If you want to work in games, too, there really is no other option.
In that sense it’s the same as assembler. One day you’ll sit there and not understand why something breaks only to realise that the underlying assembler doesn’t quite do what the source alludes to.
So, I’m not sure you need it, but I’m pretty sure you’ll benefit from it.
stoly@lemmy.world 8 months ago
When I clicked the thread I thought this was a joke and am now experiencing a degree of horror.
Lizardking13@lemmy.world 8 months ago
The programming field is going through what math has been going through for ages. Many people don’t want to learn how things work because they can use a calculator or software to do basic maths. But then when it comes to actually understanding what’s going on, there becomes a big loss.
lolcatnip@reddthat.com 8 months ago
Good thing we have Rust.
asdfasdfasdf@lemmy.world 8 months ago
You can do all that with Rust.