Talk:Hard coding
The style of this article is far too conversational. Fix that shit immediately.
![]() | Computer science Start‑class Low‑importance | ||||||||||||||||
|
Examples too specific?
I know it's next to impossible for an example to be too specific, but this article only cites Microsoft based hard-coding problems and gives very specific solutions to those particular issues. Would it be possible to cite some other problems and have less technical solutions as well. I mean, who really knows what the SHGetFolderPath
function is anyway? ☭ Zippanova 08:29, 29 April 2006 (UTC)
- I doubt we can trace the reason because the edit adding this is done from an anonymous. --Deryck C. 16:54, 29 April 2006 (UTC)
"Strings" chgd to "data"
I replaced references to 'strings' with 'data' since non-string data can also be hard-coded. --User:SteveBaker
"Practitioners"?
"practitioners of the software art"? If that's valid, I'd like some links. --Astronouth7303
"Hard code" v. "hardcode"
I thought the concept was written as a single word. This is the first time I have seen it as two words. --Anonymous
- Seems several forms are used; "hardcode", "hard-code", "hard code", "hardcoding" and "hard-coding", and "hard coding". Actually, to my surprise, "hard coding"/"hard-coding" is more frequently used than "hardcoding" (according to google). --Wernher 17:33, 20 January 2006 (UTC)
- I prefer the hyphenated "hard-code", as in my own usage this is the most common. Deryck C. 03:39, 21 January 2006 (UTC)
- It has to be said that the number of Google hits is not reliable for more than one word. It's some weird heuristic and given that "hard" and "code" are both probably quite common words on the internet, maybe that heuristic produces bollocks here. --Mudd1 (talk) 21:32, 18 December 2013 (UTC)
Competitive hard coding
Hard coding is also an important concept in computer competitions. I've added a paragraph about that. Deryck C. 08:36, 20 January 2006 (UTC)
Profile Path
Actually, the example of C:\Documents and Settings\ failing on Vista isn't true - Vista automatically redirects this to C:\Users\ as there is a junction point/reparse point/symbolic link that points from Documents and Settings to Users. —Preceding unsigned comment added by 217.33.15.251 (talk) 10:30, 26 May 2009 (UTC)
- You are right, and i changed the article that way, removing the Vista reference. --95.89.180.211 (talk) 07:17, 26 May 2011 (UTC)
Microprocessors example
"[...] similar to the microprocessors in early computers, that were built to expect the computer's initial program code to start at the address 0 [...]" This example is wrong. There's no other way, every microprocessor must have some hard-coded start point. It's obvious that hardware can't randomize start pointer. Even when boot routine moves, there must be some hardcoded place where microprocessor looks up for that changable start point (and some hard-coded instructions to jump there). —Preceding unsigned comment added by 93.179.214.1 (talk) 21:09, 18 October 2010 (UTC)
Origins
Currently the article says 'the term "hard-coded" was coined in 1990 by R. Galichon (then a Programmer/Analyst at Mobil)'. I beg to differ, I was using the term in 1989 and have also never heard of R. Galichon. -- JonRB (talk) 13:29, 18 April 2011 (UTC)
- Given that whoever wrote that origin story originally has been failing to provide a source for almost four years, I removed the sentence. It can always be re-added if someone can actually prove that this term is as young as 1990 (which seems unlikely to me). --Mudd1 (talk) 21:37, 18 December 2013 (UTC)
Optimization
Hard-coding can also be a powerful optimization technique, such as using sinus-tables instead of expressions when an FPU is not available. /Stellarvortex (talk) 15:51, 7 November 2012 (UTC)