Coder Social home page Coder Social logo

Comments (4)

fubark avatar fubark commented on June 17, 2024

#11

from cyber.

dumblob avatar dumblob commented on June 17, 2024

This is a misunderstanding. Forget the part "remove let keyword" which is just an unimportant side effect.

The main point is to disallow shadowing - i.e. a purely artificial constraint during the compilation step without any technical impact on anything later.

So this issue (#26) is not about what is being discussed in #11 .

from cyber.

fubark avatar fubark commented on June 17, 2024

It's too much of a restriction IMO, not something that is suitable for a scripting language.

from cyber.

dumblob avatar dumblob commented on June 17, 2024

That is exactly the perception which I am challenging 😉. V is being used as a scripting language (thanks to its millisecond-level compilation times on modern HW) and proves that this restriction is very valuable and actually not restricting as a person coming from shadowing languages would initially guess.

A good metric would be to see e.g. how many times this has been mentioned in the issue tracker of V and the "Discussions" tab of V (especially What don't you like about V / what would you like to be changed?). It seems maybe twice or four times altogether in about 4 years. Compare that to thousands of other "small issues" a young language has to overcome and suddenly the bigger picture turns upside down.

WDYT?

from cyber.

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.