News for hackers. Stuff that matters.
Re:Adding a feature because ChatGPT incorrectly thinks it ex... by kragen on Monday July 07, 2025 @01:16PM (#44492503)
That's a perfect example! I wonder if changing it would be an improvement? If you can just replace image_get with imread in all the callers, maybe it would save your team mental effort and/or onboarding time in the future.
Re:Adding a feature because ChatGPT incorrectly thinks it ex... by data-ottawa on Monday July 07, 2025 @04:26PM (#44494329)
I strongly prefer `image_get/image_read` for clarity, but I would just stump in a method called `imread` which is functionally the same and hide it from the documentation.