I vote yes. 🙂 The biggest caveat will be your team and their buy-in. You don’t mention a language, so I’ll use Python as an example. I personally found it very easy to begin doing functional programming inside a big messy OOP Python codebase. It was so messy that the full app could only run…More
My answer to: “How can you effectively review code with complex database queries?”
I had a really interesting experience at a graduation day demo for a coding bootcamp. It cemented my strategy for reviewing someone else’s code: My (non-programmer) business partner and I were walking past screen after screen, each showing another student’s source code. The class used a progamming language we didn’t know too well. Most of…More
A data-driven app without the database
My January 2024 project was a new open source coding cookbook. Instead of primary keys and foreign key constraints, I’m using Python’s typing.Literal and Pydantic models. This makes sense to try because the final product is a statically generate website (built with Hugo). My Python code does all the content preparation. So, for example: Etc. I can…More
I just realized that Python classes give you a filter predicate for free.
I guess I’m really late to the party, but this is a new realization for me. I have a class for info about a single code recipe on forkful.ai. Here’s a simplified version: In my Python script that manages the content, a list of articles_to_create is built. For a technical reason which I’ll blog about…More
“How to Do Code Documentation?”
I saw this question: I made a simple networked game in Java for a university assignment, and I need to document it. I was wondering how real-life developers do this. What is the common and best structure for documentation? My answer:More