Git Gud
What Went Wrong
Down in the Database
A Cup of Java
Pattern Makes Perfect
100
You need to push your code on this day of the week.
What is every day?
100
What Went Wrong Slide #1.
Remove commented code.
100
It destroys an existing database, index, table or view.
What is Drop?
100
This keyword refers to the immediate parent class object.
What is super?
100
This design pattern restricts the instantiation of a class to one object.
What is a Singleton?
200
This command performs a fetch and then a merge in a single action.
What is Pull?
200
What Went Wrong Slide #2.
Don't use numbers for result sets columns.
200
This database object helps in manipulating data row by row representing a result set.
What is a cursor?
200
A class that needs to be extended and its method implemented and It cannot be instantiated.
What is an abstract class?
200
This pattern is used for creating objects without having to specify the exact class of the object that will be created.
What is a Factory?
300
This command copies a single commit to a different branch.
What is Cherry-Pick?
300
What Went Wrong Slide #3.
Don't make multiple queries in a loop.
300
This clause is used to aggregate values to be derived by collecting similar data.
What is group by?
300
A Cup of Java Slide #2.
What is 2?
300
This pattern is used for achieving concurrency of execution in a program.
What is a Thread-Pool?
400
The Command to undo changes by a commit that was already pushed and made public.
What is Revert?
400
What Went Wrong Slide #4.
Don't concatenate values in a SQL statement.
400
I will get this result when running the query: select case when null = null then 'Yup' else 'Nope' end as Result;
What is Nope.
400
This keyword is being used to prevent a class from being inherited.
What is final?
400
This pattern is used for delaying the creation of an object, the calculation of a value, or some other expensive process until the first time it is needed.
What is Lazy initialization?
500
This feature allows you to run custom scripts before or after certain actions (like commit, pull, push, etc).
What are Hooks?
500
What Went Wrong Slide #5.
Don't remove elements from a collection while loop through that collection.
500
Down in the Database Slide #5.
What is a missing commit.
500
This object oriented Concept is achieved by using overloading and overriding.
What is Polymorphism?
500
This pattern allows behavior to be added to an individual object, either statically or dynamically, without affecting the behavior of other objects from the same class.
What is a Decorator?
M
e
n
u