From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] CONTRIBUTE - writing tests for understanding internals Date: Thu, 12 Nov 2015 18:15:11 +0200 Message-ID: <8337wbjisw.fsf@gnu.org> References: <87twotqxme.fsf@cumego.com> <83a8qlky1c.fsf@gnu.org> <874mgtgess.fsf@cumego.com> <834mgslf34.fsf@gnu.org> <56443CDF.8030802@online.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1447344966 7970 80.91.229.3 (12 Nov 2015 16:16:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2015 16:16:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas =?utf-8?Q?R=C3=B6hler?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 12 17:15:57 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZwuXV-0007sZ-KL for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 17:15:57 +0100 Original-Received: from localhost ([::1]:47618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwuXV-0004LO-8X for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 11:15:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwuX4-0004LI-1D for emacs-devel@gnu.org; Thu, 12 Nov 2015 11:15:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwuX0-0001QF-RU for emacs-devel@gnu.org; Thu, 12 Nov 2015 11:15:29 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:37692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwuX0-0001Q5-JZ for emacs-devel@gnu.org; Thu, 12 Nov 2015 11:15:26 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NXP00800LYM9I00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Thu, 12 Nov 2015 18:15:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NXP0080KMHO8I50@a-mtaout21.012.net.il>; Thu, 12 Nov 2015 18:15:25 +0200 (IST) In-reply-to: <56443CDF.8030802@online.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194239 Archived-At: > Date: Thu, 12 Nov 2015 08:16:47 +0100 > From: Andreas R=C3=B6hler > CC: Eli Zaretskii >=20 > On 11.11.2015 16:40, Eli Zaretskii wrote: > > [ ... ] > > written by someone who is not the implementor. I'm sure you are > > familiar with the TDD methodology, whose strong point is precisel= y > > that you write tests before implementing anything. >=20 > Hmm, looks for me like TDD established a kind of religion too. > How to write tests without knowing the types? The API should be defined when you write the tests, but the implementation doesn't yet exist.