Jyotiprakash Mishrablog.jyotiprakash.org·Dec 18, 2024Introduction to Inheritance in Java (including interfaces and abstract classes)Imagine you’re building software for different types of vehicles: cars, trucks, and motorcycles. Each of these vehicles shares common attributes like speed, color, and fuel capacity, as well as behaviors like accelerate, brake, and refuel. Instead of...325 readsInterfaces
Shivam Dubeygo-tutorial.hashnode.dev·Nov 26, 2024Unlocking the Power of Interfaces in Go: A Beginner's JourneyInterfaces in Go are an essential feature that allows for flexibility and abstraction in programming. They let you define behavior without worrying about how it’s implemented, making your code modular and reusable. In this article, we will cover: Un...Interfaces in Go
Sohag Hasannotes.sohag.pro·Oct 31, 2024Interfaces and Abstract Classes in PHP: Your Friendly Guide to Object-Oriented ProgrammingInterfaces and Abstract Classes in PHP Introduction Imagine you're designing a transportation system for a city. You want different types of vehicles to follow certain rules and have specific capabilities. This is exactly where interfaces and abstrac...1 likeTips & TricksInterfaces
Akash Dasakashdas7781.hashnode.dev·Oct 6, 2024Understanding Interface vs Abstract Classes in Java and Best Use CasesI hope you guys ever heard about the difference between the abstract classes and the interfaces . This is the key concept of Object oriented programming and mostly used while designing flexible and maintainable applications. Before diving into the di...1 like·36 readsJava
Nikhil Akkinikhilakki.in·Oct 5, 2024Implement an Abstract Class in Go!Well in Go, there is no direct equivalent of Python's abstract classes, but you can achieve similar functionality using interfaces and struct embedding. Here's how you can replicate the behavior of an abstract class in Go. Python Abstract Class Examp...55 readsGogolang
emptycodesemptycodesalsowrites.hashnode.dev·Aug 29, 2024The Truth Behind Every 'foreach' LoopIn the world of C#, one of the most common and elegant constructs is the foreach loop. It’s simple, readable, and effective for iterating over collections. But have you ever wondered what makes this magic happen? The secret lies in the IEnumerable<T>...1 like·163 readsforeach
Carmine Tambasciablog.allaroundjavascript.com·Aug 25, 2024Difference between extending and intersecting interfaces in TypeScript?Have you ever found yourself thinking in a complex project asking this question, then in this article I will try to answer with examples Let's say the following type is defined: interface Shape { color: string; } Now, maybe we need a way to abstra...84 readsTypeScript
vikash kumardevopswizard.hashnode.dev·Jul 27, 2024Virtual Networking: From Basics to Docker and BeyondHey , fellow tech enthusiasts! If you're diving into the world of Kubernetes, you probably know that networking is a crucial component. But what if you're not quite familiar with the nuts and bolts of networks? Don't worry! This guide is here to help...Linux for DevOpsVirtual Networking
Jit Mitraeclair.hashnode.dev·Jun 7, 2024Types v/s Interfaces in TypeScript - A DilemmaWhen venturing into TypeScript, many encounter the dilemma of whether to employ Types or Interfaces, as both appear to fulfill the same function: predefining data or object types for future use. The TypeScript official documentation recommends priori...45 readsTypeScript
Vikas Guptavikasfeedingdotnet.hashnode.dev·May 31, 2024Exploring C# 12: Latest Features and EnhancementsAs developers, we constantly seek ways to improve our productivity and code quality. Microsoft's C# language has evolved significantly over the years, introducing new features with each iteration to streamline development processes and enhance functi...113 readsc#12