Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stumped again - help, please?
#4
(10-24-2019, 07:58 AM)carmen Wrote: When attempting my second plugin (and learning in the process) I would rather suspect myself--not a bug in the code...

This is the right attitude... to a point(*). After that, nobody is going to disrespect you if you do a well documented bug report, even if it's not a bug after all. But in all likelihood, while writing a "watertight" bug report, either you figure out the problem yourself or there is really  a bug.  

(10-24-2019, 07:58 AM)carmen Wrote: And I just split the path much like I used to do in javascript some 20 years ago--beginning before there was a reliable W3 DOM.
Query: should one always try to import a dedicated module (when available) instead of using more basic methods?
I understand that to be the C approach, but--is it really more efficient for a such simple task as in my example?

1) using the module is more readable, and less likely to break on alien systems (for instance it will handle slashes and backslahes transparently between, Windows, Linux and OSX)
2) these are really built-in modules,  there is no performance penalty in using them.


(10-24-2019, 07:58 AM)carmen Wrote: Many thanks--hope not to become too great a bore!

If I didn't like to play Mr Know-it-all I would not have started this forum.

(*) I remember seeing a person rank C beginner complaining about bugs in GCC on StackOverflow
Reply


Messages In This Thread
Stumped again - help, please? - by carmen - 10-23-2019, 11:16 PM
RE: Stumped again - help, please? - by Ofnuts - 10-24-2019, 12:20 AM
RE: Stumped again - help, please? - by carmen - 10-24-2019, 07:58 AM
RE: Stumped again - help, please? - by Ofnuts - 10-24-2019, 09:41 AM
RE: Stumped again - help, please? - by carmen - 10-24-2019, 10:26 AM

Forum Jump: