Stories recently tagged with 'OOP'

The Liskov Substitution Principle (LSP ) « Maximum C#(maximumcs.wordpress.com)

submitted by codegurucodeguru(80) 2 years, 4 months ago

FUNCTIONS THAT USE POINTERS OR REFERENCES TO BASE CLASSES MUST BE ABLE TO USE OBJECTS OF DERIVED CLASSES WITHOUT KNOWING IT. read more...

add a comment |category: |Views: 102

tags: another

Traditional yet Powerful : Data Access Layer for ASP.Net(moretechtips.net)

submitted by MikeD1MikeD1(290) 3 years, 1 month ago

This is a complete example of creating Data Access Layer(DAL) using the traditional yet powerful "Object to Relational mapping model" or "Custom Entity Classes" that support Paging too.. read more...

add a comment |category: |Views: 54

tags: another

Object Oriented Programming with JavaScript : Timer Class(dailycoding.com)

submitted by rsonirsoni(930) 3 years, 5 months ago

How to do object oriented programming with JavaScript by taking simple example to a timer class.. read more...

add a comment |category: |Views: 75

tags: another

Object Oriented Programming has Failed Us(blog.dmbcllc.com)

submitted by ramiljoaquinramiljoaquin(465) 3 years, 8 months ago

I’ve been thinking about the state of the programmers coming into our industry recently. It seems to me that many of the college students who graduate today understand the syntax, but few know how to apply true object oriented principles to the real world. read more...

add a comment |category: |Views: 45

tags: another

The Tree & Wind Analogy(blog.rauchy.net)

submitted by rauchyrauchy(455) 4 years, 5 months ago

How to convince fresh meat that OOP is necessary. read more...

add a comment |category: |Views: 4

tags: another

Alternative Lazy JavaScript Inheritance(ajaxline.com)

submitted by luchkovskyluchkovsky(55) 4 years, 8 months ago

Lazy Inheritance is an approach intended to simplify writing OOP and provides support of prototype-based classes hierarhies, automatic resolving and optimizing classes dependencies. Lazy inheritance designates a postponed linking of an object with it's prototype (class) until it is needed. The benefits: * "Lazy inheritance" is a prototype based inheritance; * It is not necessary to maintain proper order of script files declaration; * HTML page is loaded faster since there are no objects created during page initialization and since some scripts could be loaded only at the moment in which they are actually necessary * Dependencies are declared in more explicit way and class depends only on concrete scripts * If lazy mode of scripts loading is used, only necessary scripts (which are actually required for application functionality) will be loaded. read more...

add a comment |category: |Views: 6

tags: another

How to OOP helps to resolve and optimize JavaScript class dependencies(ajaxline.com)

submitted by luchkovskyluchkovsky(55) 4 years, 9 months ago

"Lazy inheritance" is a design pattern used in JavaScript computer programming. It designates a postponed linking of an object with it's prototype (class) until it is needed. If used properly, such approach may increase efficiency, simplicity and flexibility of OOP based code written using JavaScript. Unlike of "classical" approach, it supports a "Lazy" way of inheritance implementation, since reference to parent class is invoked only at the moment of object instance creation. Basically, it's possible to say that instances of objects in such approach are created in "mixed" mode – on first invocation, an appropriate factory is used to modify object constructor prototype which is later used for subsequent object instances creation. Moreover, since "Lazy inheritance" is called only once at the moment of first object instance creation, it becomes possible to combine process of class prototype creation with resolving necessary dependencies of that class. In other words, the process of prototype construction also allows loading scripts (if ones were not loaded before) which particular class depends on. Such approach to inheritance support has the following benefits: * "Lazy inheritance" has the same benefits as classical JavaScript prototype features; * It is not necessary to maintain proper order of script files declaration; * In most cases, HTML page is loaded faster since there are no objects created during page initialization and since some scripts could be loaded only at the moment in which they are actually necessary (they are necessary if the caller code during it's execution really creates instances of corresponding classes); * Dependencies are declared in more explicit way and class depends only on concrete scripts; Moreover, it's not necessary to artificially group particular scripts into "modules" and define dependencies between such "modules"; * If lazy mode of scripts loading is used, only necessary scripts (which are actually required for application functionality) will be loaded. If, for example, some HTML page may operate in different modes, like "read-write" and "read-only", for every mode required scripts will be loaded and this will be performed automatically without manual script loading optimization. LINKS http://ajaxline.com/node/367 - The article http://sourceforge.net/projects/jsiner - The open source implementation read more...

add a comment |category: |Views: 5

tags: another

How long would it take to learn Object Oriented Programming?(mycsharpcorner.com)

submitted by youseflayousefla(675) 4 years, 10 months ago

Someone asked how long will it take them to learn C++, then how long will it take to learn OOP concepts, so I thought I share my answer here. OOP is a different concept of programming where you look at pieces of code as objects that have properties & behavior, rather than lines of code that execute one after the other (like in structured programming). There are many concepts to Object Oriented programming, but you might want to just keep in mind that read more...

add a comment |category: |Views: 7

tags: another

Interview Questions for DotNet, C#, OOP, ASP.net ... etc(spellcoder.com)

submitted by bashmohandesbashmohandes(3000) 4 years, 11 months ago

These are the most important 20 interview questions, which should be like 1+1 for any developer. read more...

add a comment |category: |Views: 905

tags: another

Redefining Access Modifiers(evanhoff.com)

submitted by ehoffehoff(980) 5 years, 2 months ago

This short article may challenge your current understanding of one of the fundamentals of OOP. Do you know the limitations of the private and protected access modifiers? You may be surprised about some of the subtle nuances that are often overlooked. Read on for details. read more...

add a comment |category: |Views: 2

tags: another

Pragmatic OOP in JavaScript(codebetter.com)

submitted by wwb_99wwb_99(870) 5 years, 3 months ago

Peter Gekko gives an excellent intro to OOP in Javascript which actually makes sense. read more...

add a comment |category: |Views: 8

tags: another

Why bother with exceptions?(mikeoff.blogspot.com)

submitted by mikeonmikeon(5200) 5 years, 8 months ago

A short article presenting few of my thoughts on validating input parameters and throwing exceptions. read more...

add a comment |category: |Views: 2

tags: another