19 comments

  • Colm TuiteColm Tuite, almost 4 years ago

    Sheesh.....tough crowd.

    I really like where this is going. Preprocessors have had a pretty easy ride so far with very little criticism. For all their awesome, they can trick us into writing poor CSS.

    Nesting often leads to overly specific, unmaintainable code. Using mixins for vendor prefixing can get pretty clumsy. It's very easy to get lost in preprocessor land and lose sight of your CSS output.

    Myth looks like it will retain some of the power of preprocessors, while letting us write CSS that's much closer to the output.

    Looking forward to seeing more.

    2 points
  • Jacob Kelley, almost 4 years ago

    Shit has no one had anything positive to say about this? Aside from the beautiful landing page built for a CSS library, it serves its purpose well and doesn't aim to replace sass or less.

    2 points
  • Andrew LiebchenAndrew Liebchen, almost 4 years ago (edited almost 4 years ago )

    The Hacker News thread is rough on two fronts:

    • Nitpicky HN bullshit about implementation. It's not perfect, but that's the the Pull Request is for dudes!
    • The marketing site is too slick, or it makes promises the plugin can't quite deliver. Again, HN should sack up and put in a PR.
    • Complaints about the marketing site design.
      • "The text is too thin and it renders badly on Windows." Ditch XP already and turn on Cleartype!
      • "I didn't realize there was more content 'below the fold.'" I guess HN commenters don't ever use the internet.

    I'm not sure about the implementation, but the premise Myth is un-assailable.

    2 points
  • Andrew LiebchenAndrew Liebchen, almost 4 years ago

    Related: https://gist.github.com/chriseppstein/8016527

    1 point
    • Tierney CyrenTierney Cyren, almost 4 years ago

      Would really like to hear the developers views on this. I'm super excited about Myth, but I was jumping wholeheartedly into it without testing it (can't at the moment). At the same time, I'll also take this Gist with a grain of salt.

      0 points
  • Jamie McElwainJamie McElwain, almost 4 years ago

    I've been using this for the last hour or so, and I can't really see a reason to switch from SASS.

    1 point
    • Ian TaylorIan Taylor, almost 4 years ago

      Hey, creator here. Glad to hear you've been trying it out :)

      One of the motivating factors was that since browsers are going to be adding support for a lot of the features CSS preprocessors have traditionally had claim over, this is a way to help ease the transition. Basically instead of needing to convert things from the Sass or LESS syntax to the real syntax later you just write in the real deal from the start, and still get most of the feature benefits. (And as more things are speced, or barely speced, they'll get added to Myth too.)

      The other reason you might want to switch is if you want the benefits and don't want to have to use Sass or LESS. We've actually used all 3 of the "big" preprocessors (LESS, Stylus, Sass) at one point over the past two years while working on Segment.io and now we're back to just using plain CSS. We've found that the preprocessors generally lead to less maintainable code and not the other way around. So we wanted a way we could keep writing plain CSS, but still kickstart some of the new features benefits that are coming down the pipe.

      The other reason is that it's waaay faster to use than Sass, and we were getting sick of Ruby slowing down our build step since we're an all-Node company. Rework (what Myth uses internally) is awesomely fast.

      3 points
      • Luke ChesserLuke Chesser, almost 4 years ago

        I'd love to hear a little more about your guys thoughts on CSS organization/maintainability with preprocessing vs without. Blog post sometime?

        1 point
      • Tierney CyrenTierney Cyren, almost 4 years ago

        Could you tell me a bit about how you plan to support changes in the specs? I'm having a rough time trying to picture the compiling and source vs. changing specs and output (that doesn't really make sense, does it? Sorry.) What is a user to do with their old sources when you update Myth with the latest and greatest from the ever-changing CSS spec? Is this a non-issue, as it's something that all the other x-processors have to deal with too?

        Anyway, I'm absolutely in fucking love with this. I just found AbsurdJS the other day, and that was looking way better than SASS or LESS, but then I found this gem and just about shat my pants.

        0 points
  • Henrique Alves, almost 4 years ago

    Can't see yet the benefit over Sass or Less.

    0 points
    • Andrew LiebchenAndrew Liebchen, almost 4 years ago

      It's a polyfill, a temporary measure that implements future CSS technology in today's technology. It provides some functionality of Sass or Less, in addition to functionality provided by custom polyfill mixins or packaged libraries like Bourbon.

      Preprocessors provide a lot of power...but you can quickly get into big problems, especially around specificity. I see this as a kind of minimal way to get some big preprocessor bang, without the pitfalls.

      1 point
  • Ahmet SulekAhmet Sulek, almost 4 years ago

    @Jamie same thing for LESS, less with less-hat covers more than myth. For me the syntax is longer and more complex than less.

    0 points
  • Surjith S MSurjith S M, almost 4 years ago

    The font rendering is really bad in my Win 7 Chrome.

    0 points