This commit is contained in:
Correl Roush 2021-08-06 13:21:42 -04:00
parent e2a72b7cda
commit c31111c6a2
7 changed files with 19 additions and 6 deletions

View file

@ -3,7 +3,7 @@
:END:
#+title: Python Typing
Python does not require nor enforce strict typing, and instead takes a dynamic
[[id:cda9c620-fec5-4549-b979-22fc06819d77][Python]] does not require nor enforce strict typing, and instead takes a dynamic
approach using [[id:c50025bd-6942-4a78-b448-ea6fda2925fd][Duck Typing]].
[[id:59b10eea-ac54-4452-ae6c-b5e003bb0c22][Gradual Typing]] support for Python is provided via type hints as described in

View file

@ -3,7 +3,7 @@
:END:
#+title: Hy
A lisp dialect of Python.
A lisp dialect of [[id:cda9c620-fec5-4549-b979-22fc06819d77][Python]].
* Example
#+name: dataclass

View file

@ -1,10 +1,13 @@
:PROPERTIES:
:ID: 36fa073d-4b34-4b2b-bf96-0994a44df61e
:END:
#+title: Working with currencies
#+title: Working with currency units in Python
- https://simple.wikipedia.org/wiki/ISO_4217
An example of converting between sub-units and base units in [[id:cda9c620-fec5-4549-b979-22fc06819d77][Python]] as defined
in [[id:bb3ab7e4-8824-4c32-bc74-e5b900d6e4d1][ISO 4217: Currency Codes]].
#+begin_src python :exports both
from decimal import Decimal

View file

@ -0,0 +1,5 @@
:PROPERTIES:
:ID: cda9c620-fec5-4549-b979-22fc06819d77
:ROAM_ALIASES: Python
:END:
#+title: The Python Programming Language

View file

@ -17,8 +17,8 @@ working on the same project for so long.
+ Polishing the monad library, focusing on completing async Result to provide
concise pipelining.
* Lingering TODOs
- Talk on Python Types
- Talk on my work setup (Emacs, note taking, git client, etc.)
- Talk on [[id:5cb1f706-0162-4e6d-9cd8-dc6af3ae68cc][Python Types]]
- Talk on [[id:df5b2861-3838-409d-b4e4-fce7f302f778][my work setup]] (Emacs, note taking, git client, etc.)
- Setting up a concise framework for HTTP API services based on our current
cookie-cutter. Not as exciting as some things, but still at least interesting.
- Starting up a fortnightly seminar covering SICP and other texts / topics for

View file

@ -0,0 +1,5 @@
:PROPERTIES:
:ID: bb3ab7e4-8824-4c32-bc74-e5b900d6e4d1
:ROAM_REFS: https://simple.wikipedia.org/wiki/ISO_4217
:END:
#+title: ISO 4217: Currency Codes

View file

@ -5,7 +5,7 @@
#+title: PyVideo.org · The Clean Architecture in Python
Brandon Rhodes talk on [[id:1a74e6c8-023d-4a04-aae7-74d4428f6de5][Software Architecture]] discusses [[id:dd0581c9-2276-4022-bf74-ff6b9d54b96a][Isolating effectful code
to the top layer of your application]] in Python.
to the top layer of your application]] in [[id:cda9c620-fec5-4549-b979-22fc06819d77][Python]].
In doing so, he demonstrates that it is easier to build fast, comprehensive unit
tests of pure functions, thereby minimizing potentially fragile integration