this post was submitted on 26 Feb 2024
169 points (97.2% liked)
Programming
17492 readers
49 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If I were writing code that had had to be maintained by another person or that would need to be depended on I would test it and be a lot more restrained. However, for personal projects and things where I’m just learning I find it kinda fun to be creative; when my creativity comes back to bite me I learn something.
An example of that even my mentor thought was kinda stupid for trying to save space this way was to not use a null pointer for the head of this linked list and to switch up protoAddEvent and subsequentAddEvent in this state sim I wrote a while back: https://github.com/jcuberdruid/stateSim/blob/main/stateSim.c
Oh, well of course that's fine. The government is talking about software that is used for important systems. No hacker will even know about your personal side project.