20

Me vs my other personalities trying to figure out why we wrote whatever this thing is even supposed to be

Comments
  • 5
    This is a great example of
    1. Bad comments
    2. Why ToDo's shouldn't be merged into /master. Because you just *wont* come back to it for months, if ever...

    The only good ToDo in master in my opinion is one talking what should be done differently in the next major release, and can be used to compile a list of tasks together with filenames where to start and hopefuly a gitblame name of who suggested it!
  • 5
    Don’t you get it? You have to implement a past-mind-reader! Simple af!
  • 2
    @Hazarth That's actually understandable if you accept the fact that I'm not a developer, I'm a pepega cosplaying as one.
  • 0
    Well, "stackAdd" seems to be a pretty self-explanatory name. So just implement the push functionality there and rename the method to "push".

    Not sure, what "stackManage" is supposed to do though. Normally, a stack doesn't need any maintenance.
    Maybe you want to scrub it from expired weak references or something similar...
  • 2
    @Oktokolo but this thing has no stacks!
  • 0
    @IHateForALiving
    The name suggests, that it _is_ a stack ;)
  • 0
    Or, well, there's a stack but my very-past self didn't really feel like giving current-self any clue, and not-so-past self was just as baffled as I am
  • 0
    @IHateForALiving i had to face such situations, but since i started to auto comment every single line even if it is obvious.
    That really helped me figure out what i did 😂😂😂
Add Comment