Re:Writing in a Dynamic Language? Naming Matters More.
by famousactress on Monday October 21, 2013 @11:01AM
(#6585964)
Yeah, definitely. Since jumping from full time Java to full time Python a few years ago I've learned this lesson the hard way a number of times.. It's definitely worth naming for grep-ability to ease refactorings. I'm sure this post will garner at least a few STATIC TYPING > SCRIPTING LANGUAGE comments, but I think that's short sighted. There are definitely advantages and disadvantages to both. Refactoring and code-findability is where static languages shine. We're lucky that it's a relatively simple problem to solve in dynamic languages via thoughtful naming and unit tests.
[ Parent
| on HN ]
Re:Writing in a Dynamic Language? Naming Matters More.
by housecor on Monday October 21, 2013 @12:31PM
(#6586581)
Great point. I didn't mention findability but that's a struggle in dynamic languages since you must resort to searching for strings. Thus in dynamic languages similar/duplicate function names hinder refactoring and navigation.