What variable type is returned from Open()?
Rhodri James
rhodri at kynesim.co.uk
Fri Apr 17 14:10:59 EDT 2020
On 17/04/2020 17:18, dcwhatthe at gmail.com wrote:
> Maybe it isn't true for all IDE's or all languages. (I know SOMEONE
> will interject here, to argue for the sake of arguing). But when I
> worked with Groovy in Intellij about 5 years ago, there were times
> when the IDE was confused, during a debugging sessions. I don't
> remember the exact details, but that anomaly happened only with DEFed
> variables ; it didn't happen when the data type was specified.
This is a general problem for IDEs, and type information isn't always
helpful. The number of times I have had to add useless bits of code to
cast something to (uint8_t *) because I want to see the bytes and the
IDE will not give up on trying to interpret them for me.
And people wonder why I stick to gdb when at all possible :-)
--
Rhodri James *-* Kynesim Ltd
More information about the Python-list
mailing list