Skip to content

Category: Programming languages

Singleton Pattern in Java, with Examples

Learn the Singleton design pattern in Java: a software engineering pattern that limits the creation of objects of a class to one, with code examples.

Dec 21, 2015

Sorting Lists in Python, with Examples

Learn the different ways to sort a list in Python, specifying the field, substring, attribute, etc. to sort by, with clear and practical examples.

Aug 30, 2015

Annotations in Java

Java annotations are simple notes that can change how your program works. Learn to use and create them, with Reflection and Spring dependency injection.

Aug 15, 2015

Reflection in Java

Reflection in Java lets you pick a class you wrote earlier and inspect or modify it while the program runs. It's easy to learn with practical examples.

Jul 12, 2015

Python Dictionary, with Examples

Learn how Python dictionaries work: declaring them, looping over key-value pairs and using methods like get, pop, update and more, with practical examples.

May 5, 2015