Author Topic: Problems and Solutions Links (don't reinvent the wheel ...)  (Read 85799 times)

0 Members and 1 Guest are viewing this topic.

Lee Mac

  • Seagull
  • Posts: 12283
  • London, England
Re: Problems and Solutions Links (not reinventing the wheel ...)
« Reply #45 on: December 06, 2010, 10:52:02 AM »
Very well put together and informative.

Thanks Daniel - I'm glad it is comprehensible, its pretty difficult to spot mistakes when writing it yourself  :|

Although I'd used the static technique before I'd not thought of the dynamic default before - Next time a situation like that comes up I'll have to give it a try.

Nice one - let me know how you get on!  :-)




Lee Mac

  • Seagull
  • Posts: 12283
  • London, England
Re: Problems and Solutions Links (not reinventing the wheel ...)
« Reply #46 on: December 07, 2010, 01:00:01 PM »
Error Handling Tutorial

As always, I welcome any feedback you might have, including: suggestions for improvement, questions about the content, or any mistakes that are found.

 :-)

John Kaul (Se7en)

  • Administrator
  • Needs a day job
  • Posts: 9270
Re: Problems and Solutions Links (not reinventing the wheel ...)
« Reply #47 on: December 09, 2010, 03:45:02 PM »
> ...in my opinion the localisation is a cleaner solution.

explain please. Your comment about being "messier" does not cut it for newbies and i will explain (i hope good enough) in my comment.

Comment: You are teaching. In teaching you strive to eliminate confusion and contradiction at every avenue therefore i recommend NOT using fancy tricks (If i can use two examples: dont use (or <var> (setq <var>)) use (setq <var> (cond...) and your localization of the *error* symbol). I understand that you dont necessarily agree with me but again, teaching is different then practice. A newbie is just going to see the same THING in several places and never really take the time to see why THIS ONE is HERE and THAT ONE is THERE.
“Common sense is not so common.” ~Voltaire

--> Donate to TheSwamp.org <--

ronjonp

  • Needs a day job
  • Posts: 7043
Re: Problems and Solutions Links (not reinventing the wheel ...)
« Reply #48 on: December 09, 2010, 03:47:53 PM »
And so it begins  :-D

*<<Insert MP's stick poking emoticon here>>*

Windows 10 x64 - AutoCAD /C3D 2020

Custom Build PC

John Kaul (Se7en)

  • Administrator
  • Needs a day job
  • Posts: 9270
Re: Problems and Solutions Links (not reinventing the wheel ...)
« Reply #49 on: December 09, 2010, 03:51:32 PM »
And so it begins  :-D

*<<Insert MP's stick poking emoticon here>>*

Why do you say that? I thought i was very polite and very descriptive. He said feedback is welcome.
“Common sense is not so common.” ~Voltaire

--> Donate to TheSwamp.org <--

alanjt

  • Needs a day job
  • Posts: 5327
  • Standby for witty remark...
Re: Problems and Solutions Links (not reinventing the wheel ...)
« Reply #50 on: December 09, 2010, 03:52:05 PM »
And so it begins  :-D

*<<Insert MP's stick poking emoticon here>>*
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Lee Mac

  • Seagull
  • Posts: 12283
  • London, England
Re: Problems and Solutions Links (not reinventing the wheel ...)
« Reply #51 on: December 09, 2010, 04:19:05 PM »
And so it begins  :-D

*<<Insert MP's stick poking emoticon here>>*

Why do you say that? I thought i was very polite and very descriptive. He said feedback is welcome.

Definitely - I thank you for your comments and feedback - I do welcome comments to help improve the tutorials; after all, it's my first time at writing a tutorial so there are bound to be things I can improve on.

Regarding your feedback surrounding the use of 'or' in my Prompting with Default tutorial - I would be half inclined to agree, it would be offering fancy alternatives to a user who is only just trying to understand the overall concept. But I do want to offer examples that will try to get a user to think about WHY something can be coded in such a way, if the user isn't prepared to dissect the examples, then they shouldn't really be reading the tutorial in the first place.

Where the *error* localisation is concerned, I would think this is a far simpler concept to grasp than to store the previous handler in a local variable and then reset it. I was considering not including the second method at all, but again, I felt the tutorial should require the user to actually think about what the code is trying to achieve and various ways to go about it.

Lee

ronjonp

  • Needs a day job
  • Posts: 7043
Re: Problems and Solutions Links (not reinventing the wheel ...)
« Reply #52 on: December 09, 2010, 04:55:59 PM »
And so it begins  :-D

*<<Insert MP's stick poking emoticon here>>*

Why do you say that? I thought i was very polite and very descriptive. He said feedback is welcome.

It was in jest ... carry on. :wink:

Windows 10 x64 - AutoCAD /C3D 2020

Custom Build PC

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Problems and Solutions Links (not reinventing the wheel ...)
« Reply #53 on: December 09, 2010, 05:14:32 PM »

I agree with the use of OR and with localising *error*. Both are rational methodology.

... but we have been having this discussion for years now.


Good introductory tute Lee.

Regards to all.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--

John Kaul (Se7en)

  • Administrator
  • Needs a day job
  • Posts: 9270
Re: Problems and Solutions Links (not reinventing the wheel ...)
« Reply #54 on: December 09, 2010, 05:50:08 PM »
`rational methodology' is subjective at best (Remember Cornbread's "Making Brackets" article?). ...but i honestly don't care one way or the other; I was just trying to offer constructive help for helping people.
“Common sense is not so common.” ~Voltaire

--> Donate to TheSwamp.org <--

Lee Mac

  • Seagull
  • Posts: 12283
  • London, England
Re: Problems and Solutions Links (not reinventing the wheel ...)
« Reply #55 on: December 09, 2010, 06:03:12 PM »
Good introductory tute Lee.

Thanks Kerry, appreciated  :-)

Lee Mac

  • Seagull
  • Posts: 12283
  • London, England
Re: Problems and Solutions Links (not reinventing the wheel ...)
« Reply #56 on: December 17, 2010, 06:41:45 PM »
Loading Programs Automatically

Typos may be lurking...  :oops:

Lee Mac

  • Seagull
  • Posts: 12283
  • London, England
Re: Problems and Solutions Links (don't reinvent the wheel ...)
« Reply #57 on: January 12, 2011, 03:08:42 PM »
Quick one: Remembering Dialog Position (was a commonly asked question)

CAB

  • Global Moderator
  • Seagull
  • Posts: 10369
Re: Problems and Solutions Links (don't reinvent the wheel ...)
« Reply #58 on: May 21, 2011, 07:52:09 AM »
Just stumbled across an AutoLISP book,  free download:
http://www.4shared.com/get/ISEYpgpJ/6200_The_AbcS_Of_Autolisp_-_Om.html

Haven't read it yet.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

xiaxiang

  • Guest
Re: Problems and Solutions Links (don't reinvent the wheel ...)
« Reply #59 on: February 17, 2013, 03:48:48 AM »
Just stumbled across an AutoLISP book,  free download:
http://www.4shared.com/get/ISEYpgpJ/6200_The_AbcS_Of_Autolisp_-_Om.html

Haven't read it yet.
Hi,Alan
It seems like that This link was broken now...