this post was submitted on 27 Jun 2023
10 points (100.0% liked)
Programming
13386 readers
140 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
One thing that I did that was super helpful was to try to replicate something from Python.
(Yes, I know you can just look at the Python source, but just trying to ignore that and thinking about ways one might go about it. Not for production, just for practice)
For example, I wanted to try making something akin to Python's lists in C, with all of it's various operations, e.g. append, insert, length, split, reverse, copy, etc. I started with a single data type, and then wanted to expand it to accept whatever data type I threw at it. A project like this covered a lot of C concepts and really helped me get a grasp on things like data structures, memory management, search algorithms, etc.