4 ms·
It's not a terrible experience, but it is truly baffling that anyone would start a project in it today. A good static type system is too useful and important.
by smt88 9y ago
It's not a terrible experience, but it is truly baffling that anyone would start a project in it today. A good static type system is too useful and important.
- micaksica 9y ago> A good static type system is too useful and important. What? A whole lot of web apps these days are built in Python, Ruby, or JavaScript, none of which are statically typed languages. Do you mean a strong type system?
- rubyn00bie 9y agoI assume mean strongly typed and I can agree with them to an extent. While it does add slight overhead when writing code (not enough to matter I think) it does help eliminate a bunch of errors/edge cases you'd have to unit test for in an dynamically typed language. Though as I always say: use the right tool for the job. And for a lot of jobs dynamically typed languages and framework offer a lot to the developer.
- deevus 9y agoThere's no concrete definition of strongly typed, either. https://stackoverflow.com/questions/2690544/what-is-the-difference-between-a-strongly-typed-language-and-a-statically-typed https://stackoverflow.com/questions/2690544/what-is-the-diff...
- deleted 9y ago[deleted]
- pmontra 9y agoThat's the last thing I look for when evaluating a new language. Well, actually I came to dislike static typing so much that's a big point against languages IMHO. I concede that it would have saved me time with data occasionally going to the wrong argument/method/function but every time I understand that I'll have to type almost useless stuff like Map(<String>,<String>) I hit back and return to HN home page. Moving to dynamic typing was as liberating as moving away from malloc/free to garbage collection. I think I could stand languages with implicit typing. All I want is not to have to annotate my code. I'm happily paying some time and tests for that. Btw, I don't like people downvoting to express disagreement so I'm upvoting you. My +1.
- noway421 9y agoThank you for the insightful comment, all of a sudden static typing increasing coding friction makes sense.
- jjeaff 9y agoI still do my saas projects all in PHP. I mean, I'm not building NASA control software it anything, but I have incurred very few problems due to dynamic typing. Not to mention the fact that I can hire php devs for half of what a ruby dev wants these days.