(Also are Programming socks memes welcome here?)
Eh, who is still using paper books to learn programming languages? Every popular language has a website with online manuals.
Well, except C, because it’s crammed together with C++ on https://cplusplus.com/ and https://cppreference.com/
And socks just grow organically after 3 years of coding.
I thought the books were for your shelf tbh. You put one for each language you claim proficiency in.
It’s cool to have niche older books though. My friend has a programming manual in Estonian from either the very late soviet era that includes BASIC, Pascal and FORTRAN. Though apparently you can still buy it online. There’s one copy left at an online bookstore.
The book is to get your monitor to an ergonomic height!
Some socks have horrible return times
If you need to learn C, at least use the first edition of the book - the one without the ANSI additions is much smaller.
I’'ve actually never read the second/and edition so I can’t say if it is good or not. I can tell you that the first edition still has a proud space on my bookshielf though the acid paper is starting to take a toll and I suspect it won’t be long and I’ll be needing a reprint.
It’s also a very good introduction to programming, and just a good read. Probably the best book about programming I’ve ever read.
Doesn’t the first edition use K&R style parameter lists and other no-longer-correct syntax?
My prof called K&R C “Knall und Rauch C”, “bang and smoke C”. Also: C lattice fence.
I haven’t read either, honestly Rust is so much better than C or C++ and if I were going to learn a low level language I’d probably go with that instead. Currently I only do Python and a tiny bit of Javascript.
I dare assume you get downvoted for liking Rust, so take my upvote for balance. We differ about what we think of the language, but this kind of angry downvoting is plain ridiculous
Probably moreso for expressing the opinion that strongly without actually knowing any of the three languages.
This Rust talk sounds exactly like Java in the 2000. It’s the language of the future!! Rust is good though but only time will tell if rust will replace C/C++ which I doubt.
As a long time C/C++ developer, I think it has a lot of really great ideas. The one thing preventing me from using it a lot more is that there is no stable ABI that would allow to use shared libraries in Rust - everything is statically linked, and if I use the same crates in a number of programs, the same code exists in each of these programs. That is not really a good thing whne you try to develop for a system with very limited space and where program load times make a difference, such as for certain embedded platforms.
But honestly, Rust support in the Linux kernel? Java never got that far, nor any other language (apart from C, obviously).
C/C++ oldtimer myself, yep Rust is basically C++ template metaprogramming. So Rust does this thing way better, but as you says it does other things less good. Exactly like Java with the facility to run on different platforms (well, sort of) for example.
C/C++ is hard because it’s the ultimate multi tool!
I use Python BTW when I don’t need the fancy stuff, maybe the death of C/C++ will be that of a thousand cuts, one specialised language for each specific C/C++ use …
Quite frankly I wouldn’t recommend learning C these days except for maintaining, there are better languages e.g Rust, Go, Zig, Swift. And the Eu and US are cracking down on unsafe Code including open source.
learn C, so you can appreciate rust
A-ha, better languages my ass. They may make some specific job easier, but calling them good just because of that - nuh-uh. I would (and actually will) rather spend time learning to properly use C or C++
I call them better because C leave security holes in everything it touches.
security holes
They are called easter eggs and they are a feature.
Nothing a Valgrind pass can’t solve. A surprisingly number of developers I’ve met have never heard of this tool, surprisingly, which is probably one of the reasons why people advocate for Rust. Can’t really protect against developer ignorance without a strict language.
So, not the programmers do this, lol?
Doesn’t matter, the Eu and US and others will make it irrelevant before anyone new has a chance to learn it.
I like your optimism (really mean this)
And good luck to them (sarcasm)
Agreed, I only found one of these with the C book in it. I think it would make much more sense with the Rust book.
According to kittenzrulz123, you need a chocker and a skirt to go with the Rust book.
Also, some specific ThinkPad apparently. Guess my R52 won’t do.
Programming socks memes are always welcome here.
PowerfulTurtle and (Not) BurningTurtle meetup
Until BurningTurtle comes to the meetup.
All 3 of the Turtles are together it seems.
Well 2 of me, but still.
Accurate
Are three lettuce heads enough for you?
Turtles are great computer science animals. They do graphics, and have shell access.
Meanwhile I’ll stick with my tree, it has root access.
Memes?
:@
Brainrot
What is “brainrot” about this image?
Wait, you think that wearing thigh high socks for fun is brainrot?
I don’t. Only black & white nail polish and light make up so far.
I pulled on a str and unraveled my C socks!
I personally prefer programming barefoot, but then I also use GNOME.
How are you supposed to program without programming socks?
You’re not, it’s possible but you’ll have a really bad time.
Wheres the introduction to Rust, choker, skirt, Blahaj, and Thinkpad X220?
You jest but I unironically want one of the Thinkpads with a Snapdragon X (|Plus|Elite) to compile my Rust on.
Woah, I said an older Thinkpad. We dont talk about what Lenovo has done to the modern Thinkpad image (theyve dragged it through the mud). Eveyone knows the last good Thinkpad was the T480.
Their Thinkpad T’s and X’s still seem honestly good, it’s just that there’s many Thinkpad lines that are shit as well.
The problem is that even the T and X model Thinkpads have been chasing thin and light above build quality. They no longer have protective metal cages, the keyboard isn’t as good, and its bends/flexes (which makes sense considering its thin). I get thats the “modern” laptop design but I wish they went back to making massive laptops.
Ah, I thought those lines didn’t make those 'compromises". I’ll look into it, thanks!
Nearly every laptop OEM has been making comprimises, if you want a true classic Thinkpad style laptop (thats thick and has good build quality) the MNT Reform is the only option. Its massive, thick, has a mechanical keyboard, has an option for a trackball, and isnt particularly powerful (the Raspberry Pi CM5 is realistically the most powerful thing you can put in it).
this comment genuinely reminded me that i need to both find my choker and finish installing linux on my x230t
Very good Thinkpad, especially with the classic keyboard mod and libreboot :3
I ought to make my own programming starter pack meme with all those things.
!unixsocks@lemmy.blahaj.zone starter pack
Only Winsocks.
Underrated joke.
Maybe good against programmers venous thrombosis. Should be acknowledged as a work related illness.
Socks? Check. Skirt? Check. Vape pen? Check.
It’s study time.
You can never have enough socks. Many a christmas goes by where again nobody gifts me a nice pair of socks. People always seem to think I am in need of more books to read!
(Hope I’m somewhat correctly recounting Dumbledore’s answer in relation to the mirror of Erised)