From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 8 02:52:57 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 74C7A322 for ; Sun, 8 Feb 2015 02:52:57 +0000 (UTC) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id E2B98A6D for ; Sun, 8 Feb 2015 02:52:55 +0000 (UTC) Received: from ppp121-45-218-9.lns20.cbr1.internode.on.net (HELO bullseye.apana.org.au) ([121.45.218.9]) by ipmail06.adl6.internode.on.net with ESMTP; 08 Feb 2015 13:22:48 +1030 Received: from [127.0.0.1] ([192.168.63.14]) by bullseye.apana.org.au (8.14.2/8.14.2) with ESMTP id t182qlpL081313 for ; Sun, 8 Feb 2015 13:52:47 +1100 (EST) (envelope-from andymac@bullseye.apana.org.au) Message-ID: <54D6CF7E.3000506@bullseye.apana.org.au> Date: Sun, 08 Feb 2015 13:52:46 +1100 From: Andrew MacIntyre User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: Coding Structure and Documentation References: <54D64D07.5080509@acustat.org> In-Reply-To: <54D64D07.5080509@acustat.org> X-Antivirus: avast! (VPS 150205-1, 05/02/2015), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 02:52:57 -0000 On 8/02/2015 4:36 AM, Benjamin Adams wrote: > I'm going to be starting a new coding project that will be built on > FreeBSD. Before starting, I would like to review any coding > documentation on structure and layout of comments, spacing vs tabs, > etc. Or just go by the structure set by the language. > (http://legacy.python.org/dev/peps/pep-0008/) > > Language I will be coding in is Python. I will be building the > project on FreeBSD 11 with the idea of releasing it shortly after > FreeBSD 11 is moved to STABLE. As a Python user, I would advise sticking closely to PEP 8. > Lastly what version of Python will be the primary version on 11? Unless you need to rely on a Python package still only supported on Python 2, I would suggest that you use Python 3. The default version of Python for the Python 3 meta-port looks like it was recently changed to v3.4 which would be a good choice - even if v3.5 is released and adopted as the default for the Python 3 meta-port by the time FreeBSD 11 is released, forward compatibility from 3.4 to 3.5 should be very good. Python 3.4 is already in wide use and therefore could be expected to be supported by the Python developers for some time after 3.5's release. You may find https://wiki.python.org/moin/Python2orPython3 helpful on the Python 2 vs Python 3 issue. Regards, Andrew. ------------------------------------------------------------------------- Andrew I MacIntyre "These thoughts are mine alone..." E-mail:andymac@bullseye.apana.org.au (pref) | Snail: PO Box 370 andymac@pcug.org.au (alt) | Belconnen ACT 2616 Web:http://www.andymac.org/ | Australia --- This email has been checked for viruses by Avast antivirus software. http://www.avast.com