Re:What programming languages should I learn and why?
by gregwebs on Sunday May 20, 2007 @10:14PM
(#23510)
True, C does not suffer too much from idiosyncrasies, more from being poorly designed in comparison to modern programming languages.
[ Parent
| on HN ]
Re:What programming languages should I learn and why?
by dfranke on Monday May 21, 2007 @02:12AM
(#23542)
On the contrary, C is excellently designed for its intended purpose: as a language for writing UNIX. If that's what you're doing, C is the ideal choice. If you're using it for something else, you're misusing it.
Re:What programming languages should I learn and why?
by euccastro on Monday May 21, 2007 @11:11PM
(#23779)
What do you use to optimize a bottleneck in Ruby or Python? (After you have profiled, exhausted the higher level optimizations, and all that.)
Re:What programming languages should I learn and why?
by dfranke on Monday May 21, 2007 @11:20PM
(#23780)
Well, most languages use C for their FFI so you're almost stuck with that. You can still use D, since it can call C functions transparently. Though, if I were designing a high-level language and wanted it to be able to call a fast lower-level one, I might choose Forth or OCaml. Once it matures a bit, I might change my answer to Fortress.
Re:What programming languages should I learn and why?
by cwilbur on Monday May 21, 2007 @11:57AM
(#23626)
If you take a serious look at the constraints under which C was developed, the systems it was to be used on, and the problems it was intended as a solution to, you will see that it is most excellently designed.
Unfortunately for C, the constraints have changed, systems are orders of magnitude more powerful, and people have attempted to use C for many things it was not well-suited to.