-
Pattern: AbstractFactory
Description Abstract Factory is a creational design pattern that lets you produce families of related objects without specifying their concrete classes. Example in .NET : AbstractFactory Learn More Source Code for Microsoft implementation of AbstractFactory SourceCode DbConnection Learn More Wikipedia } Homework Imagine you want to produce loggers. You have a logger that logs to…
-
Pattern: Flyweight
Description Flyweight pattern is used to reduce the memory and resource usage for complex models containing a large number of similar objects. Example in .NET : Flyweight Learn More Source Code for Microsoft implementation of Flyweight SourceCode String.Intern Learn More Wikipedia } Homework Make an exchange rate system. The symbol and names of the currency…
-
Pattern: Observer
Description Observer pattern is a behavioral design pattern that defines a one-to-many dependency between objects so that when one object changes state,all its dependents are notified and updated automatically. Example in .NET : Observer Learn More Source Code for Microsoft implementation of Observer SourceCode INotifyPropertyChanged Learn More Wikipedia } Homework Imagine you have a logger…
-
RSCG – MSTest
name MSTest nuget https://www.nuget.org/packages/MSTest.SourceGeneration/ link https://github.com/microsoft/testfx author Microsoft AOP for MSTest This is how you can use MSTest . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/MSTest
-
Friday links 462
HeyPuter/puter: The Internet OS! Eloquent JavaScript Tools that Make Me Productive as a Software Engineer – DEV Community Excalidraw systemdesign42/system-design: Building the best system design resource in the internet URL parts Developers are on edge How SQL developers can maximize savings – Microsoft SQL Server Blog How to Get appsettings.json Content as a Dictionary in…
-
RSCG – Minerals.AutoMixins
name Minerals.AutoMixins nuget https://www.nuget.org/packages/Minerals.AutoMixins/ link https://github.com/SzymonHalucha/Minerals.AutoMixins author Szymon Halucha Generate Mixin from another classes This is how you can use Minerals.AutoMixins . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/Minerals.AutoMixins
-
RSCG – ThisClass
name ThisClass nuget https://www.nuget.org/packages/ThisClass/ link https://github.com/trympet/ThisClass author Trym Lund Flogard Generate full class name from class This is how you can use ThisClass . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/ThisClass
-
RSCG – RossLean.StringificationGenerator
name RossLean.StringificationGenerator nuget https://www.nuget.org/packages/RossLean.StringificationGenerator/ link https://github.com/RossLean/RossLean/ author Alex Kalfakakos Generating constructor code as string This is how you can use RossLean.StringificationGenerator . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/RossLean.StringificationGenerator
-
RSCG – Minerals.AutoInterfaces
name Minerals.AutoInterfaces nuget https://www.nuget.org/packages/Minerals.AutoInterfaces/ link https://github.com/SzymonHalucha/Minerals.AutoInterfaces author Szymon Hałucha Generating interface from class This is how you can use Minerals.AutoInterfaces . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/Minerals.AutoInterfaces
-
Friday links 461
Falsehoods Junior Developers believe about becoming Senior Collections | Microsoft Learn Laws of Software Why new hires often get paid more than existing employees – bloomberry You don’t *have* ideas,you develop them | Swizec Teller Scientists Pinpoint the Exact Moment People Lose Interest in a Presentation | Inc.com The art of good code review Resilience…
I am ok , you are ok