13

What's the most complex programming task you ever had to solve? Or: A "hack"* of a framework/API you came up with to make something work?

*undocumented or unintended use

Comments
  • 5
    Manually programming collision detection between a circle and a rectangle, including determining on which side the rectangle was hit by the circle. Was for a school project, thank god the topic was OOP and not collision detection.
    Gave up on that, never got it to work properly.
  • 2
    I once parsed 'ls' output by splitting based on white space then made two lists of string one with file/folder name and another for file/folder permissions. I failed to apply the simplest concept of OOP, creating a fucking object with two props, one is the name and the other is permission but instead: fileList[index] + " " + permissionList[index]

    *cries in corner for such sin*
  • 2
    Character escaping in the devRant API authentication flow in bash. Never got it to work...

    In hindsight, let's just hardcode it in 🤪
Add Comment