Mert Özen Further With Every Line

Blog

Mert Özen's blog posts on software development, backend, frontend, and DevOps.

Series
18 posts found #oop
Static Members, Static Classes and Extension Methods in C#
Backend PART 04

Static Members, Static Classes and Extension Methods in C#

Static fields and methods that belong to the type, the absence of this in static methods, const versus static readonly and when the static constructor runs, static classes, an ISBN-validating extension method, the rules of extensions and the threading trap of shared static state.

7 Nov 2026 9 min 7
Encapsulation and Access Modifiers in C#: public, private, protected, internal
Backend PART 03

Encapsulation and Access Modifiers in C#: public, private, protected, internal

Why a get-only List property protects nothing, keeping invariants inside the object, IReadOnlyList versus AsReadOnly, the six access modifiers and their defaults, private belonging to the type, and the assembly boundary with internal and InternalsVisibleTo.

7 Nov 2026 9 min 9
Fields, Properties and Constructors in C#: Building Objects Right
Backend PART 02

Fields, Properties and Constructors in C#: Building Objects Right

The parameterless constructor that disappears once you write your own, private and readonly fields, a validating property, auto-properties, get-only, private set, init and computed properties, constructor chaining and the order in which initializers run.

7 Nov 2026 10 min 7
Classes and Objects in C#: Writing Your First Own Type
Backend PART 01

Classes and Objects in C#: Writing Your First Own Type

A class is a recipe, an object is what it produces in memory. The first Book class with fields and methods, this, what being a reference type means, identity comparison with ==, null and NullReferenceException, and how classes are laid out in files and namespaces.

7 Nov 2026 9 min 6
JavaScript OOP Patterns: Inheritance or Composition? Factory Functions and Mixins
Frontend PART 03

JavaScript OOP Patterns: Inheritance or Composition? Factory Functions and Mixins

We talk about the cost of inheritance, combining behavior with composition, factory functions and mixins, choosing between closures and #private, the SOLID principles that fit JavaScript, and when a class is worth writing.

3 Nov 2026 9 min 28
JavaScript Classes: Constructor, Getters/Setters, Static and Private Fields
Frontend PART 07

JavaScript Classes: Constructor, Getters/Setters, Static and Private Fields

We build class syntax with a cookie-cutter analogy and work through constructors, getters/setters, static members, # private fields, extends and super, then see that a class is really prototypes underneath.

3 Nov 2026 9 min 30
Blog Map