人为什么要睡觉| 穗字五行属什么| 雍正为什么不杀十阿哥| 十面埋伏是什么生肖| 牛油果和什么榨汁好喝| 什么先什么后| 刚愎自用代表什么生肖| 咬牙切齿什么意思| ptsd是什么病| 胰腺炎吃什么中成药| 足石念什么| 河豚吃什么| 脾门区结节是什么意思| 94年属什么的| 天女散花是什么意思| 什么饮料解渴| 过房养是什么意思| 黄体生成素高是什么原因| 想字五行属什么| 费神是什么意思| 巫山云雨是什么意思| 什么人不适合做收银员| 过期的维生素c有什么用途| 巡视员是什么级别| 经常感冒吃什么增强抵抗力| 小孩拉肚子吃什么药好| 1328年属什么生肖| 手足口吃什么药| 女生来大姨妈要注意什么| 肛周瘙痒用什么药| cpi什么意思| 高血压突然变成低血压是什么原因| 还人是什么意思| 高是什么意思| 小孩干咳是什么原因| 知更鸟是什么鸟| 经血是什么血| 肠系膜脂膜炎是什么病| 东北有什么好玩的景点| 筋膜提升术是什么| 会所是什么意思| 随餐吃是什么意思| 什么非常什么| 雅字取名的寓意是什么| 什么是数位板| 尿毒症是什么| 查激素水平挂什么科| 感冒为什么会发烧| 三顾茅庐的顾是什么意思| 肺看什么科室| 低压高吃什么中成药| 什么是肌无力| 七五年属什么生肖| 低压低有什么危害| 什么头什么耳| 肺结节是什么病| 1964年是什么命| 凝滞是什么意思| 摧枯拉朽什么意思| ofs是什么意思| 亲密是什么意思| 二月二十三日是什么星座| 10.30什么星座| 可乐定是什么药| 辜负什么意思| 醪糟是什么| 胆红素是什么| 错位是什么意思| 脑袋进水什么意思| 凯字五行属什么| 十八层地狱分别叫什么| 李耳为什么叫老子| 大饼是什么意思| 肉炒什么菜谱大全| 苹果花是什么颜色| 抑郁症什么症状表现| hpv是什么疫苗| 大专什么专业好就业| 巨石强森是什么人种| 梦见别人理发是什么意思| 什么人容易老年痴呆| 石斛有什么功效和作用| 灼热感是什么样的感觉| 光年是什么单位| 内窥镜是做什么检查| 手足口病忌口什么食物| 家里放什么最招财| 喝什么茶好| 带状疱疹不能吃什么食物| 吃饭快的人是什么性格| 第一次同房是什么感觉| 指甲有横纹是什么原因| 鼻干眼干口干属于什么症状| 小孩子上户口需要什么证件| 左氧氟沙星氯化钠注射作用是什么| 槟榔什么味道| 腋下出汗有异味是什么原因| 总免疫球蛋白e是什么| 湿疹什么症状| 宣府是现在的什么地方| 夜间睡觉口干是什么原因| 来月经是黑色的是什么原因| 肺结节挂什么科| 关羽的马叫什么名字| 彩云之南是什么意思| 9月9号什么星座| 心脏t波改变吃什么药| 心脾两虚吃什么食物补最快| 遂的意思是什么| 木加石读什么| 岭南是什么地方| 畏寒肢冷是什么意思| fte是什么意思| 儿童荨麻疹吃什么药| 血糖高的人可以吃什么水果| 学兽医需要什么学历| 桂圆跟龙眼有什么区别| 电解质水是什么| 肾炎康复片主要是治疗什么| 七宗罪都是什么| 武夷水仙茶属于什么茶| 潮汐是什么意思| 一物降一物指什么生肖| 血常规白细胞偏高是什么原因| 恕是什么意思| 今天是什么日子 农历| 一面什么| 一只眼睛充血是什么原因| rh阳性是什么意思| 稀饭配什么菜好吃| 绣球花什么时候开花| 方知是什么意思| 糜烂性胃炎吃什么药| 肝斑一般在脸上的什么地方| 苍茫的天涯是我的爱是什么歌| 什么药可以推迟月经| 刘备字什么| 常务副县长是什么级别| psa是什么| 网络拒绝接入什么意思| 司空见惯是什么意思| 11月16号是什么星座| 散漫是什么意思| 别开生面什么意思| 何以笙箫默是什么意思| 平日是什么意思| 梦见虱子是什么意思| 乔迁礼物应该送什么| 过奖了是什么意思| 1909年属什么生肖| 手脚麻木挂什么科| 精囊在什么位置| 1932年属什么生肖| 光天化日什么意思| 什么是福报| 春肖是什么生肖| 逝者如斯夫是什么意思| 宋字五行属什么| 边缘性行为包括什么| 下面出血是什么原因| 什么的月光| 小腿肌肉酸痛什么原因| 冰丝皱是什么面料| 旭五行属什么| msi是什么意思| 鬼压床是什么意思| 七月份怀孕预产期是什么时候| 尿蛋白十1是什么意思| 心肌缺血有什么症状和表现| 舌头溃疡吃什么药| 四月十一日是什么星座| 为什么每天晚上睡觉都做梦| 小猫打什么疫苗| 四面八方指什么生肖| 眼胀是什么原因| 星月菩提是什么材质| 右边腰疼是什么原因| 梭子蟹什么时候上市| 小腿发凉是什么原因造成的| ca是什么病| 让我随你去让我随你去是什么歌| 化干戈为玉帛是什么意思| 先天性心脏病是什么原因造成的| 上海有什么好玩的地方适合小孩子| 卵巢囊性占位是什么意思| 什么时候打仗| 女性检查甲功是什么病| 迎春花什么时候开花| 舌头无苔是什么原因| 美国为什么要打伊朗| 脱发严重应该去医院挂什么科| 骨皮质断裂是什么意思| 怕热是什么体质| 日文上下结构念什么| 脾胃湿热吃什么药| 九月十四号是什么星座| 头孢不能和什么药一起吃| 流鼻涕吃什么药好得快| 大便常规检查能查出什么| 来姨妈能吃什么水果| 五联什么时候打| 张信哲属什么生肖| 伏特加是什么| 祭日是什么意思| 命理是什么意思| 什么是前置胎盘| 怀孕初期有什么症状| 胸闷气短是什么原因造成的| 男的结扎有什么影响| 金族念什么| 深喉是什么感觉| 20年属什么生肖| 哈密瓜苦是什么原因| 椴树是什么树| 豪情万丈什么意思| 人为什么会晕车| 心直口快是什么意思| 朱砂是什么材质| 什么食物对眼睛好| 离婚都需要什么手续和证件| 两肺间质性改变是什么意思| 观音菩萨代表什么生肖| 吃什么对胃好养胃| 水克什么| 结肠炎吃什么药效果最好| 荨麻疹有什么症状| 中蛊什么意思| 侃侃而谈什么意思| 扁平疣是什么引起的| 肌腱是什么组织| 睡意是什么意思| spf是什么意思| 手麻吃什么药最好| 频繁打喷嚏是什么原因| 梅菜扣肉的梅菜是什么菜| 天秤座和什么座最配对| 猫牙米是什么米| 三分三是什么药| 玺什么意思| 肺气肿吃什么药最有效| 赖氨酸有什么作用| 里正是什么官| 减脂晚上吃什么好| 春天有什么植物| 抑郁症是什么原因造成| 抑郁吃什么药可以缓解情绪| 倾巢出动是什么意思| 十月是什么月| 胎盘成熟度1级是什么意思| 强盗是什么意思| 褥疮用什么药| 灌注是什么意思| 一个口一个者念什么| 4月3号是什么星座| 黑客帝国4什么时候上映| 吃什么可降低胆固醇| mrcp检查是什么意思| 迷津是什么意思| 打车费计入什么科目| 3月20是什么星座| 贪嗔痴是什么意思| 抗核抗体是什么意思| 包皮痒用什么药| 检查怀孕要做什么检查| 百度Jump to content

