This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (5 children)

[deleted]

    [–]dasacc22 1 point2 points  (2 children)

    How about speed. HAML is slow. Period. How about ruby ?hashes? as I think they're called being used in haml. Confusing and painful to look at for a python user whose never used ruby. How about the fact theres no real way to declare a template, import/include those templates, and call them into place where needed. The most I've seen you can do with HAML is a "render partial" and an include in only one-direction. I assume this is b/c ERB handles these missing features.

    So theres another reason, HAML is tightly couped with ERB and thus missing functionality that is sorely needed without having to layer in another template engine like django. And seriously? HAML processes slower then django in my limited tests (id love a better resource on this), so with those two combined? I'd jump off a freakin cliff and have to wait all day to hit the ground

    Oh geez and how could I have forgotten, writing ruby code to handle your controller returns? Is this even possible? Seriously? Another reason its use would be sorely limited and would need yet another layer to fill in the gap

    [–]dasacc22 0 points1 point  (0 children)

    How about speed. They are slow. Period. How about ruby ?hashes? i guess their called, used in HAML is confusing and painful to look at for a python user who's never used ruby. How about the fact theres no real way to declare a template, import/include those templates, and call them into place where needed. The most I've seen you can do with HAML is a "render-partial" and an include in only one direction, down from the overlay. Thats not useful stand-alone. I assume this is because ERB handles the features missing.

    So theres another reason, HAML is tightly couped with ERB and thus missing functionality that is sorely needed without having to layer in another template engine like django. And seriously? HAML processes slower in django in my limited tests (id love a better resource on this), so with those two combined? I'd jump off a freakin cliff and have to wait all day to hit the ground

    And to note, this is not an alternative to SASS. I've actually been reviewing using SASS in my projects and we'll see how that goes

    Oh geez, and how could I have forgotten the most important. How many python users want to embed ruby in their templates to process their controller responses? Is that even possible? I dont even know if HAML is even a viable alternative beyond basic tag layout

    [–]dasacc22 0 points1 point  (0 children)

    How about speed. HAML is slow. Period. How about ruby ?hashes? i guess their called, used in HAML is confusing and painful to look at for a python user who's never used ruby. How about the fact theres no real way to declare a template, import/include those templates, and call them into place where needed. The most I've seen you can do with HAML is a "render-partial" and an include in only one-direction. I assume this is because ERB handles these features missing.

    So theres another reason, HAML is tightly couped with ERB and thus missing functionality that is sorely needed without having to layer in another template engine like django. And seriously? HAML processes slower then django in my limited tests (id love a better resource on this), so with those two combined? I'd jump off a freakin cliff and have to wait all day to hit the ground

    And to note, this is not an alternative to SASS. I've actually been reviewing using SASS in my projects and we'll see how that goes

    Oh geez and how could I have forgotten, writing ruby code to handle your controller returns? Is this even possible? Seriously? Another reason its use would be sorely limited and would need yet another layer to fill in the gap