Ahmed Abdelaalahmedabdelaal.hashnode.dev·Mar 11, 2024Understanding Ruby Modules: Prepend vs. IncludeIntroduction: Module is a collection of constants, methods, classes, and variables in a container. Modules implement the mixin facility module Animal def sound puts 'animal sound' end end class Dog include Animal ...Discuss·10 likesprepend
Andres Gesteiraquantum-quirks.hashnode.dev·Feb 3, 2024Class Composition in TypeScriptSoftware design is important. It is the process of creating a system that meets the requirements and objectives for a certain project. To design a good software, we should consider various factors such as scalability and maintainability, and make inf...Discuss·719 readsTypeScript
Shivam Akhouririder.hashnode.dev·Dec 27, 2023Custom mixins in Django | DjangoIntroduction Django mixins are a way to reuse your logic across various views using a class-based inheritance model. In this article, we will take a sneak peek at Django mixins and try to understand why we need them, and how to use them in our Django...Discuss·1 like·41 readsDjango
Ronil Rodriguesronilrodrigues.hashnode.dev·Sep 28, 2023Understanding Abstract Classes, Interfaces, and Mixins in Object-Oriented ProgrammingObject-oriented programming (OOP) is a paradigm that emphasizes the use of classes and objects to model real-world entities. In Java and other similar languages, we have three powerful tools for achieving this: Abstract Classes, Interfaces, and Mixin...Discussmixins
Dileepa Chandimablog.dilipchandima.com·Jun 2, 2023My way to implement media queries using SCSS mixinsWhat is SCSS A CSS preprocessor scripting language, specifically SCSS (Sassy CSS), is a powerful tool that enhances the capabilities of traditional CSS by adding programming features. SCSS acts as an extension to CSS, allowing developers to write mor...DiscussCSS
Vlad Mihetvladmihet.hashnode.dev·Nov 14, 2022What Are Mixins in TypeScript?If you've worked with TypeScript extensively, you would know that we cannot inherit or extend from more than one Class at a time. However, this inconvenience is something we can get around by using something called Mixins. But what exactly are Mixins...Discuss·37 readsTypeScript
Mustafa Dalgasft.hashnode.dev·Nov 22, 2021How to create multiple mixins in one file and using specific mixins in vue jsWhen we have features such as method, computed or watch, that we want to use in more than one component or view, we can create and use mixins to avoid repetitive codes. In small projects, we can create and import a mixin file for each repetitive feat...DiscussVue.jsmixins