wireleaf

programming.zig

Idiomatic error handling in Zig?

mossy-willow-64

I've been at this for a while now and still feel like a beginner. Be gentle, I'm new here.

pale-reed-99

Nothing beats doing it badly a few times.

Reply
slow-rowan-48

Start small and stay consistent. That's really all there is to it.

Reply
tidal-sparrow-40

The cheap option was fine for years.

Reply
misty-wren-231 more

Counterpoint: it depends a lot on how much time you have.

Reply
amber-alder-40

Second this.

Reply
copper-yarrow-99

Small correction, but the point stands.

Reply
quiet-fern-711 more

Careful with that advice, it doesn't work for everyone.

Reply
bright-sparrow-17

I went down the same road and ended up somewhere completely different.

Reply
dusky-lichen-631 more

Start small and stay consistent. That's really all there is to it.

Reply
rustling-yarrow-68

dusky-lichen-63 wrote:

Start small and stay consistent.

This is the most useful reply in the thread.

Reply
amber-beech-96

Could you share a photo?

Reply
mossy-beech-6

Ha, I thought I was the only one.

Reply
hollow-hazel-4811 more

Counterpoint: it depends a lot on how much time you have.

Reply
wild-moth-641 more

The official docs are better than they look.

Reply
sunlit-sedge-4

Agreed, and it takes a while before it clicks.

Reply
tidal-willow-956 more

Strong disagree, but thanks for writing it up.

Reply
copper-clover-475 more

Do you have a source for that? I'd like to read more.

Reply
copper-alder-28

The official docs are better than they look.

Reply
wild-moth-221 more

copper-clover-47 wrote:

Do you have a source for that?

I asked the same thing a year ago, the answers here helped a lot.

Reply
still-finch-29

Agreed, and it takes a while before it clicks.

Reply
tidal-beech-67

Whatever you pick, pick it soon. Waiting is the expensive part.

Reply
quiet-alder-93

Whatever you pick, pick it soon. Waiting is the expensive part.

Reply
pale-birch-141 more

Ha, I thought I was the only one.

Reply
silver-sparrow-55

Could you share a photo?

Reply
amber-beech-22

Small correction, but the point stands.

Reply
sunlit-rowan-321 more

Nothing beats doing it badly a few times.

Reply
wild-wren-86

sunlit-rowan-32 wrote:

Nothing beats doing it badly a few times.

This is the most useful reply in the thread.

Reply
hollow-wren-301 more

Thanks, exactly what I was looking for.

Reply
silver-thistle-43

Strong disagree, but thanks for writing it up.

Reply
hollow-willow-543 more

Counterpoint: it depends a lot on how much time you have.

Reply
woven-finch-41

This is the most useful reply in the thread.

Reply
still-fern-961 more

Small correction, but the point stands.

Reply
slow-alder-64

Have you tried asking in the local group too?

Reply
copper-reed-368 more

Good question, following.

Reply
slow-sedge-47

copper-reed-36 wrote:

Good question, following.

Counterpoint: it depends a lot on how much time you have.

Reply
slow-willow-366 more

Have you tried asking in the local group too?

Reply
dusky-finch-553 more

slow-willow-36 wrote:

Have you tried asking in the local group too?

Could you share a photo?

Reply
rustling-heron-502 more

dusky-finch-55 wrote:

slow-willow-36 wrote:

Same experience here.

Reply
silver-reed-761 more

This deserves its own thread.

Reply
gentle-birch-43

Strong disagree, but thanks for writing it up.

Reply
woven-hazel-59

slow-willow-36 wrote:

Have you tried asking in the local group too?

The official docs are better than they look.

Reply
rustling-sedge-77

The cheap option was fine for years.

Reply
woven-yarrow-55

Ha, I thought I was the only one.

Reply
wild-finch-5

Good question, following.

Reply
tidal-otter-178 more

Saving this for later.

Reply
copper-birch-471 more

Counterpoint: it depends a lot on how much time you have.

Reply
rustling-heron-17

That's fair. I hadn't looked at it that way.

Reply
gentle-otter-69

The official docs are better than they look.

Reply
sunlit-beech-561 more

I asked the same thing a year ago, the answers here helped a lot.

Reply
gentle-yarrow-34

Thanks, exactly what I was looking for.

Reply
sunlit-clover-442 more

This deserves its own thread.

Reply
late-birch-82

sunlit-clover-44 wrote:

This deserves its own thread.

Could you share a photo?

Reply
silver-clover-80

Whatever you pick, pick it soon. Waiting is the expensive part.

Reply
gentle-hazel-431 more

Do you have a source for that? I'd like to read more.

Reply
hollow-sedge-80

Same experience here.

Reply
silver-otter-68

Thanks, exactly what I was looking for.

Reply
pale-willow-977 more

Do you have a source for that? I'd like to read more.

Reply
late-birch-433 more

