爱吃甜食是缺乏什么| 花苞裤不适合什么人穿| 黑色素沉淀是什么原因引起的| 热闹对什么| 裤裙配什么上衣好看| 温文尔雅是什么意思| 砖红色是什么颜色| bag是什么意思| 血压突然升高是什么原因| 高血压有什么症状表现| 什么是超标电动车| 前胸后背长痘痘是什么原因| 影射是什么意思| 宝宝吃什么辅食最好| 气虚血虚吃什么中成药| 邋遢什么意思| 检查乳腺挂什么科| 早晨起床手麻是什么原因| 内消瘰疬丸主治什么病| 收阴是什么意思| 尿酸520属于什么水平| 掉头发多是什么原因| 夏天白鸽煲什么汤最好| 白细胞中性粒细胞高是什么原因| ne医学上是什么意思| 肝多发小囊肿什么意思| 盆腔炎吃什么药效果好| 糖异生是什么意思| 八月一号什么星座| 拉血挂什么科| 孕妇不能吃什么| 胆囊胆固醇结晶是什么| 梦见晒被子是什么意思| 看客是什么意思| 点天灯是什么意思| 1989年五行属什么| 胃溃疡适合吃什么食物| 胸口不舒服挂什么科| 什么时候中秋节| 大意失荆州是什么意思| 不苟言笑的苟是什么意思| 看不上是什么意思| 台风为什么叫台风| 率的部首是什么| 什么样的血管瘤不用治| 血糖高吃什么降得快| iu是什么单位| 五更是什么时辰| fujixerox是什么牌子| 小猫喜欢什么颜色| 血氧仪是干什么用的| 鱼石是什么| 不排大便是什么原因| 苹果的英文是什么| bgm网络语什么意思| 彩头是什么意思| 恶性循环是什么意思| 猫叫是什么原因| 分水岭是什么意思| 唇裂是什么原因造成的| 青霉素是什么药| 太阳是什么| 什么叫佛系| 哕是什么意思| 健康证查什么| 邵字五行属什么| 积气是什么意思| 无话不谈是什么意思| 滑丝是什么意思| 涮菜都有什么菜| 总胆固醇高吃什么药好| 收缩压和舒张压是什么意思| igm抗体阳性是什么意思| 烛光晚餐是什么意思| 碱性土壤适合种植什么| 国安是什么单位| 吃什么死的比较舒服| 是什么原因导致肥胖| 肚脐眼叫什么穴位| 童心未泯是什么意思| 梦见病人好了什么预兆| 脚上长鸡眼去医院挂什么科| 右下腹疼挂什么科| 苦瓜泡水喝有什么功效和作用| 肺纹理增多什么意思| 男生下面长什么样| 什么狗最贵| 晕倒挂什么科| 腰痛挂什么科| 蝴蝶是什么意思| 飞蛾为什么会扑火| 人到无求品自高什么意思| aut0是什么意思| 什么的教室填空| 梵高的星空表达了什么| 九条鱼代表什么意思| 前列腺炎有些什么症状| 类风湿吃什么药最有效| 一什么面包| 吃什么增加孕酮| 逆商是什么意思| 螨虫什么样子| 众所周知是什么生肖| 阳虚火旺吃什么中成药| 发炎是什么原因引起的| miles是什么意思| 子宫肌壁回声不均匀是什么意思| 贝珠是什么| 发烧喝什么饮料比较好| 血小板高什么原因| 便血挂什么科室| 藤椒是什么| 劲酒有什么功效| chloe是什么牌子| 专一是什么意思| 叶仙是什么植物| 什么人不能吃马齿苋| 男占258女占369什么意思| 风热感冒吃什么药最好| 二刷是什么意思| 花木兰代表什么生肖| 高密度脂蛋白是什么意思| 全套是什么| 拔掉智齿有什么影响| 外阴痒用什么| 过敏性鼻炎喝什么茶好| 宫颈锥切后需要注意什么| 支气管舒张试验阳性是什么意思| 儿童吃什么长个子最快| 什么力| p和t分别是什么意思| inr医学上是什么意思| 原生态是什么意思| 鼻子旁边有痣代表什么| 男人说冷静一段时间是什么意思| 吃什么降血糖快| 石斛有什么作用和功效| 肚子左边是什么部位| 皮肤痒用什么药膏| 漂洋过海是什么生肖| 华字五行属什么| ab型血可以输什么血| 洗衣机漏水是什么原因| 四月28日是什么星座| 补钙吃什么最好| 潴留是什么意思| 什么房不能住人| 手臂长痘痘是什么原因| lxy是什么意思| 毛泽东的女儿为什么姓李| 茉莉花茶属于什么茶类| ne医学上是什么意思| cdg是什么牌子| 肝红素高是什么原因| 类风湿性关节炎用什么药| c反应蛋白低说明什么| 仓鼠咬笼子是什么原因| 粤语点解什么意思| 尿酸高吃什么降的快| 体癣用什么药膏好得快| 上面一个日下面一个立是什么字| pd1是什么意思| 做核磁共振需要注意什么| 1月29日什么星座| 俄罗斯信仰什么教| 血小板低有什么危害| 木犀读什么| 灌肤是什么意思| 生物制剂对人体有什么副作用| 桔梗是什么东西| 脑瘫是什么症状| 什么水用不完| 什么才叫幸福| 为什么手老是出汗| 刮腻子是什么意思| pending是什么状态| 胸为什么一大一小| 挑什么| 学位证是什么| 谷维素片是治什么病的| 羔羊跪乳是什么意思| 生蚝吃了有什么好处| erke是什么牌子| 胆汁反流吃什么药| 羽字属于五行属什么| 印度什么人种| 寿者相什么意思| 孕妇吃什么| 长乘宽乘高算的是什么| 最毒妇人心是什么意思| 大海是什么颜色| 尊字五行属什么| 希特勒为什么要杀犹太人| 命中注定是什么意思| 尿频繁什么原因| 黑枸杞有什么作用| 易激惹是什么意思| 葛根是什么| 19岁属什么生肖| 吃什么对嗓子好| 懒惰是什么意思| 同归于尽是什么意思| 8月20号什么星座| y是什么意思| 肛门里面有个肉疙瘩是什么| 为什么月经会推迟| 脉搏细是什么原因| 什么食物可以减肥| 末法时代是什么意思| 轻如鸿毛是什么意思| 虎虎生风是什么意思| 老黄瓜炖什么好吃| 打呼噜是什么原因| uu是什么意思| 高挑是什么意思| 睡觉开风扇有什么危害| 日金念什么| 什么动物最容易摔倒| 眼睛散光是什么原因造成的| 乘风破浪是什么生肖| 里长是什么官| 酵母菌属于什么菌| 乳腺增生什么意思| 吃猪血有什么好处和坏处| 孟姜女属什么生肖| 做梦梦到自己生病了是什么意思| 什么是黑科技| 带状疱疹是什么样的| 瑕疵是什么意思| 月经期喝红糖水有什么好处| 京兆尹是什么官| 臀纹不对称有什么影响| 为什么刚小便完又有尿意| 苯丙酮尿症是什么| 什么物流寄大件便宜| 老是肚子疼是什么原因| 启攒是什么意思| 胚胎和囊胚有什么区别| 孙悟空原名叫什么| 羊水浑浊是什么原因造成的| 巳火是什么火| 为什么贫血| 鳊鱼吃什么食物| 建档立卡是什么意思| ra是什么意思| 芒果与什么不能一起吃| lge是什么意思| 利尿吃什么药| 用什么泡水喝对肝脏好| yonex是什么品牌| 前置胎盘是什么意思| 内科是看什么病的| 为什么抽烟就想拉屎| 心脏彩超可以检查什么| 睡觉老是做梦是什么原因| 8.2号是什么星座| 老实人为什么总被欺负| 女人缺少雌激素吃什么| 空腹血糖高吃什么药| 吃什么| 核心是什么意思| 逃出生天什么意思| 爱做梦是什么原因应该怎样调理| 阿昔洛韦是什么药| 百度Jump to content

