38 lines
1.1 KiB
Markdown
38 lines
1.1 KiB
Markdown
---
|
|
title: "@nicbarkeragain You can also implicitly pass the source code location from creation so there's no need for explicit labeling a lot of the time."
|
|
type: archive
|
|
source: twitter
|
|
source_url: "https://x.com/Leonardo_Temp/status/2084214550358876592"
|
|
author: "leotmp"
|
|
handle: Leonardo_Temp
|
|
post_id: "2084214550358876592"
|
|
date: 2026-08-03
|
|
archived: 2026-08-25
|
|
draft: false
|
|
tags:
|
|
- archive
|
|
- twitter
|
|
- nicbarkeragain
|
|
description: "@nicbarkeragain You can also implicitly pass the source code location from creation so there's no need for explicit labeling a lot of the time."
|
|
in_reply_to: ""
|
|
parent_post_id: "2084072929780998198"
|
|
---
|
|
|
|
## Source
|
|
|
|
- URL: https://x.com/Leonardo_Temp/status/2084214550358876592
|
|
- Author: leotmp (@Leonardo_Temp)
|
|
- Posted: 2026-08-03 09:47:26
|
|
|
|
## Branch
|
|
|
|
**1/** **@Leonardo_Temp** ^2084214550358876592
|
|
|
|
**@nicbarkeragain**
|
|
|
|
You can also implicitly pass the source code location from creation so there's no need for explicit labeling a lot of the time. Odin makes this easy with "loc := #caller_location"
|
|
|
|
## Related
|
|
|
|
- Spine: [[archive/threads/nicbarkeragain/2026-08-03-imo-basically-every-object-creation-api-you-have]]
|