Strong disagree, but thanks for writing it up.

Reply
silver-lichen-322 more

Start small and stay consistent. That's really all there is to it.

Reply
sunlit-rowan-70

That's fair. I hadn't looked at it that way.

Reply
wild-thistle-52

The cheap option was fine for years.

Reply
woven-reed-13

Second this.

Reply
mossy-clover-01 more

Careful with that advice, it doesn't work for everyone.

Reply
hollow-pine-40

Saving this for later.

Reply
quiet-yarrow-95

That's fair. I hadn't looked at it that way.

Reply
quiet-reed-421 more

I asked the same thing a year ago, the answers here helped a lot.

Reply
amber-beech-17

This deserves its own thread.

Reply
mossy-birch-36

Could you share a photo?

Reply
bright-clover-71

Good question, following.

Reply
sunlit-lichen-73

Second this.

Reply
hollow-finch-321 more

Second this.

Reply
tidal-finch-67

The cheap option was fine for years.

Reply
wild-sparrow-95

My experience was the opposite, oddly enough.

Reply
tidal-alder-61

The official docs are better than they look.

Reply
pale-finch-983 more

The cheap option was fine for years.

Reply
tidal-sedge-63

pale-finch-98 wrote:

The cheap option was fine for years.

Have you tried asking in the local group too?

Reply
gentle-birch-641 more

Whatever you pick, pick it soon. Waiting is the expensive part.

Reply
wry-sparrow-78

gentle-birch-64 wrote:

Whatever you pick, pick it soon.

This deserves its own thread.

Reply
copper-thistle-44

Good question, following.

Reply
wry-pine-14

Counterpoint: it depends a lot on how much time you have.

Reply
pale-reed-18

Agreed, and it takes a while before it clicks.

Reply
hollow-moth-78

Ha, I thought I was the only one.

Reply
slow-willow-19

Thanks, exactly what I was looking for.

Reply
gentle-clover-99

Good question, following.

Reply
hollow-fern-361 more

Saving this for later.

Reply
amber-beech-17

Same experience here.

Reply
tidal-wren-28

Strong disagree, but thanks for writing it up.

Reply
sunlit-willow-70

The official docs are better than they look.

Reply
woven-thistle-53

Small correction, but the point stands.

Reply
copper-wren-90

Ha, I thought I was the only one.

Reply
mossy-rowan-82

Careful with that advice, it doesn't work for everyone.

Reply
wild-otter-43

I went down the same road and ended up somewhere completely different.

Reply
rustling-fern-99

The cheap option was fine for years.

Reply
woven-alder-871 more

Saving this for later.

Reply
amber-otter-16

woven-alder-87 wrote:

Saving this for later.

Good question, following.

Reply
slow-finch-263 more

Thanks, exactly what I was looking for.

Reply
late-yarrow-95

slow-finch-26 wrote:

Thanks, exactly what I was looking for.

Ha, I thought I was the only one.

Reply
dusky-yarrow-72

Careful with that advice, it doesn't work for everyone.

Reply
pale-pine-1

slow-finch-26 wrote:

Thanks, exactly what I was looking for.

Second this.

Reply
bright-heron-60

Good question, following.

Reply
misty-sedge-768 more

Careful with that advice, it doesn't work for everyone.

Reply
mossy-wren-927 more

That's fair. I hadn't looked at it that way.

Reply
slow-sparrow-875 more

My experience was the opposite, oddly enough.

Reply
late-pine-103 more

slow-sparrow-87 wrote:

My experience was the opposite, oddly enough.

I asked the same thing a year ago, the answers here helped a lot.

Reply
dusky-lichen-76

Second this.

Reply
quiet-finch-54

late-pine-10 wrote:

slow-sparrow-87 wrote:

Counterpoint: it depends a lot on how much time you have.

Reply
silver-heron-35

Careful with that advice, it doesn't work for everyone.

Reply
late-sedge-87

slow-sparrow-87 wrote:

My experience was the opposite, oddly enough.

This is the most useful reply in the thread.

Reply
silver-beech-31

mossy-wren-92 wrote:

That's fair.

This deserves its own thread.

Reply
copper-beech-19

Good question, following.

Reply
silver-beech-972 more

Strong disagree, but thanks for writing it up.

Reply
late-birch-2

That's fair. I hadn't looked at it that way.

Reply
dusky-heron-48

silver-beech-97 wrote:

Strong disagree, but thanks for writing it up.

My experience was the opposite, oddly enough.

Reply
woven-thistle-67

Start small and stay consistent. That's really all there is to it.

Reply
gentle-moth-12 more

This deserves its own thread.

Reply
late-alder-161 more

gentle-moth-1 wrote:

This deserves its own thread.

This is the most useful reply in the thread.

Reply
misty-hazel-8

Small correction, but the point stands.

Reply
rustling-thistle-41

Ha, I thought I was the only one.

Reply