6 ms·
Good books for deep hacks
- PaulRobinson 9y agoThis is more reading material than some Master's programmes. Here's a shorter alternative: Choose a few languages, play with them for a few months, get to the point where you can write some idiomatic code. Focus on SOLID code and what that means idiomatically in those languages. Learn strengths and weaknesses of each. It's never enough to just learn one language, I think, in the same way no good musician should only ever learn one genre. Do you really want to be like the woman in the bar in Blues Brothers ("We do both types of music, Country and Western")? Learn how to debug and profile. Ideally, learn how to write automated performance tests (along with unit and integration tests) that run on every build so you can keep track of what's going on for those critical pieces. Don't aim for 100% test coverage, aim for enough coverage to help you catch yourself from regressing working code. Learn just enough git to create a repo, create branches, push and merge, and all that. Anything more complex? Google it when you need to like the rest of us. Now go build something. Want to do something with chat? Sure, go read up on IRC and XMPP and Signal and Wire and all that. Want to do something with email? Sure, go read the RFCs and scramble around that area. Interested in UX? Go and read guidelines for your favourite app store and do that, even if you never plan to submit there: it's good advice. The idea of reading 110+ books first in the hope you'll then start your epic hack sounds to me like epic procrastination. Here is one of the most iconic pages from punk history: https://static.guim.co.uk/sys-images/Guardian/Pix/pictures/2012/5/23/1337810776607/sideburns940.jpg https://static.guim.co.uk/sys-images/Guardian/Pix/pictures/2... Code is punk. Go start a band.
- rootlocus 9y ago> Learn just enough git to create a repo, create branches, push and merge, and all that. Anything more complex? Google it when you need to like the rest of us. Bad advice. Learning git internals is surprisingly easy and has a lot of ROI. This tiny book has everything you need https://github.com/pluralsight/git-internals-pdf https://github.com/pluralsight/git-internals-pdf
- yellow_postit 9y agoWhat's the ROI? I tend to agree with the author on this subject here. In my case I care for just enough git to get by so I can focus on the projects I'm using git to facilitate.
- rootlocus 9y agoLearning "recipes" on the internet and copy pasting commands is a sure way to mess something up and could bring a lot of frustration. You only need to spend a few hours to understand how git works underneath to avoid any of that.
- ptero 9y agoYou should not have to learn the internals of any decent source control system to use it in a way that does not lead to a mess. An overview of usage principles and examples should be enough and should provide enough insight to search for more information if needed. User level documentation should be sufficient for user actions. If someone wants to learn internals, great; but this should be an option, not a requirement.
- rootlocus 9y agoLots of "should"s, but we're talking about advice on using git, not "any decent source control system". This is a problem I see with people not understanding git. They treat it like they think it should be treated. Like it or not, that's not going to work for git. You don't give python advice to a C++ developer, regardless of how much you'd like C++ to be like python.
- taeric 9y agoThis logic also works on computers. Or, well, anything. You'd be surprised at just how useful people can find things while still making a mess of them. So, yes, if you have the time, learn the internals. But no, that is not in any way a prerequisite. Nor should it be.
- dualogy 9y agoTo quote: This list is basically a curriculum for decades of learning about the wonders of computers --- now "decades" would rather suggest that they not be perused as a full-time occupation. To your point: mostly agree, but for anyone who lives and breathes your spirit, a collection of 110+ books isn't a dangerous distraction but a welcome enriching augmentation. After some hours of coding the brain demands, deserves, benefits from --- a break. Every couple of weeks, a full day or 3. After some months, even a full week. My point? I noticed that even reading "books that deep -dive into interesting technical topics" is recreational and leisurely compared to high-intensity coding (different brain areas get stimulated and others get rest, I guess?) --- so no need to watch sitcoms, reality TV or anonymous image-boards for "a brief intermission of needed low-brow relaxation" (although nonetheless just-as-permissible). So this list is most welcome for whenever "book pace" is biologically-mentally demanded (or simply wanted) for-a-change and for a bit.
- gotofritz 9y ago> Code is punk. Go start a band. Although I understand the spirit behind this, code is most certainly NOT punk. That's what the JS / PHP / Flash script kiddies from the early 00s wrote. Or rather, it shouldn't be punk if you want to build something that is reusable, maintanable, and solid. The sad reality is that code is jazz - you can get started with Autumn Leaves or the blues, but if you want to go far you better be prepared to learn tons of theory. But I agree, you don't necessarily need to do it upfront.
- mercer 9y agoWhy isn't code more like 'music', so punk, jazz, or some other genre entirely? Sometimes I wonder if much of the discussion/confusion that we have about 'programmers' and 'programming' arises because we treat it as a something more specific than it is. It would be like blogging, discussing, identifying with and arguing about 'writing' without distinguishing between novelists, administrative workers, legal workers, academics, poets, instruction manual writers, translators, and so on.
- gotofritz 9y agoYou are missing the point. OP used "code is punk" as a metaphor for "just do it without getting bogged down by theory". I have changed his metaphor to "code is jazz" to express that he's wrong, you DO need to learn a lot of the theory. I am not quite sure how what you are saying comes into this.
- rzzzt 9y ago"Country and Western", as said above.
- slack3r 9y agoExactly. It seems like a terrible case of over-engineering everything and an excellent example of the planning fallacy. The book list is also too broad, IMO. It's much better to find a niche and specialize.
- barrkel 9y agoThis isn't a list for learning how to code.
- zeth__ 9y ago>Code is punk. Go start a band. It's 2018. It's been 60 years since the memex and the mother of all demos. The ideas in computers aren't new or revolutionary, we know a wheel is round. The next stage is making a wheel that works better. That might work well for your crud day job, but for your own projects, why not learn from the mistakes of others and not your own? It's much simpler to read why you should do something than figuring out all the ways you shouldn't. >get to the point where you can write some idiomatic code What does this even mean? I know C back to front and there is no such thing as idiomatic C. You write one type of C for embedded, one for batch numeric, one for systems, one for real time all are "idiomatic" and all have next to nothing to do with each other. It's even worse in higher level languages.
- closed 9y ago> That might work well for your crud day job, but for your own projects, why not learn from the mistakes of others and not your own? There's value in learning from others, but in general, people learn more quickly from trying things right away.
- taeric 9y agoIn general, you have to understand the mistakes to learn from them. Often, we don't even understand what someone else was trying to do. Much less what their mistake was.
- closed 9y agoThat's true, and a major benefit of trying something is that it can correct for overconfidence and expose specific gaps in understanding (so you can seek out explanations, or puzzle it out)
- icantdrive55 9y agoEddie Van Halen saw his son struggling with the Bass guitar. As a loving father, he told him, you don't need to know all the chords. He told him there's just a handful. Don't take it all on at once. Don't overthink it. (I'm paraphrasing) A lot of wisdom. I'm the biggest procrastinator. And reading about something is sometimes better than actually doing it. Crazy--I know.
- begriffs 9y ago> Now go build something. Want to do something with chat? Sure, go read up on IRC and XMPP and Signal and Wire and all that. Totally. I guess I should have mentioned that for me, at least, the books will be paired with hands-on hacking. > The idea of reading 110+ books first in the hope you'll then start your epic hack sounds to me like epic procrastination. Not planning to read book after book by the fire while the computer collects dust. :) For instance, I'm reading SQL books now and have done experiments that I then wrote about. Like transaction isolation levels, deferrable constraints, types/domains. Lots of fun stuff to build. I find that the books help to give me a broader idea of the possibilities, that's all.
- muzani 9y agoNot a helpful list. It doesn't cover why some books are recommended.
- barrkel 9y agoHandily enough, the links go to goodreads where you can read reviews and determine that for yourself. Consider the list as a discovery mechanism and then use your own judgement to determine whether it's worthwhile or not. The value is in the discovery, rather than a (non-existent) review.
- paulie_a 9y agoSo what value does this list have? Anyone can throw together a list of books, without explanation.
- verletx64 9y agoIt's a list of books per topic that the author thinks are valuable books for some topic. With the link through to Goodreads, it actually probably doesn't really matter _why_ the author liked it - I don't know the author, so the authors reasoning would be the opinion of a random person, and Goodreads collects the opinion of a whole bunch of random people. So why this article? Yeah, it is pretty much a discovery mechanism. To me, the author is saying "I liked these books," or "I think these books are good," and "Here's what other people said about these books." I knew of some of the books and I didn't know of others, so mission accomplished, to be honest.
- muzani 9y agoI mean the article seems very random, linking to some bad books and some good ones. I'm assuming the ones with 3+ stars on Goodreads are poor because the author doesn't say anything to justify why they're decent. There's no hint that the author even reads these books. I already have a bottomless list of books to read, so some form of filter would be nice. There are better methods of discovery, like finding respectable programmers in a field and then reading what they like. Unless I'm missing something, the article doesn't make any effort to establish credibility, so it's similar to any other teenager recommending a stack of books.
- matonias 9y agoSo much stuff to learn.
- mark_l_watson 9y agoA good list, but not for me. My interests are in general AI, specifically machine learning, and recently in a few open source blockchain platforms. The world would be a boring place if we were all into the same things.
- mwfogleman 9y agoI found this helpful not necessarily for the particular book recommendations, but for the topics it suggested looking into.
- dorfsmay 9y agoThe recommendations feels random... K&R for C was very confusing for me and I really couldn't write in C until I discovered the Harrison and Steele book. This wasn't just a personal preference either, this was the book recommended on the C lang FAQ on Usenet 25 years ago. I'd argue that today's reference to modern/advanced SQL is Markus Winand's book which isn't mentioned either.
- beefield 9y ago> Harrison and Steele book. I guess you mean Harbison
- dorfsmay 9y agoYes. I can no longer edit my original message. Thanks for your correction.
- CalChris 9y agoIn addition, you really really do not want to write K&R C from 1988 although it is a fine book. You want to write modern C. 21st Century C: C Tips from the New School Modern C [1] [1] http://icube-icps.unistra.fr/img_auth.php/d/db/ModernC.pdf http://icube-icps.unistra.fr/img_auth.php/d/db/ModernC.pdf Modern C is a dense read. I kind've just pick at it.
- spapas82 9y agoI learned C from the K&R book (the 2nd edition that discussed ANSI C) during my university years (circa 2000). The book is solid for learning C and I would totally recommend it. The only gotcha is that I actually had to read it three times to properly understand all concepts (especially pointers, their relation to arrays, function pointers and their types etc). So yes it was confusing but not because the book was confusing but because the concepts are confusing (especially to a novice programmer having headaches from pointers). Beyond K&R I would also recommend the Deep C secrets book (the one with the fish) for going "deeper".
- bla2 9y agoDepending on the hack, I’ll be using Haskell or C. Why mess with the things in between? (What’s up with everyone nowadays using a misbegotten child of the browser wars as their main language?) What is it with so many Haskell folks being so full of themselves?
- seibelj 9y agoI am immediately suspect of anyone who flippantly dismisses any popular language. Languages are popular for a reason, and you can learn new things from all of them.
- begriffs 9y ago(Author here) sorry, I should work on my tone. Sometimes it feels fun to write strong statements, knowing in your own mind that you're just trying them on. Then when other people read the stuff I realize it doesn't sound daring, it just sounds arrogant. Realized this a few days ago when some podcasters covered an OpenBSD article I wrote, and when they read some of my statements out loud it sort of made me wince.
- MichaelMoser123 9y agoNow i suspect that someone will come up with a totally different list - in ten years when you will be finished with this one. (i foreone still didn't get what those monads are all about :-) (nothing to be proud about...)
- CalChris 9y agoNothing on compilers. Dragon Book LLVM Essentials Nothing on machine organization and assembly. Computer Organization and Design ARM Cortex A72 Software Optimization Guide Intel® 64 and IA-32 Architectures Optimization Reference Manual The microarchitecture of Intel, AMD and VIA CPUs Parsing Language Implementation Patterns The Definitive ANTLR 4 Reference
- sryOnTheRoadATM 9y ago>you can’t beat the C language for intrinsic simplicity. I like begriffs for his Haskell work, but I disagree with him on C. Simplicity is a good reason to prefer Wirth languages. They are similarly low-level, but beat C on safety and don't have C's abundance of undefined behavior. I suggest Free Pascal. It is similarly easy to write, compiles faster, helps you catch more bugs early and even has genetics. As I see it, there are only two major downsides to using Free Pascal: the syntax is more verbose and you have to generate and store bindings for C headers.
- begriffs 9y agoThat's really interesting. I used Delphi back in the day to build little Windows GUI programs for personal projects, and it seemed fine. Subsequently haven't thought of Pascal much, so I guess I simply overlooked it while making The List. :) Am I in a bubble, or is it true that C has become much more popular than Pascal? If so, why did it get popular?
- cyberpunk0 9y agohttps://imgur.com/kBQxVIm https://imgur.com/kBQxVIm
- andrewgjohnson 9y agoNothing on PHP?
- gymshoes 9y agoI have 5 of the books on this list. I'll start with them this year.