Hiccdown Development Notes

Showing only ideas leading to #327 and its comments.

See full discussion·​See most recent related ideas
  Log in or sign up to participate in this discussion.
With an account, you can revise, criticize, and comment on ideas.

Discussions can branch out indefinitely. You may need to scroll sideways.
Dennis Hackethal’s avatar
Dennis HackethalOP·​#325·​
Only version leading to #327 (5 total)·​latest

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

ruby
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.

Criticized2*ArchivedLinked to by #331 and #5851
Dennis Hackethal’s avatar
Dennis HackethalOP·​#327·​·​Criticism

Instance variables are not available inside the methods.

ArchivedLinked to by #332
Dennis Hackethal’s avatar
Dennis HackethalOP·​#328·​·​Criticism

They are: vc.instance_variable_get(:@foo)

Criticized1Archived
  • Rationally adoptable.
  • Not rationally adoptable.
  • Older versions with pending criticisms.
  • Ideas are blue, criticisms red, comments small and gray.
  • Hover over ideas to expand them.
  • Click on ideas to jump to their place in the discussion.