- Oct 2019
-
www.thinktocode.com www.thinktocode.com
-
This can become messy when you have a lot of configurations in your Entity. Another issue is that your annotations are coupled to your source code. Your database implementations details, or any other configurations are coupled to your domain object. This goes against the guidelines of clean code. Your domain object (Entity) should only have one reason to change.
Thank you for saying that loud.
-
- Nov 2018
- Oct 2018
- Sep 2018
-
wiki.c2.com wiki.c2.com
-
SystemArchitect http://wiki.c2.com/?ObjectOrientedProgramming
-
- Mar 2018
-
en.wikipedia.org en.wikipedia.org
-
a mutator method is a method used to control changes to a variable. They are also widely known as setter methods
For example, a method definition in Java would be:
class MyClassDef { public void setProperty(String propertyVal) { .. } }
For above, setProperty(..) method is the mutator
-
-
skmetz.home.mindspring.com skmetz.home.mindspring.comSlide 591
Tags
Annotators
URL
-
- Oct 2017
-
runestone.academy runestone.academy
-
Python supports the object-oriented programming paradigm
The main OOP concepts:
- an object as a model of a real object
- a class as a factory for objects or as a template that defines the structure of objects from this class and behavior of objects from this class
- an object as an instance of a class
- a method with or without parameters describes the behavior of instances
- calling or invoking method
-
- Sep 2016
-
github.com github.com
-
Reusing an object with a reset function is much faster than declaring a new object with new
Better insert a reset function than declare a new object!
-
- May 2016
-
dpcdsb.elearningontario.ca dpcdsb.elearningontario.ca
-
frame.setSize
Calling the object's method
-
super
If your method overrides one of its superclass's methods, you can invoke the overridden method through the use of the keyword super.
Here, we are invoking the superclass's constructor
-
-
stackoverflow.com stackoverflow.com
-
A class can only "implement" an interface. A class only "extends" a class. Likewise, an interface can extend another interface. A class can only extend one other class. A class can implement several interfaces.
Extends makes it a child, inherit the class' methods and shit. You can override its shit if you want.
Implements allows you inherit the constants that are declared, and you can define these constants. The way that works is it provides a bunch of empty methods, and you fill in the gaps
-
- Jun 2015
-
latentflip.com latentflip.com
-
Imperative programming: telling the "machine" how to do something, and as a result what you want to happen will happen. Declarative programming: telling the "machine"1 what you would like to happen, and let the computer figure out how to do it.
-
the function we pass to map is pure; it doesn't have any side effects (change any external state)
Tags
Annotators
URL
-
-
-
How it’s implemented doesn’t matter at all unless it’s implemented poorly.
-
-
www.fastcompany.com www.fastcompany.com
-
what we’re doing here is to yank government—upgrade it, patch it, and ultimately transform it so that it is responsive and can interface with this new private sector in a much more effective way.
-
-
martinfowler.com martinfowler.com
-
the cost of carry
Tags
Annotators
URL
-