GE公司全球副总裁比尔·菲茨杰拉德到中国商飞访问

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

Article Name

[edit]
百度   针对黑恶势力,公安机关一贯保持着严打高压态势,由此也取得了一系列积极的治理成果。

I moved an article to coding style. To me, programming style sounds like functional programming or procedural programming or OOP-style. -- Taku

I've moved it back, "programming style" gets 91200 google hits, while "coding style" gets 87700. Anyway, functional, procedural, OOP refer to elements of the language that technically matter, while style technically doesn't, but it's preferred. Dysprosia 05:43, 29 Oct 2003 (UTC)

Agreed. It seems a paradigm sounds more suitable for functional programming or OOP. -- Taku

Would it be worth making a link in the intro to Programming paradigm, for people searching for the style of problem solving, as opposed to the style of source code organisation? I hit this node when looking for the other... -- Sinewalker 00:35, 17 January 2006 (UTC)[reply]
Style is style. One could talk about code style, indentation style, naming style, capitalization style, anything with style after it. Is each resulting term notable? I don't think so. This page should be merged into source code, computer programming or something. Stevebroshar (talk) 15:28, 29 June 2024 (UTC)[reply]

Tabs Versus Spaces

[edit]

"In the C-family languages, it is also recommended to avoid using tab characters in the middle of a line as different text editors render their width differently."

