Activity

  Dennis Hackethal criticized idea #325.

Hiccdown methods should live in their own, separate modules. How about they are called ‘displays’?

module ProductsDisplay
  def self.index vc, # …
    vc.some_helper_method
  end
end

A benefit of this approach is that, when people start a new Rails app, they may end up putting whatever they’d otherwise put in a helper in a display, since displays have the benefit of having unambiguously resolvable method names.

#325 · Dennis Hackethal, 3 months ago

I’m trying this now. Having to prepend every invocation of a helper method with vc. is getting really old really fast.

3 months ago · ‘Hiccdown Development Notes’