Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bodge5000
on July 4, 2023
|
parent
|
context
|
favorite
| on:
Problems of C, and how Zig addresses them
I think so, if I write it out in pseudo code it might make more sense. What I was trying to do was pretty much:
const mymap = {1: "hello", 2: "world"};
But the only thing I could find any answers for was something more like:
const mymap; mymap.put(1, "hello"); mymap.put(2, "world");
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: