Software Architecture Principles From 5 Leading Experts

  Рет қаралды 34,888

Continuous Delivery

Continuous Delivery

Күн бұрын

Пікірлер: 33
@SSJ0016
@SSJ0016 Жыл бұрын
ChatGPT can read your shirt with zero issue. I screen snipped it, and had the following interaction: >> You >> Uploaded image >> what does this say >> >> ChatGPT >> The text on the shirt is a leetspeak representation of the quote "The measure of intelligence is the ability to change," which is often attributed to Albert Einstein. In leetspeak, letters are often replaced by numbers or other characters that resemble the letters. Here's the text translated into standard English letters: >> >> THE MEASURE OF INTELLIGENCE IS THE ABILITY TO CHANGE. >> The text at the bottom appears to be "ALBERT EINSTEIN" represented in a similar leetspeak style. RIP
@nicholasrobins2835
@nicholasrobins2835 Жыл бұрын
I have been grappling with the idea of readability vs consistency vs optimized. But to bring this altogether with, must be “easy to change”, mind blow. So simple, but so true. My design approach has forever changed.
@bernardobuffa2391
@bernardobuffa2391 Жыл бұрын
kind of own recipe... every time I begin working on a US, I spend the most reasonable amount of time NOT WRITING CODE, resisting the temptation of writing, but reading well the requirements, looking how this must fit into the existing software, and designing the solution. I try to figure out, without writing a single line of code, all the data circuits, the layers, classes and so on. Most of the time, the whole meditation exercise goes less than 10% of the time estimated. This gives you the opportunity to refine this design and avoid programming vices, since you have nothing materialized, but in your gray tissue only.
@PavelHenkin
@PavelHenkin Жыл бұрын
One step that really does good things for me is to, even before the design, define the problem using the user-centric verification language
@sneibarg
@sneibarg Жыл бұрын
When I say aim for readability, I mean both as text, like it were English, and I also mean "does that block of code really need to be a block or can we turn it into a line?" Recently I added a comment to a pull request and said I would move that block to a method. The response was "but it's only called once". My response was "I mean readability in the sense that a new person learning this specific class file will come to this block of code with the intention to focus on a subsequent section of that block and get distracted by it." Even if you're only executing the method once per transaction, a block of code that adds cognitive complexity should become a line of code.
@bobbycrosby9765
@bobbycrosby9765 Жыл бұрын
If you remove a block from its usage context and put it somewhere else, when you need to connect multiples of these together, it can make the code less readable, not more. It's tradeoffs all the way down. I prefer commented code blocks in somewhat larger methods - I consider it the best of both worlds. If I don't need the details of what it does I can jump to the next block of code. If I do then it's right there. When I need to fully understand what it's doing, it makes it a lot easier. I think a killer IDE feature would be to setup a view that lets you inline-expand method calls. This way you could still easily get the full context with many small methods.
@sneibarg
@sneibarg Жыл бұрын
@@bobbycrosby9765 A block of code that populates a list to be passed downstream is not that kind of example.
@ContinuousDelivery
@ContinuousDelivery Жыл бұрын
yes, naming blocks of code is a significant tool to help readability
@ContinuousDelivery
@ContinuousDelivery Жыл бұрын
I have heard that argument before, but top be honest, I don't get it. The logical conclusion is that functions obscure meaning, and all code in-line is the ideal, that makes no sense to me. Functions give us the chance to assign meaning to otherwise arbitrary blocks of code. I don't care how many times a block of code is called, if I can describe what its is meant to do with a name I prefer to do so.
@techforserious60
@techforserious60 Жыл бұрын
I think a lot of time is spent on trying to figure out the ultimate design principles, and not enough time is spent on the human element of coding If you have apathetic developers in survival mode who are resentful towards their company and their boss, or who are not supported by a proper set of motivations, it doesn't matter what design/architecture principles you pick, you aren't going to end up with a masterpiece
@aha6593
@aha6593 5 ай бұрын
I speak about medium sized projects with different skill levels and roles. The software design is a key part to get the project done. A good design is able to show the team members how to produce good software.
@kitastro
@kitastro Жыл бұрын
Readable in the sense that I can read it... Without getting a headache
@islandparadise
@islandparadise Жыл бұрын
Love how the choice of tee matches the video topic
@krss6256
@krss6256 Жыл бұрын
Thank you! Another really great video. What do you think about 'convention'? As the convention that the team may be already familiar with - used in this or previous projects - and obviously, if it's not a terribly bad designed convention. Following conventions in my opinion also plays extremely important part in making the code readable at the whole system scale. The worst thing is if every subsystem of the system is using different design patterns - even if correctly applied - but to a concepts for which there is already a well design convention across the team.
@giorgiotesti9365
@giorgiotesti9365 Жыл бұрын
Nice guidelines video, whats means/express the "Cohesive" and "Good separation of concern" parameters at min. 15?
@srinivaschillara4023
@srinivaschillara4023 Жыл бұрын
the essay by Jack Reeves should really have been provided as a reference. good coherent summary overview of design - as a noun - in any case.
@caitlinmclaren2695
@caitlinmclaren2695 Жыл бұрын
I expected clickbait from anyone except Dave Farley.
@maddokmike5760
@maddokmike5760 Жыл бұрын
i lost focus on first watch, because i was trying to decipher that dam t-shirt :D
@osten_petersson
@osten_petersson Жыл бұрын
In my first decade as a software developer I thought the problem was that it were too few poets and way too many engineers in software development, nowadays I think the main problem is the textfile itself, maybe we should have some c4 capabilities in the daw - forcing the developer to think about modules and relationships before he even can write his first if-else
@osten_petersson
@osten_petersson Жыл бұрын
not that the poets and squareheads problem is solved in any way - just the lesser evil
@pelle4971
@pelle4971 Жыл бұрын
Do you believe there's a universal metric or principle that can be applied to evaluate the 'elegance' of a software design, or is elegance always context-dependent? How might we reconcile differing opinions on what constitutes an 'elegant' design in a collaborative environment?
@jangohemmes352
@jangohemmes352 Жыл бұрын
I think I'd vote for 'Cost of change' to be that metric. Software that's easy to change is equivalent to well-designed software for me
@bernardobuffa2391
@bernardobuffa2391 Жыл бұрын
I think it was Bob Martin who once said that 'good software must be boring to read' in the sense that there is no trickery, no obscure or tweaked meaning in it. This and SLA (Single Level of Abstraction) is a must for me. Not sure if that qualifies as 'elegant' but for the minimum 'goodness' of the design I think is ok.
@khiariyoussef3226
@khiariyoussef3226 Жыл бұрын
exactly, because otherwise why would we need a good software design ? for the looks ?@@jangohemmes352
@RFalhar
@RFalhar Жыл бұрын
Only metric I can think of is change cycle time. How long does it take, in aggregate, to go from starting to make a change to that change being used by users. But it is quite abstract and far away from actual code and technologies. And involves much more than that.
@ono48
@ono48 Жыл бұрын
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”
@Hofer2304
@Hofer2304 Жыл бұрын
Readable for whom? For another expert programmer, another domain expert or for any person who wants to know what this program does?
@thefattysplace
@thefattysplace Жыл бұрын
I'm not sure what i took away from this video, the t shirt is cool though.
@ForgottenKnight1
@ForgottenKnight1 8 ай бұрын
7:50 - Method split is not getting enough love even today. Too bad, because it's one of the best refactorings to improve readability, clarity and add more context and meaning to your code. Instead, I see engineers prefer to leave multi-line comments instead of refactoring their code...
@thevikas5743
@thevikas5743 Жыл бұрын
If you have favs of text or IDE, might as well settle the decades old debate of tab or spaces. For some fun sake. Haha
@grappesio
@grappesio Жыл бұрын
first view lol
SOLID Principles: Do You Really Understand Them?
7:04
Alex Hyett
Рет қаралды 205 М.
Software Architecture Tips I WISH I Knew Sooner
18:04
Continuous Delivery
Рет қаралды 46 М.
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 85 МЛН
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,2 МЛН
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 46 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 48 МЛН
*NEW STUDY* Does Co-Development With AI Assistants Improve Code?
12:12
Continuous Delivery
Рет қаралды 23 М.
Developer Jobs AREN'T What You Think They Are
14:33
Continuous Delivery
Рет қаралды 31 М.
Event Driven Architecture EXPLAINED in 15 Minutes
14:55
Continuous Delivery
Рет қаралды 35 М.
What Software Architects Do That Programmers DON'T
12:51
Thriving Technologist
Рет қаралды 124 М.
What Software Architecture Should Look Like
19:13
Continuous Delivery
Рет қаралды 83 М.
How To Avoid TOXIC Team Culture In Software Development
17:28
Continuous Delivery
Рет қаралды 28 М.
The Difference Between Developers & Software Engineers
13:50
Continuous Delivery
Рет қаралды 76 М.
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 85 МЛН