Joël Quenneville Profile
Joël Quenneville

@joelquen

Followers
2K
Following
3K
Statuses
3K

I craft software, mostly on the web. I love best practices, patterns, and functional programming.

Joined September 2012
Don't wanna be here? Send us removal request.
@joelquen
Joël Quenneville
3 years
Working in small chunks is one of the powerful dev skills I have! Among other things it: 👀 Makes it easier to get code review (smaller PRs) 🏃‍♂️ Keeps forward momentum 🗑️ Prevents code from going stale ↩️ Makes code easier to revert a thread on ways to achieve this 🧵
1
19
50
@joelquen
Joël Quenneville
12 hours
@wlgriffiths Stay tuned for the follow-up article on `to_key` and how to deal with composite primary keys in URLs 😉
0
0
0
@joelquen
Joël Quenneville
12 hours
I applied my "triangle of separation" principles: 1. Write code at a single level of abstraction 2. Push conditions up the decision tree 3. Separate branching code from doing code This led to optimal decomposition in my superclass, giving subclasses easy hooks to override
Tweet media one
0
0
1
@joelquen
Joël Quenneville
12 hours
Once you understand the ActiveModel API and how it relates to the various Rails view and controller helpers, you can get all of that magic to work for your custom objects just like it does for Active Record objects! ✨
0
0
0
@joelquen
Joël Quenneville
4 days
For example, here's a mind map I drew after I'd spent some time writing method and module level docs for a library.
Tweet media one
0
0
2
@joelquen
Joël Quenneville
4 days
@seagreen__ @obsdmd Here's another fun view: just the atomic notes, but coloring those that contain the top 5 tags (if a note has multiple tags, the earliest color group wins). Interesting to see that "time" and "writing" are perfectly clustered while "testing" and "mental-model" are spread out.
Tweet media one
0
0
1
@joelquen
Joël Quenneville
4 days
@robzolkos No, I have a flat folder system. I do have a couple other sibling folders that contain things like media and templates but those aren't really content. The goal with to start really minimalist and focus on actually writing. I haven't needed to impose more structure via folders.
1
0
2
@joelquen
Joël Quenneville
5 days
@seagreen__ @obsdmd I wonder if some other types of views could be enlightening? Perhaps being able to filter by "depth" like Obsidian already does for backlinks, but have the filtering be from a *set* of nodes (e.g. tag nodes) rather than a single note 🤔
1
0
2
@joelquen
Joël Quenneville
14 days
@onghu A fun thing you can do by leaning on the default proc for caching is to build recursive, cached Fibonacci as a hash:
Tweet media one
1
0
3
@joelquen
Joël Quenneville
14 days
There is a wealth of knowledge in your day-to-day experience but you need to actively engage with it
0
0
0