MESSAGE
DATE | 2016-11-06 |
FROM | Ruben Safir
|
SUBJECT | Re: [Learn] Fwd: templates within templates
|
From learn-bounces-at-nylxs.com Sun Nov 6 01:58:43 2016 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www.mrbrklyn.com (www.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 7F5EC161312; Sun, 6 Nov 2016 01:58:43 -0500 (EST) X-Original-To: learn-at-nylxs.com Delivered-To: learn-at-nylxs.com Received: from [10.0.0.62] (flatbush.mrbrklyn.com [10.0.0.62]) by mrbrklyn.com (Postfix) with ESMTP id CB23F160E77 for ; Sun, 6 Nov 2016 01:58:40 -0500 (EST) To: learn-at-nylxs.com References: <776149bb-7ba3-3fcd-9d1d-9a0dc3c72069-at-mrbrklyn.com> <5e897753-b0d1-4f34-9331-5cde04e7d61a.maildroid-at-localhost> From: Ruben Safir Message-ID: <88478b52-0672-c74e-4177-2552ebda5976-at-mrbrklyn.com> Date: Sun, 6 Nov 2016 01:58:40 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <5e897753-b0d1-4f34-9331-5cde04e7d61a.maildroid-at-localhost> Subject: Re: [Learn] Fwd: templates within templates X-BeenThere: learn-at-nylxs.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: learn-bounces-at-nylxs.com Sender: "Learn"
On 11/05/2016 08:04 PM, Christopher League wrote: > FFS. You're not really selling me on C++ here... :-P > > I always want to dig right in to solving the problem as quickly as > possible, and then refactor later once I know what's what. IMO, writing > templates, getters, setters, destructors, const, etc delays the actual > understanding. Python and Haskell let me approach problems the way I > want. C++ and Java do not.
Aside from that, the code you wrote, for me is incomprehensible. It looks like a Jackson Pollack painting to me, and the Functional programming languages have always had that affect on me. You tell LISPers this all the time and they just don't listen. The languages are really not human friendly. Python is a little better, and god knows Guido made a ton of money on it, and drinks fancy scotch. It is already solved in Python and I sent a link for that a week ago. I'm going to build this out in C++, master the tools and language again, this time with a genuine problem and leave the thesis with a usable code base that is flexible, portable and easy to use for the non-computer researcher. That is the complexity your seeing. I don't need templates. I could just lift a tree from the libraries, and write this in a quick C program in a single file with C structs. I'm sure BOOST has one or two. But I want to build reusable code, which a comprehensive API for researchers.
And your forgetting that I'll need hooks for R and CLIPS and possibly a database. Can this be done in Haskel, maybe. I'm not concerned about it.
This argument has been going on for 50 years. It will go on for another 50 years, and everytime the functional programming languages are dusted in practical coding design and relegated to specialized utilities.
Feel good that long after I'm dead, you will still be alive and advocating functional programming to a younger more eager generation, amusing the artificial intelligence written in C and C++ allows them to.
I've gone through dozens of scripting languages already. I want to master c++ and swim with the big boys.
This is not to say I'm opposed to learning Haskel. If you want, I have to take a special project next semester since they seemed to have ran out of classes for me. I wanted to take Unix programming, but they aren't offering it. We can do a special topic in Haskell if you want.
We have sample data for 400 characteristics, and over 80 species of Tyrannosaurs. This algorithm doesn't even address the main problem of determining species maps that can be tested in the fitch method.
Ruben
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013 _______________________________________________ Learn mailing list Learn-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/learn
|
|