I'm not so sure about this portion of the article. There are varying opinions on whether one should use tabs or spaces. It would be nice if the article mentioned the converse position. - 24.74.31.172 08:49, 8 December 2005 (UTC)[reply]

I agree that this needs to be explored objectivly, and also feel that its location in the article needs to be re-evaluated. Willfulwizard 19:42, 13 September 2006 (UTC)[reply]

Modified Examples

[edit]

I modified the time examples so their purpose made more sense. Previously, the example given was along the lines of

get a, b, c; if( a < 12 && b < 60 && c < 60 ) ...

with the explanation that the code will return TRUE if the time specified is in the morning. However, this is inaccurate on several accounts; primarily, the code is actually returning TRUE if the time is in the morning AND the time is a valid time. Ironically, a code example in an article on programming style is indeed in poor style.

I modified the examples to be:

get a, b, c; if( a < 24 && b < 60 && c < 60 ) ...

with the explanation that the code returns true if the time is a valid 24-hour time.

Also, the examples for indenting and spacing overlapped. Before and after examples should vary by only the style element being discussed. I've corrected these 2, but I haven't carefully looked at the others. Willfulwizard 19:42, 13 September 2006 (UTC)[reply]

By Programmers For Programmers?

[edit]

The page lacked basic info for non-programmers, so I added it to the intro. I also created a code appearence section, and reformatted based on that. Article still needs more basic info and clarity. I'll get back to it sometime if no one else does. Willfulwizard 19:42, 13 September 2006 (UTC)[reply]

Programming for begginners (Support of Willfulwizard)

[edit]

I truly support the last contribution from Willfulwizard which talked about making your progamming webpage a bit easier for the begginners. I am learning programming on my own but u some sometimes make certain things very difficult to understand for me. anyway, more oil to your brain and more of your tutorials.Richkorku 14:58, 19 December 2006 (UTC) Richard[reply]


software anomalies

[edit]

Hello, my addition to the "see also"-link: Anomaly_in_software was removed on 24th December.

Please rethink, because I think this would be appropriate.

Reason is following:

there are analytic and constructive quality assurance measures. Most people see failure/anomalies during analytic quality assurance measures, but in fact the bug happened much earlier. And this is why constructive quality assurance measurement is important. And to this constructive quality assurance measures belongs programming style/guidelines/conventions. So, if I can prevent bugs/failures right from start, this is the best. But how do we do this? By strict applying the guidelines? Perhaps - but imagine now a fresh developer, who has no experience, (s)he will definitely argue, why some part of the guideline is like this and not like that. And perhaps not apply one part, which could result in a failure, which costs time to fix.

