From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=2.0 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b076e6315fd62dc5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.241.7 with SMTP id we7mr9725729pbc.4.1336721539360; Fri, 11 May 2012 00:32:19 -0700 (PDT) Path: pr3ni12846pbb.0!nntp.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: fyi, very interesting Ada paper OOP vs. Readability Date: Fri, 11 May 2012 02:32:09 -0500 Organization: Aioe.org NNTP Server Message-ID: References: <1ir29foizbqv1.v9uuhpykjl3n.dlg@40tude.net> Reply-To: nma@12000.org NNTP-Posting-Host: JFgm6aMVwmC/YQNQyUTYRQ.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-05-11T02:32:09-05:00 List-Id: On 5/11/2012 2:14 AM, Dmitry A. Kazakov wrote: > On Fri, 11 May 2012 03:01:35 +0000 (UTC), NatarovVI wrote: > > > P.S. There is no data without types. > I think the functional programmer guys will not be happy to hear this. For example, I use Mathematica, and in Mathematica, there is no data types. Only expressions. There are transformation rules to transform an expression from one form to another. A function called with an expression does transformation using pattern rules on it. When no more rules can be applied, the resulting expression is the function result. But I think in the world of OO and procedural programming, what you are saying makes sense. One defines a type, then declares a variable of that type. i.e. data (i.e. variables) always has a type. But I do not think this is the case for all programming languages? I am now looking at JavaScript and HTML5 (to be part of the wave of the future of software engineering), and I was surprised to find it only has one data type for numbers. floating points. That is it. So, one can't make an integer variable in Javascript :) --Nasser