âĻ MOOD::
âŧ HABIT [[âķ Trackers]] [Sketching::] [Exercise::] [Read::] [Personal Work::] [Nutrients and Water::]
\Wednesday, March 06, 2024
ð Daily Questionsâ
ð Last night, after work, Iâ
- Played vball at Work
- Played Zelda
ð One thing I'm excited about right now isâ
ð One+ thing I plan to accomplish today isâ
- [ ]
ð One thing I'm struggling with today isâ
ð Ephemeral Notesâ
- #python #programming Dictionary vs Dataclasses
- When choosing between a dictionary and dataclass structure in Python, there are a few considerations but one should remember that a dataclass is comprised of dictionaries under the hood
- Purpose - dictionary is a mapping type structure while a dataclass is a record type structure
- Function - dictionary is mean to be updated and mutable while dataclasses allow instances to be immutable upon creation, and prevents attributes from being removed or added. There are also better type hint support
- Efficiency - because dictionaries are simpler it is faster
Notes created todayâ
List FROM "" WHERE file.cday = date("2024-03-06") SORT file.ctime asc
Notes last touched todayâ
List FROM "" WHERE file.mday = date("2024-03-06") SORT file.mtime asc
created: 2023-01-16 11:50