For this, experience helps and this means knowing bugs/failures/anomalies, then people will see the advantage of programming style.

And who of you did not improve his/her style because there happened once a very bad bug? Don't we learn from our errors?

I would appreciate any discussion on the matter. See also one of the reasons, why the article was introduced here. BTW: this article "Programming style" uses already 2 times terms from anomalies (faults, computer bug).

Thx, for your comments in advance. ----Erkan Yilmaz (evaluate me!, discussion) 15:49, 27 December 2006 (UTC)[reply]

Erkan_Yilmaz (so everybody else knows, it was me who removed the link), your article on software anomalies looks at faults/bugs from the end user perspective (or at least that is how it reads to me). Programming style is deals with how software developers write code and is not directly connected with how a user of a program views its behavior. When I read your article on software anomalies I thought it was a duplicate article and that it was very similar to the article on software bugs/faults. Then I reread it and understood that you were dealing with the more general subject of software requirements and end user expectation. So it is not a duplicate article. I think the link between software anomalies and programming style is very weak. The link to software bugs is stronger because that article deals more directly with programmers. I hope this explains my reason for removing the link. Derek farn 16:23, 27 December 2006 (UTC)[reply]


Hello Derek farn,
thank you for the fast answer.
I knew that you deleted it, because we had a talk already, where in the process I updated the article, but I wanted to also see the group's view on it. SO, there is no blaming here or edit-war, I just would like to have more feedback by others also.
So, what already helped me is, that there were probs with the article:
1. looks at faults/bugs from the end user perspective (or at least that is how it reads to me)
2. I thought it was a duplicate article and that it was very similar to the article on software bugs/faults
Then I reread it and understood that you were dealing with the more general subject of software requirements and end user expectation
I will try to implement these into the article, so it can be better seen. I put them for now here. As you see, every feedback helps improving the articles. Thx for this valuable info. ----Erkan Yilmaz (evaluate me!, discussion) 18:27, 27 December 2006 (UTC)[reply]


Hello Erkan_Yilmaz, my comments were not a list of problems with the Anomaly_in_software article. The intent of my comments was to help you understand why I thought that a link from programming style to anomalies in software was not appropriate (the same argument also applies to your question about why I removed the link from the source code article). Derek farn 18:51, 27 December 2006 (UTC)[reply]
Hello Derek Farn, well I know, but I also could use them to improve the article. So there is a win already. :-) About the link of the articles, I tried to explain below, why I believe both articles belong together. But after I have changed the article I guess there is nothing to say against a link ? ----Erkan Yilmaz (evaluate me!, discussion) 18:57, 27 December 2006 (UTC)[reply]
About:
>Programming style is deals with how software developers write code
>and is not directly connected with how a user of a program views its behavior.
Actually everyone in a project should consider the wishes of the stakeholders. And mostly in the end, the customer pays the money (or you develop it internally for your organization, but still there are then other stakeholders).
So, if you know, that this specific customer has a real problem with this certain bug, then you know, let's try to not make this bug again and would use it in your style.
Also for example, if you use code appearance (indenting, spacing) or using "Appropriate variable names" you can work better in reviews, this could mean, finding more anomalies itself. And we all know, that the sooner you find a bug, the less it costs (well that is the normal belief, argument on another time :-) ). But the earliest way is not to make a bug or find it with a review, e.g. pair programming in XP or more formal reviews.
Anyway, people should always do riskmanagement and this goes better, if you can use experience.
E.g. if you know that the old project used programming Language X and there is a new project now, which also will use X as language. And you have knowledge, that in X itself there are bugs (remember please: X is just software), which caused failures in your application, you can prevent these bugs by writing in the guidelines.
But also, if you use design patterns, there are better ones and not so good ones. You can explain, that with design pattern Y1 this specific anomaly will not happen, but when using pattern Y2, it could.
Also: there are different software development models/approaches, e.g. TDD, BDD, where before real code is written test-code. And this works better, if you know what kind of anomalies to prevent. ----Erkan Yilmaz (evaluate me!, discussion) 18:27, 27 December 2006 (UTC)[reply]

