Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at BFusion / BFLEX 2010 (Bloomington, Indiana) with: Daria Norris

Sean Corfield

Member since Jul 23, 2009

Recent Blog Comments By Sean Corfield

  • Learning ColdFusion 9: CFScript Updates For ColdFusion Components

    Posted on Jan 24, 2012 at 1:48 AM

    @Ken, compilation happens before code runs so you cannot have dynamic (runtime) values in static (compile time) metadata - it just doesn't make sense and isn't possible.... read more »

  • OOPhoto - A Painful Transition To Object-Based Controllers

    Posted on Feb 6, 2011 at 3:50 PM

    @Brad, Just a note that Fusebox 5.5 does not require XML so the single page site scenario you mention is possible (and it still allows fully procedural code - or a mix of OO and procedural). FW/1 is also built so that a single page site is trivial and you can grow into a full application over time... read more »

  • Seven Languages In Seven Weeks: Haskell - Day 3

    Posted on Feb 2, 2011 at 7:24 PM

    @Ben, IRC can be a very good resource for Q&A stuff. Hundreds of developers online (well, CFML usually has about 30), quick, interactive chatter to get a problem explained and solved. #coldfusion is most active on dal.net but also present on freenode and efnet (I'm on dal.net and freenode). P... read more »

  • Seven Languages In Seven Weeks: Haskell - Day 3

    Posted on Feb 2, 2011 at 6:31 PM

    The #haskell IRC channel on freenode can be a great way to get answers to questions like that (it currently has over 700 Haskell programmers online!).... read more »

  • Seven Languages In Seven Weeks: Haskell - Day 2

    Posted on Jan 28, 2011 at 2:00 AM

    Haskell regular expressions: http://www.serpentine.com/blog/2007/02/27/a-haskell-regular-expression-tutorial/ http://www.haskell.org/haskellwiki/Regular_expressions http://book.realworldhaskell.org/read/efficient-file-processing-regular-expressions-and-file-name-matching.html (scroll down a... read more »

  • Seven Languages In Seven Weeks: Clojure - Day 1

    Posted on Jan 24, 2011 at 8:29 PM

    @BenNadel, you need better spam protection on your blog dude!... read more »

  • Seven Languages In Seven Weeks: Clojure - Day 1

    Posted on Jan 24, 2011 at 5:26 PM

    Great to see you being more successful with Clojure than you were with Lisp all those years ago! Despite the four hours for each day of exercises, I hope you ultimately enjoyed the experience and learned a lot - things you can apply to solving problems in other languages? I'm going to make one idio... read more »

  • Seven Languages In Seven Weeks: Prolog - Day 2

    Posted on Jan 11, 2011 at 8:45 PM

    @Ben, I'll be very interested to see how you get on with Clojure! The lack of assignment / side effects means you have to use a functional approach to solutions, which is a great mental exercise. I'm really enjoying Clojure and I expect to have some Clojure code in production some time soon as par... read more »

  • Seven Languages In Seven Weeks: Erlang - Day 1

    Posted on Dec 20, 2010 at 10:39 PM

    @Randall, the simple answer is: you are "being paranoid for no good reason". That Erlang creates new copies of transformed data (along with Scala on immutable data and Clojure) is just a feature of functional languages and it's handled very efficiently under the hood, both in terms of perf... read more »

  • Seven Languages In Seven Weeks: Scala - Day 3

    Posted on Dec 17, 2010 at 5:48 PM

    Nice to see fewer semicolons :) Must be killing you, eh? You could omit a lot of the dots and some of the parentheses too to make it more readable / idiomatic: Source fromURL url mkString 1 to url.size foreach { _ => ... } (You can use _ for the variable name when you're ignoring it as in you... read more »

  • Seven Languages In Seven Weeks: Scala - Day 1

    Posted on Dec 17, 2010 at 1:30 PM

    @Ben, Back in the 80's and early 90's I worked with a few languages that did structural matching (including Prolog). My introduction to the power of regex was actually quite late... :) Partial function is more of a math term, I believe, where you have a domain (of values) and a mapping to another ... read more »

  • Seven Languages In Seven Weeks: Scala - Day 1

    Posted on Dec 17, 2010 at 11:40 AM

    @Ben, Oh, and partial functions are constructs that are defined for only part of their input range - but more importantly, you can ask them whether they are defined for a specific value, via isDefinedAt(value).... read more »

  • Seven Languages In Seven Weeks: Scala - Day 1

    Posted on Dec 17, 2010 at 11:39 AM

    @Ben, match is pretty powerful and goes far beyond regular expressions. This is structural type matching. findFirstIn() returns Option[String] so the values are either Some[String] or None, both of which extend Option[String]. A value of type Some[String] holds a string value. A value of type None ... read more »

  • Seven Languages In Seven Weeks: A Pragmatic Guide To Learning Programming Languages By Bruce Tate

    Posted on Dec 14, 2010 at 5:02 PM

    @Ben, I bought the print and ebook versions of Erland and OTP in Action and I've switched entirely to ebooks now so if you do decide you want to dig into Erlang more than Seven Languages allows, I'd be happy to mail you the In Action book... let me know via private email.... read more »

  • Seven Languages In Seven Weeks: Io - Day 1

    Posted on Dec 14, 2010 at 4:57 PM

    FWIW, object[ methodName ]( args ) is supported by Railo because the CFML Advisory Committee voted unanimously that it should work, even tho' it's a change to existing semantics. You said "I come from a background in languages that don't have the option for things like semi-colons and parenthe... read more »

  • Seven Languages In Seven Weeks: Scala - Day 1

    Posted on Dec 14, 2010 at 4:20 PM

    @Ben, A foreach doesn't have a value (it yields Unit) so if there is a theoretical path past that statement, Scala will need a return value (and because you had an explicit return inside the loop, you need an explicit return elsewhere - a single exit point can be a value, multiple exit points must ... read more »

  • Seven Languages In Seven Weeks: Scala - Day 1

    Posted on Dec 14, 2010 at 3:00 PM

    All those semicolons burn my eyes! :) It's interesting to see other people's Scala code because, like C++, Scala is very much a multi-paradigm language and it allows procedural code, OO code and functional code... together or in isolation. Scala's optional punctuation is intended to allow more Eng... read more »

  • OOP Getters() And Setters() - A New Programmer's Frustration

    Posted on Jan 30, 2010 at 3:54 AM

    @Brad Wood, Yes, consider it "Tell, don't ask!" If you have code that does get, get, get, do something, set, set, then do something probably belongs inside the object, not outside it. In other words, you should tell the object to do something and not care what data it has or how it does it. Does ... read more »

  • Getting Certified In ColdFusion 8 Scares Me

    Posted on Dec 16, 2009 at 12:55 AM

    "If you use snippets predominately rather than typing out your code then you could be in trouble if you don't remember the parameters of a certain tag" This is exactly my problem with these certifications. We use IDEs for a reason: so that we don't have to waste cycles remembering all these attribu... read more »

  • My BFusion / BFLEX Keynote Address

    Posted on Oct 24, 2009 at 10:32 PM

    Hear! Hear! Do what you love - love what you do. At that point it is no longer work, just "what you enjoy doing". And if someone will pay you to do it, you have achieved a great balance! :) Sounds like you did a champion job for the keynote - wish I could have been there (but I just couldn't afford... read more »