Object-Oriented Programming (OOP) in Python
Classes, objects, inheritance and the dunder methods that make Python objects feel built in — plus dataclasses and when a function is…
Try: python lists, javascript functions, syntax error, first project
Every guide on the site, newest first. Explanations, projects and fixes written in plain English.
Classes, objects, inheritance and the dunder methods that make Python objects feel built in — plus dataclasses and when a function is…
PDO is the standard way to talk to a database from PHP. Connecting, prepared statements that stop SQL injection, fetching rows, transactions…
What PHP is, how it differs from JavaScript, how a request becomes a page, and your first working script — with the…
PHP 7 has been end-of-life since 2022. What PHP 8 changed in the language, what breaks when you move, why the upgrade…
IPython is missing from the interpreter you are running. Here is the fix, including the capitalisation trap and the Jupyter kernel mismatch…
No IntelliSense, "cannot find symbol" on everything, or the run button does nothing? VS Code needs a JDK it can find and…
What generics are, the problem they solve, and how they look in Java, C#, TypeScript and Python — with constraints, wildcards and…
== asks whether two values are equal; is asks whether they are the same object. Use is only for None, True, False…
The difference between concurrency and parallelism, when threads help and when they do not, and the two bugs — race conditions and…
You put call brackets after something that is not a function. The type in the message names it. The usual cause is…
You used square brackets on something that does not support them: an int, a None, a function, a method you forgot to…
The fastest way to improve is to read one guide, then build the thing it describes. Start with the basics, or jump straight to a project.