Coding Standards

[edit]

I tried removing it a couple days ago, but apparently it was reverted because "The linked to page contains useful information." So, am I missing something, or is there a reason why we have a link to coding standards. As far as I can tell, it simply redirects back to this page. Which to me seemed pointless. When I clicked the link, I expected to be reading a different article, instead I'm back where I started. AlReece45 00:03, 4 March 2007 (UTC)[reply]

As of today, Coding standards points to coding conventions which seems good to me. FYI, although coding conventions/standards may be used to achieve some particular style, style is different than conventions/standards. Stevebroshar (talk) 15:22, 29 June 2024 (UTC)[reply]

I was the person who put the link back. Your right it now redirects back here. It used to contain a different article. Is there some kind of alternate edit going on here? I will investigate. Derek farn 11:48, 4 March 2007 (UTC)[reply]

So, what did you find?DewiMorgan 19:39, 10 May 2007 (UTC)[reply]

Added a bunch of stuff from "programming bug"

[edit]

I added a bunch on bug-preventing programming style, to the Software bug page. But it really works better here, so I lopped it back out of that page, put it in here, and expanded on it with examples. Please build-on/simplify these new bits! :) If you think them inappropriate, feel free to yell at me. Would "defensive programming" be a better place for these things?DewiMorgan 19:39, 10 May 2007 (UTC)[reply]


C Sharp and the Left-hand Comparison Style

[edit]

Hello User_talk:ACardboardRobot! Funny GMTA issue with your mod to Coding_standard#Left-hand_comparisons. I had originally included C# in that list, but then took it out because I read at C_Sharp_(programming_language) that:

C# disallows this "integer meaning true or false" approach on the grounds that forcing programmers to use expressions that return exactly bool can prevent certain types of programming mistakes such as if (a = b) (use of = instead of ==).

So the technique (Left-hand comparsisons, the subject of the article section) is not needed with C#. There could still be = versus == confusion if one were comparing booleans, as: if (variable == false) but that's a pretty lame way to say if (!variable) . Funny thing, the example already in the article is doing some even more lame boolean comparisons, comparing with true, so I changed that too (to the integer 42). So please tell me what you think. I hope you like the revisions. Bob Stein - VisiBone (talk) 13:27, 1 February 2008 (UTC)[reply]

Howto tag - removed

[edit]

User:Thumperward, on 26 July, added a howto tag, with the comment "(too much prescription in here)". However, he failed to follow the instructions on the page to which the tag links ("There is currently no consensus as to how the how-to articles should be edited. To-do lists may be replaced with great prose, or more simply, introduced in a way that reduces their how-to nature. Please discuss the issue on the talk pages, so that good guidelines for editing can be established.") as there was not even the briefest note, let alone any discussion, left on the talk page.

A howto is a step by step pedagogical guide to doing something: this is not a howto. I can't see how to have this article without defining the main traits of good coding style. I can't see a way to clearly explain those traits, and explain why they are GOOD style, without examples showing both good and bad. It's an article on style. Of COURSE it shows how to do it wrong, and right. There's no other way it could do it. That's not "too much prescription", that's "explaining it clearly".

It seems to have been a flyby tagging by someone with no prior or subsequent input into the page, on a quest (per his user page) to "de-howto wikipedia". I have placed the following note on Thumperward's user page, so he has the chance to argue the point:

