Gaurang Pansaremasquerade817.hashnode.net·Mar 14, 2020Do you really understand interfaces?The lead-up When I was learning Java in college, I did not understand the use of interfaces. You can't define functions inside an interface. You can only declare them. You have to have a class implement the interface to define its functions and then ...Discuss·10 likesJava
Prajwal Pradhanprajwalpdn.hashnode.net·Aug 2, 2022Interface in GolangInterface is a definition, or an abstract type, which defines the expected behavior from an object (type). It is just a named collection of method signatures and doesn’t have its own implementation, but it is said to be implemented if any other types...Discuss·9 likes·35 readsgolang
MITHIN DEVmithin.hashnode.net·Mar 20, 2023[OOPS 5] Abstraction and Interfaces🟢Abstraction 😶🌫️In Java, abstraction is the process of hiding the implementation details of a class from the outside world and providing a simplified, high-level interface for using the class. 🤫 Think of abstraction as a magician's trick, where ...Discuss·2 likes·34 reads👨💻Object Oriented ProgrammingObject Oriented Programming
MITHIN DEVforMITHIN'S CONCEPTSmithin.hashnode.net·Mar 20, 2023[OOPS 5] Abstraction and Interfaces🟢Abstraction 😶🌫️In Java, abstraction is the process of hiding the implementation details of a class from the outside world and providing a simplified, high-level interface for using the class. 🤫 Think of abstraction as a magician's trick, where ...Discuss·2 likes·34 reads👨💻Object Oriented ProgrammingObject Oriented Programming
Pieces for DevelopersforPieces for Developers Blogpieces.hashnode.net·Feb 10, 2023Understanding Reflection and Interfaces in the Go Programming LanguageGo is a statically-typed “minimalist” programming language with an execution approach based on the notion that programs are collections of instructions to be compiled and executed— procedural programming. As a result, it does well when writing server...Discuss·102 readsGo Language
Divij Sehgalfordivijsehgal.hashnode.net·Feb 8, 2023Types and InterfacesTypeScript is a statically typed language that builds on JavaScript by adding optional types to the language. Interfaces and types are two essential features in TypeScript that allow developers to define the shape of objects and variables in their co...Discuss·31 readsTypeScript
Oleg Sinavskiforsinavski.hashnode.net·Feb 5, 2023Python interfaces: abandon ABC and switch to ProtocolsI used a standard Python library abc to define interfaces for the last 10 years of my career. But recently, I found that relatively new Python Protocols are way nicer. People find uses for both technologies. But I want to convince you to completely j...Discuss·60 readsPython
Gerald ParkerforEsoteric Techesoterictech.hashnode.net·Jan 16, 2023Interfaces in GoIf you study programming for any significant length of time, you will inevitably come across the concept of interfaces. When I initially learned about interfaces I discovered plenty of tutorials on the subject, but like many newcomers to programming,...Discuss·108 readsGo Language
Mubarak Muhammad Aminuformubaraktech.hashnode.net·Jan 12, 2023How to Consume PayStack APIs in a NodeJs/Typescript backendThere has been a lot of talk about typescript and the benefit it provides from what javascript has to offer. Well, Typescript is a superset of Javascript, which means whatever feature Javascript has, Typescript has it. Typescript gives us type safety...Discuss·119 readsTypeScript
Sanath SamarasingheforDevLogdevlog.hashnode.net·Dec 23, 2022Why it's not recommended to use "I" as interface prefix in TypesciptIt is generally not recommended to use "I" as a prefix for interface names in TypeScript because it does not provide any meaningful information about the interface and can actually be confusing. In TypeScript, interfaces are used to define the struct...Discuss·27 readsTypeScript
Harsh AnkurforHarsh's Blogbuildingtech.hashnode.net·Dec 22, 2022[Typescript OOP 3/3] Type safety with Interfaces, types, and enumsWhat is type safety? Type safety is an abstract construct we create on our code where we tell our coding and compiling software to display errors (a way of telling us that there is something wrong in the program which can break later) if a few things...Discuss·26 readsTypeScript
Vlad MihetforVlad's Blogvladmihet.hashnode.net·Nov 15, 2022What Are Interfaces in TypeScript?Similarly to Type Aliases, TypeScript's Interfaces provide us a medium to avoid code duplication across our TypeScript codebases. If we were to look at the alternative way of defining types, we would find ourselves defining and redefining types inlin...Discuss·33 readsInterfaces
Isaac MdzforIsaac Méndez Blogmdzcode.hashnode.net·Nov 5, 2022Interfaces everywhere...Hace un par de semanas un colega me hizo una pregunta retórica: ¿Será correcto que por cada problema que necesitamos resolver exista una interfaz que le corresponda una única implementación? Caí de ignorante y esta pregunta estuvo en mi mente un par ...Discuss·38 readsinterface