Kai Nguyen
@kai_nguyen
Joined Jan 3, 2024
2
Following
2
Followers
Learns #Learning #Knowledge Management #Knowledge #AI #Self-improvement
56
1.33k
166
realpython.com/python-memory-management/
Mar 26, 2024
1 Highlights
realpython.com/python-interface/
Mar 26, 2024
23 Highlights
realpython.com/python-classes/
Mar 25, 2024
186 Highlights
realpython.com/python-repr-vs-str/
Mar 25, 2024
2 Highlights
realpython.com/python3-object-oriented-programming/
Mar 25, 2024
15 Highlights
realpython.com/solid-principles-python/
Mar 25, 2024
1 Highlights
www.scattered-thoughts.net/writing/things-unlearned/
Mar 20, 2024
2 Highlights
www.scattered-thoughts.net/writing/on-bad-advice/
Mar 20, 2024
14 Highlights & 2 Notes
blog.quastor.org/p/build-scalable-notification-service
Mar 20, 2024
blog.quastor.org/p/tech-dive-apache-kafka
Mar 17, 2024
24 Highlights
zaidesanton.substack.com/p/the-most-underrated-skill-sql-for
Mar 14, 2024
5 Highlights
dev.to/kanani_nirav/secret-to-optimizing-sql-queries-understand-the-sql-execution-order-28m1
Mar 11, 2024
11 Highlights
builtin.com/data-science/sql-order-of-execution
Mar 10, 2024
8 Highlights
realpython.com/python-doctest/
Mar 8, 2024
9 Highlights
peps.python.org/pep-0257/
Mar 8, 2024
5 Highlights & 1 Notes
runestone.academy/ns/books/published/practical_db/PART1_SQL/03-expressions/expressions.html
Mar 7, 2024
16 Highlights & 1 Notes
www.bottomupcs.com/ch01.html
Mar 7, 2024
3 Highlights
dev.to/fidalmathew/async-vs-defer-in-javascript-which-is-better-26gm?ref=dailydev
Mar 6, 2024
5 Highlights
beej.us/guide/bgnet/html/split-wide/what-is-a-socket.html
Mar 1, 2024
8 Highlights
runestone.academy/ns/books/published/practical_db/PART1_SQL/02-data-retrieval/data-retrieval.html
Feb 27, 2024
7 Highlights
runestone.academy/ns/books/published/practical_db/PART1_SQL/01-sql-basics/sql-basics.html
Feb 23, 2024
44 Highlights
www.freecodecamp.org/news/data-structures-the-key-to-scalable-software
Feb 22, 2024
271 Highlights
www.youtube.com/watch?v=QJNwK2uJyGs
Feb 22, 2024
3 Highlights
realpython.com/python-exceptions/
Feb 22, 2024
9 Highlights
Object-oriented programming is a programming paradigm that provides a means of structuring programs so that properties and behaviors are bundled into individual objects.
In Python, you define a class by using the class keyword followed by a name and a colon. Then you use .init() to declare which attributes each instance of the class should have:
more manageable and more maintainable
A class is a blueprint for how to define something. It doesn’t actually contain any data
an instance is an object that’s built from a class and contains real data
You can give .init() any number of parameters, but the first parameter will always be a variable called self
Attributes created in .init() are called instance attributes.
class attributes are attributes that have the same value for all class instances.
define a class attribute by assigning a value to a variable name outside of .init().
Use class attributes to define properties that should have the same value for every class instance. Use instance attributes for properties that vary from one instance to another.
custom objects are mutable by default.
Instance methods are functions that you define inside a class and can only call on an instance of that class
You can change what gets printed by defining a special instance method called .str()
Inheritance is the process by which one class takes on the attributes and methods of another
Child classes can override or extend the attributes and methods of parent classes