Author Topic: Lynn Allen talking about AutoLISP...  (Read 18734 times)

0 Members and 1 Guest are viewing this topic.

BlackBox

  • King Gator
  • Posts: 3770
Re: Lynn Allen talking about AutoLISP...
« Reply #30 on: May 11, 2011, 04:57:20 PM »
so..how do we not have nils?
Add (princ) as the last line of your code. I guess everyone thought you were joking.
I was; right along with the 'Spelled with a D' crowd.  However the question about nils remained sincere.
I mean how many of you pranksters ever actually see me post any LISP code, ever?  Show of hands...

Thanks for the answer!
Why would that have been so tough for her to include?
I't would seem to take the same amount of words to explain than to not.

Going along with your stated sincerity...

As Alan showed it only takes a moment to explain "include (princ)..." to no longer display (or in LISP-ese Return) nil at the command line.

However, a better understanding of LISP functions is necessary for someone to understand the purpose of a function returning anything at all (i.e., functions that return a selection set, or point list, or Object etc.).
"How we think determines what we do, and what we do determines what we get."

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Lynn Allen talking about AutoLISP...
« Reply #31 on: May 11, 2011, 05:02:28 PM »
As in perhaps evaluating the drawings block table record and only giving one a set of blocks that were inserted at any scale other than (n). So that they could have that value set as desired to effect that particular change.
(Not that I know how to do any of the above)
Be your Best


Michael Farrell
http://primeservicesglobal.com/

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Lynn Allen talking about AutoLISP...
« Reply #32 on: May 11, 2011, 05:22:59 PM »
Lynn knows her target audience (the complete lisp / programmer n00b) very well. I believe the "omission" of a closing (princ) was no oversight, she's starting slow, providing the very minimum basic, essential information (hello, wrapping "erase last") in order not to overwhelm the student. She'll add layers of detail and complexity as she goes but start with the simplest base possible, and keep 'em coming back for more. I think she's right on the money for said audience.

Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Lynn Allen talking about AutoLISP...
« Reply #33 on: May 11, 2011, 05:31:59 PM »
sadly, her leaving that bit out, makes me already question the value of watching any more of her omissions

given that she presents the question and points out that the NIL is undesirable; it would be incumbent to answer/solve that issue right there

Introducing someone to a thing that can have error messages, and then teaching them to code somewhat clumsily (with errors remaining), isn't doing the n00b any favors.  Remember this is only from my perspective as both a n00b and a teacher.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Lynn Allen talking about AutoLISP...
« Reply #34 on: May 12, 2011, 12:32:17 AM »
sadly, her leaving that bit out, makes me already question the value of watching any more of her omissions

given that she presents the question and points out that the NIL is undesirable; it would be incumbent to answer/solve that issue right there

Introducing someone to a thing that can have error messages, and then teaching them to code somewhat clumsily (with errors remaining), isn't doing the n00b any favors.  Remember this is only from my perspective as both a n00b and a teacher.

Meh. If you had genuine interest in learning LISP you would have availed yourself of the lessons provided by the many experts who regularly share their expertise at the swamp long ago -- your feigned interest is very entertaining . She's laying the information out in small bites at a speed and complexity level appropriate for users who probably never considered programming before because "it's so daunting". Additionally, she's also gauging whether their is sufficient interest to continuing with more "lessons" -- said initial lesson looks like a feeler to me. But thanks for your posts, the lessons about grace and generosity toward a fellow teacher are top notch.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Lynn Allen talking about AutoLISP...
« Reply #36 on: May 12, 2011, 06:23:09 AM »
Who is Lynn Allen? Is she a member here?  < ..>

Couldn't help myself  :)
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: Lynn Allen talking about AutoLISP...
« Reply #37 on: May 12, 2011, 07:26:32 AM »
I completely agree with the sentiment regarding gauging the programming level of the audience - I struggled with a similar issue when trying to write a few tutorials for my site, which many times resulted in tutorials which were either miles too long or tried to include too much to cover all the bases. There is a very fine balance between holding the interest of the audience whilst at the same time including all the information you want to cover without completely confusing the hell of them.

For me, the video tutorial seemed a little slow - even for a complete beginner, but that might just be because I prefer to read information than watch it.

Lee


highflyingbird

  • Bull Frog
  • Posts: 415
  • Later equals never.
Re: Lynn Allen talking about AutoLISP...
« Reply #38 on: May 12, 2011, 08:41:53 AM »
This topic includes some culture I don't know?It's  a little difficult for me.
I have read Lynn Allen's book <Autocad Professional Tips and Techniques>
I am a bilingualist,Chinese and Chinglish.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Lynn Allen talking about AutoLISP...
« Reply #39 on: May 12, 2011, 09:06:37 AM »
I'll tell you what it really looked like.  It looked like she forgot to add that required PRINC to her little bit of code. And then when the command line returned NIL she remembered that she forgot.  It has happened to myself when preparing a video tutorial.  I typically then simply record the thing over and include the bit I left out.
I'm all about giving her the benefit of the doubt on it.  Given that that particular piece of code is so fundamental and her lesson was supposed to be basic, I can't see any value in leaving it out, while at the same time saying it's a bad thing.
I think the reason I've not learned any lisp todate could be directly tied to similar 'lessons' I've been exposed to over the years that leave stuff out.  Sadly inclomplete lesssons just don't seem to work for me.  And this goes all the way back to a class I had in 1989 at an autodesk vendor in Portland, OR.  When a lesson produces more errors than insight, I don't see that being an effective one.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Lynn Allen talking about AutoLISP...
« Reply #40 on: May 12, 2011, 09:09:46 AM »
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Lynn Allen talking about AutoLISP...
« Reply #41 on: May 12, 2011, 09:10:35 AM »
 :lmao:
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Lynn Allen talking about AutoLISP...
« Reply #42 on: June 14, 2011, 01:34:30 PM »
Just thought I'd mention that she released a 'part 2' to her Enter the World of AutoLISP.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Lynn Allen talking about AutoLISP...
« Reply #43 on: June 14, 2011, 01:57:58 PM »
in b4 the hate
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

curmudgeon

  • Newt
  • Posts: 194
Re: Lynn Allen talking about AutoLISP...
« Reply #44 on: June 14, 2011, 03:19:52 PM »
There are 10 kinds of people in the world. Those who speak binary, and those who don't.

Lee, let me take this chance to tell you I appreciate your tutorials at your site, AND concur with your assessment of the difficulties inherent in "teaching" lisp.

I must be lazy, but to (princ) or (NOT (princ)), was never an issue here.
Confusticate and bebother the nils, next command wipes out that line anyway.
[ invalid syntax above - DO NOT COPY & PASTE ]
 :pissed:
Never express yourself more clearly than you are able to think.