5 July 2026
Posts published on funGyaan on 5 July 2026.
July 2026
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 |
-
Object-oriented or functional: which style for which code?
Use objects where something has identity and state that must stay consistent, and pure functions over plain data for transformations, calculations and pipelines. Most good codebases mix the two. How to decide, with Go and TypeScript examples.