in reply to Re: learning by example; please explain what this code is doing?
in thread learning by example; please explain what this code is doing?

Hello 'Your Mother'

I didn't say I was not interested in the quality, only that it was not as important right now as is my interest in trying to understand what was going on.

I find this perlmonks environment can be made quite difficult. As an outsider looking in (at various posts) some responses can be interpreted as condescending or high-hatted or just mainly interested in unwarranted criticism. Perhaps it is just not for me and I am too 'soft'.

Thank you for the link, which I will surely go and read; some direct answers would have helped too (time and willingness permitting of course).

I am sorry if what I posted has bothered you, or any one, for being long, incorrect or time consuming.

Peace and best wishes.

  • Comment on Re^2: learning by example; please explain what this code is doing?

Replies are listed 'Best First'.
Re^3: learning by example; please explain what this code is doing?
by Your Mother (Archbishop) on Mar 30, 2016 at 13:06 UTC

    I completely understand that view. From my perspective I'm trying to prevent newcomers from picking up either time-wasting habits or dangerous ones. Which means, I'm trying to help you even if it doesn't quite feel that way.

    DO NOT PLACE THIS SERVICE ON AN OPEN WEB SERVER

    That caveat in the script should be read to mean: the following code is insecure but let's not worry about how. If you emulate it, you could destroy a business, expose yourself to multi-million dollar lawsuits, get yourself fired, or generally make co-workers not enjoy having you on the team.

    I am completely for test code and learning code and reinventing wheels for fun and all that. So I'm not trying to be a downer or criticize. I would be angry if I saw that code at work is all and I'd like to help new hackers avoid that direction as I have no idea how long my career will be. :P

    Corion got you a good response on your direct questions. So, not all monks are bad!

      Hello again Your Mother,

      It is not my intention to just copy and use and of course security is important...but that is a given. I am just intrigued.

      If the code is fundamentally the wrong approach and just should not be done (not withstanding security issues), or the construction and techniques used incorrect and so forth, then by all means I would like to know, but I have to understand what I'm looking at first and then how it hooks together. If it is 'better' to bin it and review a different approach, then that is fair enough.

      Sadly perhaps, I am someone who likes a bit of hand-holding and cuddling occasionally.

      By the way, where/what is the wheel please, to your hint at the reinvention (as most things are these days) ? :-)

      Thank you

      PS: that link you provided is heavy weather: the title is a little off-putting when you are just starting out

Re^3: learning by example; please explain what this code is doing?
by GotToBTru (Prior) on Mar 30, 2016 at 15:44 UTC
    As an outsider looking in (at various posts) some responses can be interpreted as condescending or high-hatted or just mainly interested in unwarranted criticism.

    I prefer to think of it as "tough love". ;)

    One thing I hope you won't see is criticism without suggestions also. Some are more polite than others, but I can say the intention almost always is to help you improve both by removing bad code/practices/ideas and learning good code/practices/ideas.

    But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)