You are not logged in.
Xilon wrote:Static typing is better than dynamic typing. If a language has static typing you can still do dynamic typing (in most cases), but not the other way around.
So what? Dynamically typed languages let me do dynamic typing in all cases, without hacking around the language. Therefore they are better.
Quoting myself.
I should add that I'm being facetious here. I don't really think that dynamic languages are better for everyone, but they are better for me, for good reasons.
Offline
C is simple and fast.
Objects are for chumps. It's all about data structures.
Offline
(I'm lazy, as all programmers should be.)
If that were the case we'd still be using 2.4.* kernels
I vote C all the way
Last edited by Wra!th (2009-04-13 07:43:45)
MacGregor DESPITE THEM!
7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Offline
Lazy in this sense doesn't mean not wanting to work, but working efficiently by avoiding unnecessary work if possible. This includes for instance garbage collection (and consequently people improving the quality of GC), languages with a concise, logical syntax and using the right tool for the right job.
I wrote a verb conjugation engine (i.e. an interpreter for a conjugation language) including a web server in C - it was properly abstracted, used nice data structures and included multi-platform support. And there are even bigger projects out there using C, no doubt it's possible to create big and good applications in C.
But: I would never chose C for a bigger project I start from scratch. I have to repeat myself very often, I have to think about memory management instead of working on solving the actual problem and I have countless possibilities to create obscure problems. It takes just too much time to get all these things right - I could have solved the same problem in a language like Python in a fraction of the time and when I encounter bad performance I could still have written the critical parts in C and the speed would be similar in the end.
Offline
Choose right tool for the job.
Offline
You need to accept that a preference for static typing vs. dynamic is a dispositional thing rather than an absolute better/worse relation. Some people have a massive hardon for compiler-checked type-correctness, and that's fine, but not everyone enjoys bondage play.
Indeed. When I said it's better, I didn't mean that it's a better language overall and everyone should use statically typed languages. I meant that a statically typed language can be flexible enough to allow for dynamic typing, and therefor provide the best of both worlds. It's funny though, how this flexibility is rarely used in such languages. Even though you can dynamically type, the code is usually statically typed anyway.
C is simple and fast.
Objects are for chumps. It's all about data structures.
Funny. Objects are just data structures with associated functions.
Last edited by Xilon (2009-04-22 06:29:10)
Offline
I don't get the whole C or C++. I think they both have their uses, and they are both quite similar.
I never bothered with replying to the original post in this thread since the answer would be the same as: http://bbs.archlinux.org/viewtopic.php? … 68#p509168
I haven't lost my mind; I have a tape back-up somewhere.
Twitter
Offline
OK, this is getting silly - we have two threads with the exact same name with very similar content. I wish I had a topic-merge function.
Further posts on the subject go here: http://bbs.archlinux.org/viewtopic.php?id=66692
Locked.
Offline