Skip to content

Commit 1ddb2e3

Browse files
committed
vault backup: 2025-06-12 08:03:48
Affected files: .obsidian/workspace.json fleeting-notes/2025-06-11.md
1 parent 56d00bf commit 1ddb2e3

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

.obsidian/workspace.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"state": {
1414
"type": "markdown",
1515
"state": {
16-
"file": "retrospectives/2025/05.md",
16+
"file": "fleeting-notes/2025-06-11.md",
1717
"mode": "source",
1818
"source": true
1919
},
2020
"icon": "lucide-file",
21-
"title": "05"
21+
"title": "2025-06-11"
2222
}
2323
}
2424
]
@@ -98,7 +98,7 @@
9898
}
9999
],
100100
"direction": "horizontal",
101-
"width": 820.5
101+
"width": 286.5
102102
},
103103
"right": {
104104
"id": "7d79c914da9cc99e",
@@ -174,9 +174,13 @@
174174
},
175175
"active": "8348e79006ab5d80",
176176
"lastOpenFiles": [
177+
"fleeting-notes/2025-06-05.md",
178+
"fleeting-notes/2025-06-11.md",
179+
"retrospectives/2025/05.md",
180+
"Clippings/supermacroneverthrow Type-Safe Errors for JS & TypeScript.md",
181+
"Clippings",
177182
"retrospectives/2025/04.md",
178183
"retrospectives/2025/01-02-03.md",
179-
"retrospectives/2025/05.md",
180184
"templates/new-retrospective-note.md",
181185
"planning/Things I wanna build, write, do.md",
182186
"planning/Face Wall Game.canvas",
@@ -201,8 +205,6 @@
201205
"retrospectives/2024/08.md",
202206
"retrospectives/2024/04-05.md",
203207
"retrospectives/2023/03-04.md",
204-
"retrospectives/2023/06.md",
205-
"retrospectives/2023/07.md",
206208
"retrospectives/2019 Retrospectives 3e7f916dddee49418383ccf4f93db27d/Untitled.png",
207209
"retrospectives/2025",
208210
"retrospectives/2024",
@@ -211,7 +213,6 @@
211213
"retrospectives/2021",
212214
"retrospectives/2020",
213215
"retrospectives/2019 Retrospectives 3e7f916dddee49418383ccf4f93db27d",
214-
"retrospectives/Retrospectives 0d7b81b2c95c490497b2bc78aebd14d4",
215216
"attachments/interative-hike-map.gif",
216217
"attachments/GX010518_1680688090641.jpg",
217218
"attachments/GOPR0564.jpg",

fleeting-notes/2025-06-11.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
publish_date: 2025-06-11
3+
tags:
4+
- typescript
5+
---
6+
7+
I like the concept of [neverthrow](https://github.com/supermacro/neverthrow).
8+
interesting talk about - https://youtu.be/VcOIz7tOBoM?si=DdxZlZkEX48t4YJi
9+
- try catch is hidden control flow and `error` is unknown so it takes discipline to check every `instanceof` and error could be, which is not scalable in larger teams.
10+
- neverthrow is useful when your service has multiple error states to handle
11+
- catch should only be for truly exceptional circumstances which we cant control.
12+
13+

0 commit comments

Comments
 (0)