任正非两次会议把华为手机“敲打”成全球前三

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Template rationale

[edit]
百度 而据广州日报3月中旬报道,近期,广州的多个热点区域的租房市场都陆续迎来了租客,有业主更表示,放盘一天就迅速租了出去。

This bottom-style navbox template is intended to organize the articles about computer science data types.

Data types are a programming language concept, and should not be confused with the mathematical concepts that they (try to) emulate, nor the internal representation (encodings and data strcutures) that are used to implement them. Thus, for example, tuple is a mathematical concept; record (computer science) is both a data type in many languages and a data strcuture. Linked list and Tree (computer science) are data structures, while list (computing) is an abstract data type or abstract data structure that may be a data type in some languages. Also twos complement is one possible representation of the data type integer (computer science) which is an emulation of a mathematical integer. Admittedly, the dividing line between data types and data strcutures is often blurred, but there is a Template:Data structures for data strcutures.

I propose that this template only lists only the most common data types and "top-level" articles, leaving the specialized versions to be accessed through them. So, for example, unsigned integer should not be listed directly; readers can get to it either through the integer (computer science), or through the "Data types" category. Trying to list all data types that have ever been used in any programming language would make the list too big and turn it into a duplicte of the category page, frustrating the very purpose of the navbox (provide a structured access to the subject). It would also make this navbox hard to maintain. On the other hand, given its low profile, this navbox can probably be included in almost every article in the "Data types" category.