I've removed the "howto" link from Programming style, for the following reasons: The tag requires a rationale to be posted to the talk of the article: none was posted. The tag is for articles with a "howto" section: this article does not have one, nor any step by step methodology that might be even distantly construed as a howto. The tag has been there for months, with nobody attempting to obey it. I'm perfectly happy for the tag to return, but it needs a reasoned rationale (which I don't have to agree with!), and examples or explanations of how the page could be changed in order to be "better".

Thoughts? Am I being too "bold"? DewiMorgan (talk) 02:21, 19 October 2008 (UTC)[reply]

I've re-tagged it as an essay. The article has only one reference at this time, and advances a great deal of arguments. It also presents material in an educational rather than descriptive manner. I'll see if I can work on this myself in future. Chris Cunningham (not at work) - talk 10:04, 22 October 2008 (UTC)[reply]
*grumble* To be honest, I reluctantly but completely agree there. While it's all good stuff on the page, and all true and best practice, and I love the page for being there for me to point newbies at... it's not so well referenced as it could be, and so on. I'd hate to see it heavily pruned of information, but would be nice to be less... well, yes, less essaytacular. I can't think how that could be done without castrating the page though. Will be very interested to see your changes, if you can find the time to have a poke. DewiMorgan (talk) 23:46, 27 October 2008 (UTC)[reply]
On the other hand, I didn't notice you deleted the references in order to support your "This article has only one reference at this time" claim. While I feel they should be used as references, rather than a big ol' list o' links, I don't feel deletion is the best way to accomplish this, since the content of the page refers to the information in them. I admit I can't see a clean way of doing this. Linking all the relevant ones after each point that refers them would be messy. Linking each one only once, when it is first applicable, would be just confusing. Some kind of table might be the way to do it most concisely, and would clearly and usefully display the information about which languages have which style issues (for example, VB won't have style rules about lefthanded assignments, or any of the curly-brace issues). But I've no idea about wiki markup for that sort of thing. And while easier on the eyes, a table may be less encyclopaedic in style than just a long list of refs after each section. DewiMorgan (talk) 23:50, 29 October 2008 (UTC)[reply]
The content is still there in the page history, if anyone wants to dig through it while working on the article. I didn't trust that the current state of the article was such that it had been derived from the references, and that even if it were it would likely be a case of drawing new conclusions from the combination of disparate sources. I've got the page watchlisted, so I might even work on this myself at some point. Chris Cunningham (not at work) - talk 20:17, 31 October 2008 (UTC)[reply]

Deleted from "Tabs"

[edit]

I deleted the following passage: "There are also some tricks that people do since it is easy to work with tabs. Since most programmers have the tool to replace a certain text with another text, people use it to replace the tab then for spaces."

