Re:Adding a feature because ChatGPT incorrectly thinks it ex...
by bandofthehawk on Monday July 07, 2025 @02:43PM
(#44493432)
As someone not familiar with these libraries, image_get or image_read seems much clearer to me than imread. I'm wondering if the convention is worse than your instinct in this case. Maybe these AI tools will push us towards conventions that aren't always the best design.
[ Parent
| on HN ]
Re:Adding a feature because ChatGPT incorrectly thinks it ex...
by kragen on Monday July 07, 2025 @03:09PM
(#44493656)
image_get is clearer—unless you've used Matlab, Octave, matplotlib, SciPy, OpenCV, scikit-learn, or other things that have copied Matlab's interface. In that case, using the established name is clearer.
(Unless, on the gripping hand, your image_get function is subtly different from Matlab's imread, for example by not returning an array, in which case a different name might be better.)
Re:Adding a feature because ChatGPT incorrectly thinks it ex...
by slowmovintarget on Monday July 07, 2025 @08:20PM
(#44495833)
Plus one for the The Mote in God's Eye reference.