Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:New Zealand has a navy??? (Score 4, Informative) 104

And New Zealand does have an army (and an air force) in addition to a navy. All organizations are very small, and are not set up for offensive warfare. They are most often used for humanitarian missions. There is a contingent of the NZ Army SAS active in Afghanistan for several years now.

And, going back to the original posting, the proper term for the navy of NZ is "Royal New Zealand Navy", not "New Zealand Royal Navy". "Royal Navy" is British.

Comment Re:C Programming Language (Score 1) 594

Compilers compile to "object code" or "machine code", not "assembler language". It may be that some simple compilers produce output in assembler language that has to be separately "assembled". And the object code generated by some compilers may have to be interpreted by another program, such as the Java virtual machine.

Comment Re:I guess you don't understand languages either (Score 3, Informative) 594

Of course you can write object-oriented code in C. It has been done many times.

An object-oriented language has lots of syntactic help for the purpose, but all languages compile to some type of runtime code structure. If you understand what code gives the object-oriented behavior you want, then you can write it in C.

And yes, the poster who said C was assembler-like likely has never seen an assembler language, I would guess. I do remember writing a C routine once which had an initialized array containing hex representations of machine code to do a particular highly specialized task, and then using some coding wizardry to get the locus of control into that array when needed. Ah, those were the days.

Comment Re:Do the editors even look at the submissions? (Score 4, Insightful) 247

In many different forms of printed material I see today, it seems quite apparent that "editor" means "spell checker program". I rarely see misspelling typos any more, but I see many, many instances of misused words that are correct, well-defined words, just not suitable for the context in which they appear. The odd instances in this article are of that type.

Slashdot Top Deals

May Euell Gibbons eat your only copy of the manual!

Working...