Consider Structs
Dec17

Consider Structs

Welcome to CodeSpread! While taking birth in programming world, we all had our own experiences of learning; begin working on a new language or OOPS concepts or experimenting with a new tool or compilers. One of such experiences is already available here. Let’s share one more personal experience and an embarrassing one. J I was just caught up with c# and begin traversing the beautiful journey of programming. I was very overwhelmed with...

Read More
Why Multiple Inheritance is discouraged?
Dec27

Why Multiple Inheritance is discouraged?

Hi Guys, This is Sathish Again,Today we will discuss why most of the higher languages eliminates Multiple Inheritance? Most of you guys already know that multiple inheritance is not available for development but what you might not know is the reason as why it is not possible. First of all,we will revisit few basics of inheritance. What is Inheritance? Wikipedia says “In object-oriented programming (OOP), inheritance is a way to reuse...

Read More

Interview Series: Polymorphism Question- Answer Updated

We are sharing our third question of the series in the form of comic, Please help our kid in the comic by sharing your answers through comments or Facebook  or Google plus or twitter[@CodeSpreadBlog]. We have selected answers from Gaurav and Swati as they both were correct. Thanks Guys! Good Luck for the next...

Read More

Concepts: S O L I D

SOLID – Object oriented programming principles. May be its easy to forget these principles  but for creating a reusable code or maintainable code, people will always have to come back and check these principles for robust design. Today, We will explore these principles, not in terms of definition or meaning but why they are required or how they can help in designing our system. S –Single responsibility principle Wikipedia...

Read More