Git Product home page Git Product logo

Comments (5)

mitchellh avatar mitchellh commented on June 2, 2024

What do you mean for backwards compatibility? Did we introduce a backwards incompatible change somewhere since HCL was made? Can you show an example?

from hcl.

nikolay avatar nikolay commented on June 2, 2024

I mean, if people have old style configs with comma-delimited lists, making commas optional will still work for the old.

What I'm proposing is this:

  • Old style: [10, 20, 30], ["a", "b", "c"]
  • New style: [10 20 30], ["a" "b" "c"]

from hcl.

mitchellh avatar mitchellh commented on June 2, 2024

We've never had non-comma delimited lists, so I'm still confused what you're talking about, sorry. Even if we did, that was never intended. I'm not going to support that.

from hcl.

nikolay avatar nikolay commented on June 2, 2024

Sorry if I was too confusing. I never meant that you did support that. I proposed that you make commas in lists optional. Those who find configurations more readable with commas can still use them. And the others won't be forced to use them.

from hcl.

mitchellh avatar mitchellh commented on June 2, 2024

Ah, I don't see any real use case for that other than style and a style I don't really agree with. Why make it more confusing? One syntax to do one thing is better than ambiguity.

from hcl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.