Uncle Bob talking about Clean Code - Page 1
Forum section: electronics / general

author: Microdoser
author_rank: Frequent Contributor
timestamp: November 15, 2020, 04:56:51 pm
content: Interesting series of videos where 'uncle Bob' talks at length about clean code practices. I for one have changed some fundamental ways I code because of these videos, I thought I would post them here in case any of you are able to improve your own programming practices after watching them.He starts each one with about 5 minutes of unrelated, but somewhat interesting, talk about other things.The total length of all the videos is something like 9 hours.EnjoyFull Playlist:Lesson 1:Lesson 2:Lesson 3:Lesson 4:Lesson 5:Lesson 6:

author: Kjelt
author_rank: Super Contributor
timestamp: November 15, 2020, 06:19:59 pm
content: I have seen the series as well as its next series.Although he is really an excellent professional, IMO he ruins the lessons with his "funny" dressparties and comically intended jokes. It is just very annoying at times and it puts me totally out of the learning context.So bravo for the content but booh for the performance.Better buy his books.Edit: I see these are not the standard uncle Bob videos but some kind of exclusive talk, so interesting to see if this is more watchable , thanks.

author: andersm
author_rank: Super Contributor
timestamp: November 15, 2020, 09:18:39 pm
content: Quote from: Kjelt on November 15, 2020, 06:19:59 pmI had exactly the same reaction. At work they've shown a series of his videos, but I refused to attend after the first session.

author: Microdoser
author_rank: Frequent Contributor
timestamp: November 15, 2020, 11:11:03 pm
content: Sounds like these are not the same videos as the ones you have seen. These are more serious, no dressing up, no departures from the topic, except as I say the first five minutes of each video where he talks about something else.I found this series to be quite informative.

author: S. Petrukhin
author_rank: Super Contributor
timestamp: November 15, 2020, 11:26:43 pm
content: I thought it was a performance, a show to make money...In general, obvious and well-known thoughts are mixed up with jokes and a lot of extra words.Someone will like it, of course, as entertainment.

author: SiliconWizard
author_rank: Super Contributor
timestamp: November 16, 2020, 04:59:56 pm
content: I watched a couple and I have to admit this is not bad at all. I was a bit wary as many of those conferences about software dev are annoyingly dogmatic and/or uininteresting, but this guy is interesting.Sometimes he seems a bit too extreme in his examples, but I think it's just to let the concepts sink in. He's never too dogmatic either.So yeah, good stuff, and a nice change compared to all those conferences just playing with hype concepts and drawning you in fancy useless constructs instead of getting to the fundamentals.

author: Mechatrommer
author_rank: Super Contributor
timestamp: November 16, 2020, 05:39:03 pm
content: how to make a clean code in not a clean lecture? cant blame him as students/audiences tend to go asleep, always.

author: andersm
author_rank: Super Contributor
timestamp: November 16, 2020, 08:04:40 pm
content: Quote from: Microdoser on November 15, 2020, 11:11:03 pmNo, I think they were part of this series:

author: Bud
author_rank: Super Contributor
timestamp: November 16, 2020, 08:24:10 pm
content: Who is uncle Bob ?

author: Mechatrommer
author_rank: Super Contributor
timestamp: November 16, 2020, 09:28:28 pm
content: Quote from: Bud on November 16, 2020, 08:24:10 pmexactly my thought is. apparently he has programming experience for 40+ years (can we call him legend?), talked to Bjarne Stroustrup, work in Agile. but then, what is Agile? afa clean code is concerned, i think book on reusable code and basics in OOP cover it all up, and enough for me, but this is ever changing world with new generation of young players (javascript programmers), one thing that man is not good at... is being stagnant or stand still so they will find whatever game they can play with (keep them busy).

author: Jeroen3
author_rank: Super Contributor
timestamp: November 16, 2020, 09:31:29 pm
content: Quote from: andersm on November 15, 2020, 09:18:39 pmI have seen this series, the live videos record were long!But yes, his style is unique. Especially on his own videos he makes. He also made quite the hassle on twitter some time ago.He stil presents some solid points though. Pun intended.

author: Kjelt
author_rank: Super Contributor
timestamp: November 16, 2020, 09:45:30 pm
content: Quote from: Bud on November 16, 2020, 08:24:10 pmIf you're a SW dev then you have been living under a rock for some timeIf you are a HW dev then think of the likes of Bob Pease , Paul Horowitz, Jim Williams and all.Just a SW guru, that's all.

author: Microdoser
author_rank: Frequent Contributor
timestamp: November 16, 2020, 09:47:41 pm
content: Quote from: andersm on November 16, 2020, 08:04:40 pmWow, that is terrible!I managed maybe 2 minutes. I was interested in what he was saying, but I couldn't get past the terrible character acting and constant scene changing.Glad I saw the series of live recorded talks first!

