You are here |
coderik.nl | ||
| | | |
blog.drewolson.org
|
|
| | | | In the past two years I've become reasonably comfortable with both PureScript and Haskell. I've learned so many new things while diving into the pure functional programming ecosystem and many of these techniques can be applied to other paradigms. Unfortunately, the pure FP world can feel a bit like another dimension - where many programming problems have elegant solutions but the world of "regular" programming isn't aware of these patterns. One such pattern is called "applicative-style validation", but I'll simply call it "declarative validation". In this post I'll provide some motivation for using this technique and then build a small library in Python implementing these ideas. | |
| | | |
www.laac.dev
|
|
| | | | Python's AsyncIO web ecosystem continues to mature, but should you build your next production application with one of these shiny new frameworks such as FastAPI, Starlette, or Quart? | |
| | | |
brandonrozek.com
|
|
| | | | Python dataclasses provide a simplified way of creating simple classes that hold data. from dataclasses import dataclass @dataclass class Person: name: str birth_year: int The above code is equivalent to: class A: def __init__(name: str, birth_year: int): self.name = name self.birth_year = birth_year self.__post__init__() Notice the call to __post__init__ at the end. We can override that method to do whatever we'd like. I have found two great use cases for this. | |
| | | |
wweb.dev
|
|
| | In this post, I will show how to set up debugging for Javascript in VS Code for Node.js and for React in Firefox or Chrome... |