From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: Counting SLOC in Emacs Date: Sat, 29 Nov 2014 12:49:33 +0100 Message-ID: <87fvd2i5v6.fsf@wmi.amu.edu.pl> References: <877fyfk1qn.fsf@wmi.amu.edu.pl> <8761dzjvcl.fsf@wmi.amu.edu.pl> <874mtjjt31.fsf@wmi.amu.edu.pl> <871tonjpuw.fsf@wmi.amu.edu.pl> <87bnnqwd9c.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417261858 26029 80.91.229.3 (29 Nov 2014 11:50:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2014 11:50:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 29 12:50:52 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XugY7-0007yC-UE for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Nov 2014 12:50:52 +0100 Original-Received: from localhost ([::1]:47346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XugY7-0002h9-Af for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Nov 2014 06:50:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XugXe-0002c7-07 for help-gnu-emacs@gnu.org; Sat, 29 Nov 2014 06:50:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XugXY-0006tP-8k for help-gnu-emacs@gnu.org; Sat, 29 Nov 2014 06:50:21 -0500 Original-Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:34074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XugXY-0006sq-1g for help-gnu-emacs@gnu.org; Sat, 29 Nov 2014 06:50:16 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 8C5D042063 for ; Sat, 29 Nov 2014 12:50:12 +0100 (CET) Original-Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aGCtYvPpB7ZY for ; Sat, 29 Nov 2014 12:50:12 +0100 (CET) Original-Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 3FA0B42062 for ; Sat, 29 Nov 2014 12:50:12 +0100 (CET) In-reply-to: <87bnnqwd9c.fsf@zigzag.favinet> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:808:114:2::50 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101289 Archived-At: On 2014-11-29, at 10:46, Thien-Thi Nguyen wrote: > () Marcin Borkowski > () Fri, 28 Nov 2014 17:00:42 +0100 > > I'm planning to run a code reading seminar for some > ambitious students at my faculty. I'm wondering whether > it could be a good idea to study this;). > > (In fact, not really - at least not in the beginning - > let them learn some more typical stuff before exposing > young minds to Emacs Lisp with its peculiarities, like > `interactive'. We'll start with Python and JS, though > some Common Lisp is also planned.) > > That's like "teaching" a child to walk one leg, the first > week, the other, the second, and together, only afterwards. > > Ugh; Not Recommended. > > Everything is peculiar in some respect. If you choose those > of Emacs Lisp, your students may grind their teeth but they > will eventually learn some self-respect (and maybe some love > for parentheses :-D). I'm not sure if I get you. What I meant was: in this Elisp code, you have some really atypical things (from general programming point if view), like the tight coupling between the language and buffer (as a data structure). Given that my students are beginners, some of them only exposed to really basics of programming, I don't want them to deal with too many new concepts at once. I view it rather as teaching to walk the first few weeks, and only then teaching to run;-). Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University