author: Kjelt
author_rank: Super Contributor
timestamp: November 16, 2020, 09:55:22 pm
content: Quote from: Mechatrommer on November 16, 2020, 09:28:28 pmIf you are a SW dev you would know it.If you are a HW dev then an analogy is that most HW engineers work according to the V mode. Lets say you have to make a flashlight. You think of the architecture, design, thermo , physical layout, board layout, chips, implement, test, system test , deliver.And you deliver one big bang product. And guess whst you're customer does not like it, he wanted more light. So you have to start from scratch.If you would do this Agile (if possible) then you would first build for instance the led driver and led, test if this is good enough deliver to your customer or other stakeholder , get his feedback if stakeholder happy vontinue, if not adjust and deliver again till stakeholder is happy, now do thermal design, then battery charge circuit etc etc. So you deliver many small parts of the total product and combine it over time to the end product.Ofcourse this is a flawed example but in theory instead of doing the entire v-model waterfall style in one big bang you do it in a lot of small v-models, that way your customer/stakeholder is continuously informed and gets part of the evaluation that is your feedback.And yes in software esp. apps and gui like software this works great because you can adapt quickly to the wants of your dtakeholder and if time or money runs out the stakeholder de ides what features to drop or implement later then the first official release.

author: Mechatrommer
author_rank: Super Contributor
timestamp: November 16, 2020, 10:35:25 pm
content: Quote from: Microdoser on November 16, 2020, 09:47:41 pmtalking about multiple identity crisis? i thought i'm the worse, its fun actually. and if you noticed, it'll take a great deal of planning to make such sceneries switches. so he proved himself to be a good comedy film story/script maker as well. i watched it for 10 minutes only since i thought i got his point about clean code and guess the next minutes will talk about the same thing. i can feel in everything that he said in that 10 minutes. it was the time when reusable code and OOP method was really pushed to the mind of every new programmers, i was there and learning it, ie transition from C to C++, though i never treat C and C++ to be any difference, i had another book that explains things in C, and then i have another OOP in C++, so it came out my code to be like a hybrid, printf inside an object instead of cout >> or whatever the name is, such a thing. but i got the idea of reusable and modular code, agreed to it and implemented it in my entire life. i guess major old timer companies during that time still hadnt catching up and still with linear "assembly-like" coding practice, we hope this kind of practice is only in history by now. whats ironic though is programmers will rely on another programmers to make their job to work. cant he just build his own debugger? instead of relying to Sword Inc? oh i forgot... they rush things, just like any managerial businesses out there... there's your problem! if money and promises that you want, you got it, but not a clean code.but i think the word "clean code" s just an idealistic idea (like living in Utopia) so we can start with it from the beginning, but as the code grows, there is no such thing as it, maintainence headache will always proportional to code size and program complexity, however clean they are, there is no way around it i can see so far. the only thing that i know that can save your arse in many years to come is... a good documentations, separate (pdf, hlp, book) or inlined in the program code (comments), better to have both and i'll swear by the former if i can only choose one. my 2cnts.

author: SiliconWizard
author_rank: Super Contributor
timestamp: November 17, 2020, 01:01:05 am
content: Quote from: Microdoser on November 16, 2020, 09:47:41 pmDamn, yes. I knew the guy but had never seen his videos before. This series looks terrible indeed.The videos you posted are decent though. But after watching the first 2 lessons, which I think were relatively good, it started being a bit annoying starting with the 3rd, and worse with the 4th... Not that what he says is uninteresting, but what I found annoying is how much time he spent writing his examples (like the "stack" one). Good thing we can fast-forward a video, but attending this live would be painful to me.

author: Jan Audio
author_rank: Frequent Contributor
timestamp: November 29, 2020, 05:50:58 pm
content: Well, what did you learn then ?( not going to watch 9 hour and the rest videos )

author: Microdoser
author_rank: Frequent Contributor
timestamp: December 02, 2020, 02:07:05 am
content: Quote from: Jan Audio on November 29, 2020, 05:50:58 pmA better approach to writing code. Not so much a set of rules, more like an attitude. Most of that was in the first three videos TBH

author: DimitriP
author_rank: Super Contributor
timestamp: December 02, 2020, 02:36:33 am
content: Quote from: Kjelt on November 16, 2020, 09:45:30 pmSome people are what they do.Others, do.

author: Jan Audio
author_rank: Frequent Contributor
timestamp: December 05, 2020, 05:59:19 pm
content: Is this the uncle Bob that Dave always mentions ?

author: Microdoser
author_rank: Frequent Contributor
timestamp: December 06, 2020, 03:00:46 am
content: Quote from: Jan Audio on December 05, 2020, 05:59:19 pmAs I have no idea who the particular dave is you are referencing, I can't say yes or no

author: Tom45
author_rank: Frequent Contributor
timestamp: December 06, 2020, 03:51:15 am
content: Quote from: Microdoser on December 06, 2020, 03:00:46 amI think he may be referring to Dave saying "and Bob's your uncle".To Jan Audio: It's primarily a British saying. It's been around for a very long time but nobody really knows the origin.

author: SiliconWizard
author_rank: Super Contributor
timestamp: December 06, 2020, 08:47:55 pm
content: Yes:https://en.wikipedia.org/wiki/Bob%27s_your_uncle

author: Microdoser
author_rank: Frequent Contributor
timestamp: December 07, 2020, 02:24:33 am
content: Quote from: Tom45 on December 06, 2020, 03:51:15 amAh, that makes sense.