aboutsummaryrefslogtreecommitdiff
path: root/exercises/047_methods.zig
AgeCommit message (Collapse)AuthorFilesLines
2024-05-20the EarthRoman Frołow1-1/+1
2023-06-22var to const when posssiblelording1-1/+1
2023-04-28Simplify methods explanation in 047Arya-Elfren1-13/+7
2023-04-26Clarify the methods syntax sugar & a bit moreArya-Elfren1-19/+24
I think it's a bit clearer to show exactly what the syntax sugar of methods is, because that's all it is. Every function in Zig is in a struct (files are structs after all) and methods just simplify their use. I also thought we might use the explicit saturating subtraction as that is why the feature is in Zig.
2023-02-21Merge pull request #191 from chrboesch/dev_1711Chris Boesch1-1/+1
dev.1711 - switched to multi-object-for-loops
2023-02-21dev.1711 - switched to multi-object-for-loopsChris Boesch1-1/+1
2023-02-20removed unnecessary self pointerChris Boesch1-1/+1
2022-07-31Merge pull request #112 from nahuakang/ex047-referenceDave Gauer1-1/+1
Edit comment to specify `for reference`
2022-07-31Correct conventional Zig reference vs value passing re #89Dave Gauer1-3/+3
2022-07-31Update comment per feedbackNahua1-1/+1
2022-07-31Update ex 047 comment and patchDave Gauer1-1/+1
2022-07-24Edit comment above a for loop by reference lineNahua Kang1-1/+1
2022-04-28Create new HeatRay struct to combat aliensJonathan Lopez1-4/+9
2021-08-30Update 047_methods.zigDave Gauer1-0/+3
2021-05-13Prevent error "cast discards const qualifier"Roman Frołow1-1/+1
2021-03-12"999 is enough for anybody" triple-zero padding (#18)Dave Gauer1-0/+94
When I hit 999 exercises, I will finally have reached the ultimate state of soteriological release and no more exercises will be needed. The cycle will be complete. All that will be left is perfect quietude, freedom, and highest happiness.