My reasoning there is: the first sentence essentially says "there's cool stuff you can do with tabs", but doesn't say what, nor give references for these cool tricks (is setting tabstops or tab sizes a "trick"?), so seems a nonsequitir. The next sentence seems to to be bad advice, claiming "people can search/replace tabs with spaces". Um... not with a regular search/replace, you can't. With a regex search/replace, you can just about manage it (I can't see a way with just a single pass, though). Which is why most decent programmer's editors have tab conversion as a separate option, just because a na?ve search/replace of them will mangle the code.

For example, naively replacing the tabs with 8 spaces in:

1       8
1234567 8

will give:

1        8
1234567        8

So, a nonsequitir, and bad advice.DewiMorgan (talk) 00:16, 30 October 2008 (UTC)[reply]

Wikilink to a psychology article in the "See also" section

[edit]

If the psychology article The Magical Number Seven, Plus or Minus Two "provides a rationale for some style decisions", as User:Derek farn puts it, then this should be explained in the text of the article, rather than simply being thrown upon the "See also" section (leaving to the poor reader the work of guessing the relationship between the subject of this article and the topic of that one).

The connection between the article The Magical Number Seven, Plus or Minus Two to this article has not yet been clearly stated, therefore I have removed it from the "See also" section. Naturally, if the connection is explainable and supported by reliable sources, there will be no problem in adding a wikilink of that psychology article to the body of the article (together with the sourced explanation, properly integrated to the remaining text). --Antonielly (talk) 19:00, 8 April 2009 (UTC)[reply]

Code Conventions

[edit]

This article overlaps with Coding conventions and Coding standards and has no proper link to de:Programmierstil. I dare not change it, because I cannot decide which of the two articles could go to orcus or if both could get a clear different lemma. --Brf (talk) 15:46, 11 December 2009 (UTC)[reply]

Agree that the intro of this article was overlapping the concept of coding conventions. But, that's because the intro of this article was wrong. Style is not the conventions or the guidelines used. Style is a description of the resulting code. One might use conventions and guidelines to achieve a style. But, the style is the result, not the guidance. ... I re-wrote the intro to describe style more correctly. Stevebroshar (talk) 15:18, 29 June 2024 (UTC)[reply]

See also

[edit]

I think that this link would be relevant there: Motor_Industry_Software_Reliability_Association —Preceding unsigned comment added by 82.108.154.19 (talk) 15:18, 26 January 2010 (UTC)[reply]

Vertical Alignments

[edit]

Python gives some good arguments against vertical alignment that are not in this article. The gist is: if you always align your variable definitions (or declarations), you may create semantic relationships where there are none and distract from the intended meanings by violating the proximity principle (things that are closer to each other appear to be more related to each other). The bug mentioned in the example should therefore be avoided altogether by defining the search/replace values as a mapping rather than as two disjunct lists.

As the original point/counter-point conclusion already sounds a bit argumentative, I can't think of a good way to add this without making it sound like a forum discussion --- 78.35.103.86 (talk) 08:54, 28 April 2010 (UTC)[reply]

Hrm. I think that you're trying to make two points: 1) "Where stuff's not related, vertically aligning it to match is not useful". Well... yeah. But that has no bearing on the point in the article, which is that, when stuff IS related, vertically aligning is very useful indeed.

2) "In the minimal example given, there's a completely different way to re-code it that would avoid the problem." - it's in the nature of trivial examples of problems, that trivial alternative routes to the same end can be found that avoid the problem completely. However, that doesn't mean that the problem does not exist: a mapping/hashtable is not always the most efficient solution to a problem, not all languages have a decent mapping syntax, and if you replace that array definition example with function calls, #defines, or whatever-you-fancy that can't use a mapping, then the problem remains.

So, I can't really see that either point applies. But then, I may be misunderstanding, and so inadvertently strawmanning, what you wrote. DewiMorgan (talk) 03:43, 22 September 2010 (UTC)[reply]

As an addition, in the book "Clean Code" Robert Martin ("Uncle Bob") suggests that Vertical Alignment is a poor choice as it emphasizes the wrong things in that it leads you to look at the types (if using a language which requires type identifiers) as a group, identifiers as a group, and the values being assigned as a group thereby distracting you from the correlation between individual type, identifier, and value. — Preceding unsigned comment added by 64.251.74.12 (talk) 20:02, 26 October 2011 (UTC)[reply]

The motivating example given is rather poor, if search and replace terms are related then they should be stored in a compound data structure (list of tuples perhaps?) It would seem that relying on formatting to imply a relationship between variables is poor practice (any tool which autoformats the code, which many organizations will require one to use, would cause that linkage to be lost) — Preceding unsigned comment added by 64.251.74.12 (talk) 20:09, 26 October 2011 (UTC)[reply]

Merging Programming style and Coding and Naming Conventions articles

[edit]

Please see following talk page and provide me with some feedback if you like Talk:Coding_conventions#Refactoring_coding_conventions_and_programming_style_articles. Several bigger but straigtforward merges re. following articles are proposed: Programming style , Coding conventions , Naming convention (programming) . Thanks, Ptrb (talk) 12:42, 13 November 2010 (UTC).[reply]

Hi, I added merging-info in header of Coding conventions. KR 17387349L8764 (talk) 10:24, 15 April 2021 (UTC)[reply]

Vertical Alignment

[edit]

