You are programming in another level. I am having difficulties to understand your code at first watch, watching again and "AHA, WOOOWW YES THIS WAY IS BETTER". Thank you for improving my vision and the way of thinking
"In the vast ecosystem of programming paradigms, we find declarative programming, a truly fascinating specimen. Unlike its imperative counterpart, which instructs a computer on how to perform a task step by step, declarative programming eloquently expresses what should be accomplished without specifying the exact process. It's a language that allows developers to focus on the "what" rather than the "how," akin to a bird's mesmerizing display of colorful plumage in courtship. Declarative programming can simplify complex tasks, making it a remarkable adaptation for tackling a variety of challenges in the coding wilderness." - Zoran GPT Attenborough
I think it is challenging because there are several other things going on that aren’t mentioned. For one thing, it is clear he is using decorator pattern for discounts to easily manage stacking them on top of one another, which makes sense. How about a video on that and how would you implement a check for mutually exclusive discounts that can’t be stacked together? How would choose which to applies?
Download the source code for this video: www.patreon.com/posts/source-code-for-92189724 Learn more from the video course *Beginning Object-Oriented Programming with C#* ► codinghelmet.com/go/beginning-oop-with-csharp Avoid Returning Null From Methods - There Is a Better Way To Write Them! ► ruclips.net/video/HRLdcMil7Ec/видео.html Clean Code Tip: Favor Method Chaining Over Nested Calls ► ruclips.net/video/zWn0O0xzWMA/видео.html Manage Null References Like a Boss and Never Fail! ► ruclips.net/video/mLTD8DECCVQ/видео.html
Possibly yes, but don't give up. It takes some time to get used to thinking in terms of abstractions and letting other objects decide on how they should implement their promises.
@@zoran-horvat Totally. I had a hard time grasping the problem domain, even though it's your typical "bookstore app". I think it could be valuable to start with an example from scratch instead, as even though the problem domain would be tiny, it would able you to compare imperative and declarative design and see how the latter makes the code clearer. In this video viewers pretty much have to take your word for it.
I cracked up at the comment along with your facial expression, "bringing fresh requirements straight from hell." That's gold Mr. Horvat, pure gold.
You are programming in another level. I am having difficulties to understand your code at first watch, watching again and "AHA, WOOOWW YES THIS WAY IS BETTER". Thank you for improving my vision and the way of thinking
This concept is not easy to understand, but once you see through it - you never look back.
David Attenborough of software development.
I like this one.
"In the vast ecosystem of programming paradigms, we find declarative programming, a truly fascinating specimen. Unlike its imperative counterpart, which instructs a computer on how to perform a task step by step, declarative programming eloquently expresses what should be accomplished without specifying the exact process. It's a language that allows developers to focus on the "what" rather than the "how," akin to a bird's mesmerizing display of colorful plumage in courtship. Declarative programming can simplify complex tasks, making it a remarkable adaptation for tackling a variety of challenges in the coding wilderness."
- Zoran GPT Attenborough
@@ryan-heath How did you get this text?
@@zoran-horvat I asked ChatGPT: say something of declaritive programming in the style of David Attenborough 😎
@@ryan-heath This sounds great, I want to make a video with that!
Anyone would think you had a good grasp on SOLID principles. Nice one.
I think it is challenging because there are several other things going on that aren’t mentioned. For one thing, it is clear he is using decorator pattern for discounts to easily manage stacking them on top of one another, which makes sense. How about a video on that and how would you implement a check for mutually exclusive discounts that can’t be stacked together? How would choose which to applies?
Download the source code for this video: www.patreon.com/posts/source-code-for-92189724
Learn more from the video course *Beginning Object-Oriented Programming with C#* ► codinghelmet.com/go/beginning-oop-with-csharp
Avoid Returning Null From Methods - There Is a Better Way To Write Them! ► ruclips.net/video/HRLdcMil7Ec/видео.html
Clean Code Tip: Favor Method Chaining Over Nested Calls ► ruclips.net/video/zWn0O0xzWMA/видео.html
Manage Null References Like a Boss and Never Fail! ► ruclips.net/video/mLTD8DECCVQ/видео.html
It's a brilliant video! Thank you, Zoran!
This will require a few more watches from me before it sinks it, but I'm almost certain I will be glad when I do. Thanks for the video!
Possibly yes, but don't give up. It takes some time to get used to thinking in terms of abstractions and letting other objects decide on how they should implement their promises.
Love the way you say things (and most of the things you say 😅)
I've been practicing ;)
I am just a junior with 3 years experience. I dont see it.
Do you have another easier example or point me in correct direction with a link to read ❤
I'll think of it. Maybe I might return to this topic later, with an easier example. This one is admittedly advanced.
@@zoran-horvat Totally. I had a hard time grasping the problem domain, even though it's your typical "bookstore app". I think it could be valuable to start with an example from scratch instead, as even though the problem domain would be tiny, it would able you to compare imperative and declarative design and see how the latter makes the code clearer.
In this video viewers pretty much have to take your word for it.
💯
❤❤❤❤❤❤❤
❤ 🙏 🌹