9 ms·
The Programmer's Brain
- woleium 5y agoare Manning books any better these days? They always used to rush the most awful poorly edited and planned content to market to be the first ones with a book on $NewTechnology
- booleandilemma 5y agoI’ve always liked Manning…the one I can’t stand is Packt…
- tomrod 5y agoI have purchased exactly two Packt books. One was actually fantastic quality -- one of the best ML/Python programming books I've come across. The other was for some specialty GIS work, and it was tremendously terrible quality but the only source available.
- codetrotter 5y agoI used to check on the Packt page where they gave a book away for free daily a few years ago. Out of all of the books most of them were trash. There was a couple of really good ones in there. But all-over my clear impression from the books was that Packt has basically no lower bar whatsoever on quality.
- tomrod 5y agoAgreed. There are very few cases where I would use Packt, and only after personal recommendations.
- dhosek 5y agoI picked up all the Rust books when I decided to learn Rust a few months back. Fortunately, two were from the library (the Rust book and the Apress one), while the other I already had thanks to a Humble Bundle deal (the O'Reilly one). The Rust Programming Book is excellent (and also available freely online/via rustup docs --book, but I like to read on paper when I can). The O'Reilly one is a little out of date, but unsurprisingly comprehensive and answers some questions that were of interest to me (like that a match expression turns into a jump table automatically if the data an be appropriately indexed, e.g., if you're matching on a u8) and covers macros which the book does not. The Apress book, on the other hand, is a hot mess and often actively wrong (and important things like the distinction between String, str, OsString and OsStr are simply ignored). If I wasn't just blindly requesting stuff via my library's online catalog, I would have skipped it because I've never seen a good Apress book. (edited to say Apress and not Packt. I'd forgotten which crappy publisher I was dealing with.)
- darkfirefly 5y agoI believe they recently updated the O'Reilly Rust book with a new edition so it's not out of date anymore.
- jdhendrickson 5y agoPlease feel free to share the title of the good book!
- tomrod 5y agoSure! I don't intend to shill, so, here is something useful: a link to his github repo for the book. https://github.com/rasbt/python-machine-learning-book-3rd-edition https://github.com/rasbt/python-machine-learning-book-3rd-ed...
- Sr_developer 5y agoI was to comment the same the other day , but the post was about some book the author was promoting so I didnt want to be a party popper but the book was totally mediocre. It seems to me the inevitable destiny of all "tech" press, start with strong titles and devolve into crap, or to be fairer a crap-shoot. So now you have: ALWAYS HAVE BEEN "CRAP" = Packt and Apress STARTED OK,GOOD NOW MOSTLY CRAP = Pragmatic, Manning, No Starch STILL OK,GOOD = O'Reilly, CUP
- 7thaccount 5y agoI've had mixed results with Packt and Apress (quite a few typos in Packt). Pragmatic, Manning, and No Starch have all been pretty good, as has O'Reilly.
- petercooper 5y agoWhere's the No Starch judgment coming from? While they seem to have started veering into more mainstream/maker-y type stuff over the years, I've never had a single bad book off of them, and in terms of actual physical quality I'm not sure there's any publisher that's better.
- Sr_developer 5y agoCheck out the last titles, I am barely exaggerating with these fictitious ones to not crap on actual ones: - How to make palindromes with python - A CSS lexicon,900 terms defined (120 pages) - The buttons of a PS5 controller
- haskellandchill 5y agoLook at the table of contents for this book and make your judgement. I say no.
- 7thaccount 5y agoThat hasn't been my experience and I own quite a few of their books.
- abainbridge 5y agoI read the first few pages. It was riddled with problems. 1. Section 1.1 shows an APL program "1 2 2 2 2 2 ⊤ n" and says, "The confusion here lies in the fact that you might not know what ⊤ means.". Nope. The confusion is that I don't know what any of the symbols do or how an APL program is structured. I expect this is the case for most readers. 2. There are 3 examples here. The discussions of the examples are not next to the examples. It is all jumbled up and hard to read. 3. The Java example spells main as mian. 4. Section 2 says, "programmers write a lot more code than they read". That is incorrect. For example, normally I read several of the solutions on Stackoverflow before I decide which one to copy and paste :-)
- dodecaphonic 5y agoThe "mian" thing is not an error. It's there to make a point about how the brain interprets code, depending on your familiarity with the language and problem. She explains it not much later on.
- lolc 5y agoYeah, Manning books have generally been in the "better than nothing" category for me. Don't know about this book though, it might be an exception.
- veaxvoid 5y agothis guy wrote a book that will teach you how to name variables, only with 275 pages!
- satya71 5y agoNot a guy.
- fredfoobar 5y agoYou talk as though it's a trivial problem.
- cardy31 5y agoI could probably fill 275 pages of my team bike shedding on variable names, so that seems reasonable.
- kirse 5y agoHeh, I get similar bitching from my team on this, but programming is basically the art of defining a structured language around a given domain. Naming is far less the bike shed and much more the assembly of bricks that build the nuke plant; the individual notes that make up the final composition, if you will.
- meej 5y agoA cursory look at what I suspect is your GitHub profile reveals you could stand to learn something about good variable naming. Her research focuses on the cognitive processes involved in learning programming and teaching it effectively, which means her audience is likely new/novice programmers. And it's not like one of the oldest jokes about programming doesn't point out how difficult naming things is, which is a side effect of how difficult abstraction can be.
- asd3rz 5y agoYou looked the person up on github to mock their choice of variable naming. How...pathetic.
- 5y ago
- agbell 5y agoFelienne is also a host on Software Engineering Radio. If you are curious about the content I think a teaser of it is covered in this interview: https://www.se-radio.net/2021/06/episode-462-felienne-on-the-programmers-brain/ https://www.se-radio.net/2021/06/episode-462-felienne-on-the...
- MrDresden 5y agoI appreciate that there are other people taking the time to create something like SE-radio, getting interesting individuals on to talk about interesting topics and then giving it away for free (I do not consider it payment to listen to an occasional ad for 10 seconds). But I have tried so many times to start listening to SE-radio and always given up do to the audio quality. It is so grating when the interviewer and interviewee have drastically different volumes and quality. This may have been fixed by now, as it has been around two years since I last tried.
- agbell 5y agoVolume levels are relatively easy address so hopefully they have that under control. Quality is hard because you take your guests as they are and people often don't realize the how echoey their room is or how poor the microphone they have is. I use Izotope de-reverb on my own podcast to improve the quality somewhat, but there is only so much you can do.
- noir_lord 5y agohttps://corecursive.com/ https://corecursive.com/ is brilliant and typically has better audio quality.
- anoncoward125 5y agoInteresting that it specifies "speed reading". I think speed reading for code is actually an anti pattern since it is encouraging your biases and guesses instead of actually reading the damn output. If you ever wondered how people ended up programming stochastically and just making random changes I'd say speed reading is part of it
- oatmealsnap 5y agoI mean, there's a time and a place for speed reading. Part of being good at speed reading is identifying the areas you need to slow down for and pay attention to. Another aspect of writing code is to think about future speed readers. Can your code be skimmed and understood on a cursory level?
- quickthrower2 5y agoThe best code is the code that doesn’t need to be read at all. This takes a lot of skill in abstraction. For example code a “user data cache” with lots of user concerns and people will be reading that code a lot. Code a “generic cache” and test the hell out of it and it’ll never need to be read (or rarely) There will need to be code that deals with users but it can interact with the cache so where business logic ends and caching begins is obvious. Then repeat: how can you split the user code up into generic concepts? Users vs. roles vs. credentials?
- geitir 5y agoGood insight
- nathias 5y agoOf course it will have to be read, what makes you think you can guess what people will have to read? This seems such an anti-pattern, instead of writing readable code that lives inside the domain where its used, you make an unnecessary abstraction. This is exactly how redundant complexity gets made and you wind up with 16 abstraction layers where each is used just once and a completely unreadable mess.
- Vaslo 5y agoI believe she had an intermediate Excel course on either EDX or Coursera and it was pretty solid. Not a very deep course but the concepts were very well explained.
- mbfg 5y agoThe most important skills i wish someone had taught me when i was a young developer was how to interact with people in all areas of the organization, and how to deal with the politics. I was (as a young person), strongly against really wanting to know about these aspects, and instead wanted to be purely technical, but in the end that will mean more for your career than anything else, unfortunately.
- YZF 5y agoIt doesn't hurt but I got a great career out of just being a hands-on kind of technical developer. I tried, and mostly succeeded to avoid places where politics play a big role. That said working well with others is important and I also do that well (If I may say so myself ;) ). Politics as in scheming for power are a total turn off for me. Never been interested and not interested in working with others that operate that way. Incredibly lucky to be able to pick and choose.
- lostcolony 5y ago"Politics as in scheming for power are a total turn off for me." Most people don't actually scheme for power in an organization. Not directly, anyway. Most people who appear to do that are coming from the perspective of "my (and my team's) needs are the most important here for the business' success"; the purpose isn't actually power, but to get their perceived needs met. Playing politics, then, is being able to understand those needs, how they interplay and interfere with your own, and how to participate in a way that gets people agreeing on how to move forward, while feeling their needs are met. It is, in fact, exactly what you say of "working well with others". The difference is can you work well with people whose perceptions and needs are completely different than yours (but who are still pushing for what they feel to be the best thing for the company)? Those few who are just trying to get ahead, without actually advancing the needs of their team are indeed a cancer, and -no one- wants them. Some orgs may not know how to recognize it or to get rid of such people though (or have perverse incentives to encourage such behavior). But their incentive isn't that different; they're still looking to meet their own needs, but it's -their own- needs, rather than that of benefit to the business. I.e., "I want to be perceived as the source of success so that I get promoted, even if that robs my team of recognition" rather than "I want to make sure my team's success is recognized and compensated, so that our morale and performance can stay high, and so the org will trust us with greater responsibility".
- jbluepolarbear 5y agoI need the version for programmers with extremely bad ADHD.
- mtrycz2 5y agoDid you already read this one?
- jbluepolarbear 5y agoI started to but none of it described how my mind works and I lost interest. I got to the speed reading part before I stopped. I do speed read (because of dyslexia), but none of the preceding described me to any iota and I felt that it was most definitely target and written for neurotypical individuals.
- bitexploder 5y agoI have a lot of anecdotes. The thing that tricked my brain was a project I /really/ enjoyed. I could hit flow state working on it pretty often, even as a heavily distracted teenager. This led to me prioritizing a lot of things about software dev in my 20s. Not “follow your passion” but find something really engrossing. It can be hard. But seriously start buying and reading well reviewed book on ADHD, there is so much better knowledge about managing it these days than when I was a kid. Just understanding the problem at a neurological level can help you build strategies to deal with it. You won’t ever find a magical cure, other than medication, but that’s another discussion. You probably will find ways to win, even if it’s a ugly fight.
- jbluepolarbear 5y agoI was being tongue and cheek about it. I know that most programmers will benefit from the material in this book; I teach and train juniors in some of these techniques. I’ve been making games and simulations for 10 years. I’m only able to work on stuff I find interesting. I have a ton of techniques that work for me but they don’t tend to translate to other programmers. I’ve mentored a lot of engineers and I’ve had to learn how “normal” programmers approach problems so that I can guide them and help them when needed. I’m to the point where I’m confident in leading teams and building solid fun games, but I’m still always aware that I am very different from the people I work with. Still to this day the hardest problem for me is taking dozens of concurrent thoughts and converse them in a singular idea. I do not think like that at all; my mind is approaching an idea or problem from ever direction at once. Then technique I use in this case is I speak I a very controlled way (west coast news voice and cadence) this give me time to think about what I’m going to say while I’m currently speaking. It gives me time to judge how what I’m saying is being received and adjust as needed. I’m both writing and refining what I’m saying, this is in tandem with my mind in constant bombardment of thoughts completely unrelated.
- Inversechi 5y agoAwesome to see this published here. There was an episode on the SE Radio podcast about this book. See: https://www.se-radio.net/2021/06/episode-462-felienne-on-the-programmers-brain/ https://www.se-radio.net/2021/06/episode-462-felienne-on-the... The author is also a regular host on this show. Highly recommend it.
- javier10e6 5y agoEternal dialog: Ethos: Is it right to leave that pointer un-checked? Pathos: It makes me angry that code reviewers let this through. Logos: The code has bugs, don't act surprised, if you can, fix this one, otherwise put it in the team to-do list and move on.
- Terretta 5y agoOr, try this starting point: Brain and autonomic nervous system activity measurement in software engineering: A systematic literature review Abstract In the past decade, brain and autonomic nervous system activity measurement received increasing attention in the study of software engineering (SE). This paper presents a systematic literature review (SLR) to survey the existing NeuroSE literature. Highlights • First comprehensive review on use of neurophysiological methods in software engineering. • Investigation of 89 articles and detailed analysis of the 47 completed empirical studies. • Identification of code comprehension as the most frequently studied NeuroSE topic. • Increasing trend towards multi-modal measurements of neurophysiological data. • Identification of the most productive authors in the field of NeuroSE. https://doi.org/10.1016/j.jss.2021.110946 https://doi.org/10.1016/j.jss.2021.110946 https://www.sciencedirect.com/science/article/pii/S0164121221000431 https://www.sciencedirect.com/science/article/pii/S016412122...