All the best, --Jorge Stolfi (talk) 15:44, 9 May 2009 (UTC)[reply]

Correctness of including Stream and Exception

[edit]

I find the classification of Stream and Exception as datatypes questionable. --Cybercobra (talk) 03:52, 10 May 2009 (UTC)[reply]

I am not convinced either that they deserve to be mentioned in the template. However, Exception was a built-in data type in Modula-3, and Ada, and perhaps Common lisp. I recall at least one language where streams (there called "channels" were built-in types; owe you a reference to that. All the best, --Jorge Stolfi (talk) 17:13, 10 May 2009 (UTC)[reply]

Cons cell is not a fundamental data type

[edit]

"Cons cell" is not a data type. It is a special case of record (like complex, interval, rational, and infinitly many more), or like the nodes of a linked list. Jus as "node of lined list" does not deserve an article, a "cons cell" does not either. Besides the cons article is more about the cons function than the data type. The main built-in LISP data type is S-expression, not cons cell, and should be listed as such. All the best, --Jorge Stolfi (talk) 17:30, 10 May 2009 (UTC)[reply]

Ok, then I would likewise hold that sexprs are just a particular language-specific physical representation of record and thus don't deserve to be in the list. They're a serialization representation, not a unique data type. --Cybercobra (talk) 23:30, 10 May 2009 (UTC)[reply]
I would say that the cons cell is a particularly notable special-case of a record. Lisp and some other languages lack a pointer datatype, but make up for this by having cons cells and create all composite datatypes out of just the humble cons cell, which is fundamental/primitive and cannot be created in the language itself (the cute toy implementation using lambdas notwithstanding). And you're being a bit inconsistent. Complex, interval, and rational are in the template, yet as you yourself say, they too are special cases of record; so your reasoning for not including cons cell doesn't quite make sense to me. Not that I think complex and friends should be removed from the template. --Cybercobra (talk) 23:39, 10 May 2009 (UTC)[reply]
I am striving to find a consitent rationale for this navbox, but connfess that it still eludes me. The best I can think of is: it is about "main built-in data types and datatype definition tools provided by the specification of significant programming languages". It must be limited to "built-in" types because otherwise the set is infinite. The types must be provided by the "specification" because the types used in the "implementation" of those languages is also potentially infinte. The "datatype definition tools" are built-in constructs like "record", "array", "reference", that a programmer can use to define other types. Obviously a type that is built-in in one language may be a library type in other; the concept can be defined only relative to a certain set of languages. We must require "bona-fide" languages because weird languages may have very weird data types.
So, coming to the questions: Complex and rational should be listed because there are languages that provide built-in support for them in the syntax, not merely as a library module (including FORTRAN IV, which did not even have records). Intervals are more questionable but they are built-in for Mathematica at least, with standard arithmetic ops.
Finally, on cons cell versus S-expressions: the main data type of LISP is definitely the S-expression. S-expressions are not the same as lists of other languages for many reasons. For instance atoms are a subtype of S-expresions; the CAR and CDR are restricted to have the same data type; the semantics of 'eq' implies that an S-expression can have sharing in both the car and cdr, and it may terminate with an atom other than NIL; etc.
The cons cell is a record type that is used internally in one implementation of the S-expression type. There are other implementations, for example replacing N successive cons-cells by an array with N+1 pointers (N CARs and the last CDR). Admittedly these alternative implementations are not very popular, but they have been serioulsy proposed. Moreover, in pure LISP one cannot have circular lists; that constraint comes naturally with S-expressions, but if cons-cell were the primitive type, then it would be a rather artificial one.
But I am getting tired of this discussion. I do not intend to edit this template any more; I have more productive ways to spend my time. Unfortunately "datatypology" is one of those "philosophical" disciplines where the object of study is mosty in the people's head: one invents arbitrary categories or viewpoints and then spends all the time trying to fit reality into them. Is the tomato a fruit or vegetable? Is Pluto a planet? Are viruses alive? Should integers be viewed as objects? I have wasted enough time already in my life with that sort of inanities... All the best, --Jorge Stolfi (talk) 03:37, 11 May 2009 (UTC)[reply]

Bignum is not a data type, but a variant of integer

[edit]

Bignum is not a distinct type; like short integer and unsigned integer, it is a flavor of integer (computer science) --- and also of floating point, rational data type, interva, etc. All the best, --Jorge Stolfi (talk) 17:33, 10 May 2009 (UTC)[reply]

Yes, but it's a unique/distinct flavor of number. One could equally argue that floating-point and fixed-point are mere implementations of Real numbers. --Cybercobra (talk) 01:57, 11 May 2009 (UTC)[reply]
But real numbers is a mathematical concept, not a data type. Let's not mix the worlds. No programming language implements a 'real number' data type.

Multi-tiered navbox

[edit]

Check the navbox at the bottom of carbon monoxide poisoning. If we have to expand this navbox, that may be a good way to do it.

However, the work spent on editing navboxes (-8 and fighting about whether a tomato is a fruit or a vegetable 8-) would be much better spent editing the data type articles themselves --- some are ina very sorry state. All the best, --Jorge Stolfi (talk) 18:35, 10 May 2009 (UTC)[reply]

We need a better categorization for the stuff in "other"

[edit]

Intuitively, some of those are primitive data types, but that article seems hotly contested. Also, first-class function is actually defined using a type constructor (the arrow), so it's not clear that it qualifies as primitive, although this type constructor is built-in with special meaning; but then so are other type constructors like * in product type. We need to look for some refs for terminology; always a big hassle. Pcap ping 05:18, 18 August 2009 (UTC)[reply]

Missing types.

[edit]

Template is missing inductive type and equality type. 99.153.64.179 (talk) 18:47, 26 June 2013 (UTC)[reply]

Abstractions over bit(s)

[edit]

I left single link to bit because previous links were imprecise compared to Template:Information units. It is wrong to keep silent about platform-dependency at Template talk:Data types. Ushkin N (talk) 11:43, 19 July 2016 (UTC)[reply]

Timestamp

[edit]

Just wondered whether timestamp data types should be included in this template? Perhaps that depends on the underlying page being present? But the subpage on digital timestamps should suffice in the interim? HTH. RobbieIanMorrison (talk) 16:04, 23 November 2018 (UTC)[reply]

Row 'Composite type' is named incorrectly

[edit]

Composite data type says:

It falls into the aggregate type classification which includes homogenous collections such as the array and list

So, in the template the row including array and record should be named Aggregate type. --Grv87 (talk) 17:40, 16 April 2025 (UTC)[reply]

阴盛格阳是什么意思 玄牝是什么意思 跌打损伤用什么药最好 2月25是什么星座 莅临什么意思
依从性是什么意思 刘璋和刘备什么关系 做什么检查需要空腹 飒什么意思 人流后需要注意什么
小孩肚脐周围疼是什么原因 五粮液什么香型 score是什么意思 杜仲泡酒有什么功效 分泌性中耳炎吃什么药
梦见大胖小子是什么意思 什么只好什么 flair呈高信号是什么意思 查脂肪肝做什么检查 箨是什么意思
白细胞高是什么原因引起的hcv9jop3ns4r.cn 有期徒刑是什么意思hcv8jop4ns5r.cn 纸片人是什么意思hcv9jop5ns4r.cn 什么什么入胜hcv8jop1ns0r.cn 男人眉毛长代表什么bjcbxg.com
hpv是什么检查hcv8jop5ns4r.cn 扁桃体长什么样hcv8jop7ns5r.cn 什么叫混合痔hcv9jop2ns7r.cn 菊花茶为什么会变绿色hcv9jop6ns4r.cn 仪表堂堂是什么生肖hcv9jop1ns3r.cn
孕妇梦见猫是什么意思hcv8jop2ns1r.cn 什么是感性hcv8jop7ns8r.cn 拉肚子挂什么科adwl56.com molly英文名什么意思hcv8jop3ns8r.cn 1992年属什么生肖年hcv7jop6ns9r.cn
miffy是什么意思hcv8jop4ns6r.cn 肺部肿瘤切除后吃什么hcv9jop1ns4r.cn 乡政府属于什么单位hcv8jop8ns4r.cn 形态欠规则是什么意思hcv8jop9ns3r.cn 继承衣钵是什么意思hcv9jop4ns6r.cn
百度