Currently, in the Vertical Alignment section, there is a citation needed tag for the sentence "Most modern code editors support proportional fonts, and the programmer may prefer to use a proportional font for readability". I'm not sure what it's saying needs citation - that programmers may prefer a proportional font, or that IDEs support it. If it's that IDEs support it, then I think the tag should be moved; if it's that programmers may prefer it, then the tag should be deleted. Of COURSE some programmers prefer it: in any other situation, proportional fonts are generally considered better, so there are some who would prefer them when coding. I would remove the tag myself, but I might not fully understand the policy; it's been there since September 2010, so if it should be removed, I'd think it would have been by now. --71.229.183.111 (talk) 03:43, 9 June 2011 (UTC)[reply]

ModuLiq Zero Indent Style

[edit]

Is "ModuLiq Zero Indent Style" worth mentioning? The only information about it I could easily find in google was in archive.org. If it is really widely used, a reference is needed in the article. If it is given as a curiosity, a reference is needed. Otherwise it should be removed. — Preceding unsigned comment added by 178.42.6.200 (talk) 22:00, 26 March 2013 (UTC)[reply]

Haskell style

[edit]

I wrote an expanded section of Haskell style. But Haskell is a very different language than C, C++, etc. It is a declarative language. i.e. there are no statements like if then else, and loops, because it does not have assignment. The language restrict the use of capital and lowercase letters. All declarations can be entered in any order. Haskell programs are too short compared with all the imperative languages. — Preceding unsigned comment added by 189.233.105.4 (talk) 16:47, 28 March 2017 (UTC)[reply]

Hi, Ok good, what else you want to do? There is a overall lack of citations, is this your personal idea of Haskell or common knowledge? Are you planning on improving it? KR 17387349L8764 (talk) 10:26, 15 April 2021 (UTC)[reply]
I do not know if i am missing the theoretical background here, but the sentence "Haskell is a declarative language, there are statements, but declarations within a Haskell script." seems to be missing a word, or having another semantic problem (at least in ubiquitious language). Sorry if i am missing something subtle here. 80.139.38.64 (talk) 17:35, 4 September 2021 (UTC)[reply]

Issues

[edit]

IMO the 'refimprove' (needs citations) is still an issue. But I think the 'Essay-like' issue can be removed. Any dissention? Stevebroshar (talk) 12:00, 30 June 2024 (UTC)[reply]

乙脑是什么病 七年是什么婚 郑中基为什么叫太子基 胎位不正是什么原因导致的 头晕呕吐是什么原因
银耳和雪耳有什么区别 奇货可居什么意思 肺大泡吃什么药 脑瘫是什么症状 甲沟炎涂什么药膏
咳嗽有黄痰是什么原因 耳语是什么意思 结婚20年是什么婚姻 高质量发展是什么 ca是什么意思
来月经头晕是什么原因 2月出生的是什么星座 蚯蚓喜欢吃什么 bl是什么意思 肝低密度灶是什么意思
全麦粉是什么面粉hcv7jop6ns3r.cn 龟粮什么牌子的好hcv8jop4ns7r.cn hpv长什么样hcv8jop4ns8r.cn 大男子主义是什么意思hcv9jop1ns5r.cn 枕神经痛吃什么药hcv8jop6ns9r.cn
黄马褂是什么意思hcv7jop4ns6r.cn 女人小肚子疼是什么原因sanhestory.com 减肥期间晚上可以吃什么hcv8jop0ns8r.cn 税号是什么hcv9jop5ns6r.cn 为什么月经迟迟不来hcv8jop1ns5r.cn
草莓什么时候种植最好hcv7jop9ns9r.cn 猴的守护神是什么菩萨hcv8jop5ns7r.cn 粉头是什么意思hcv9jop2ns7r.cn 手足癣用什么药最好hcv9jop1ns9r.cn 盆腔炎有什么明显症状hcv9jop2ns7r.cn
预谋是什么意思hcv7jop4ns7r.cn 蛇的眼睛是什么颜色hcv8jop6ns5r.cn 正常的尿液是什么颜色hcv9jop3ns9r.cn 波比跳是什么hcv8jop3ns4r.cn 喷砂是什么意思hcv7jop6ns5r.cn
百度