News for hackers. Stuff that matters.
Re:Why did OKCupid write their own web server? by wisty on Thursday March 10, 2011 @09:21PM (#2311869)
C is a good statically-typed language, but it's a bit basic.

ObjC is a good statically-typed language.

C++ is half a dozen good statically-typed languages, all fighting for supremacy like a ham actor's "multiple-personality-disorder" shtick.

Re:Why did OKCupid write their own web server? by program on Friday March 11, 2011 @08:20AM (#2313201)
ObjC isn't statically-typed. Static typing informations only allows the compiler to warn the programmer about type mismatch. From the official docs:

"Statically typed objects have the same internal data structures as objects declared to be of type id. The type doesn't affect the object; it affects only the amount of information given to the compiler about the object and the amount of information available to those reading the source code."

Re:Why did OKCupid write their own web server? by blub on Friday March 11, 2011 @09:06AM (#2313331)
Objective-C is a good statically typed language? I must admit that this is new to me...

How exactly is Obj-C "good"? Is it safer than C? Perhaps less verbose? Or maybe it's easier to use - libraries aside? Is it better because it runs on more platforms? Because it's standardized?

If all else fails, I think it must be the way that it manages to merge two completely different programming paradigms by just stapling them one onto the other.

Re:Why did OKCupid write their own web server? by hboon on Thursday March 10, 2011 @10:36PM (#2312020)
ObjC can use both static and dynamic typing.