Giter Site home page Giter Site logo

Comments (4)

ccoupe avatar ccoupe commented on September 2, 2024

The manual does discuss some of the odd behavior for how, when and why Shoes sets self. Hello->Rules. Changing those rules would require a lot of work, breaks compatibility with Shoes 2, 3, and (probably) 4. It might be easier to resurrect the WxRuby & WxSugar projects.

from shoes3.

IanTrudel avatar IanTrudel commented on September 2, 2024

Thank you for the reference. Your assessment is correct.

The manual section Hello->Rules doesn't make much sense to me. The approach taken by Shoes is flat in the hope to keep certain objects alive and breaks what would otherwise be normal Ruby behaviour. This unfortunately makes it necessary to create variables to access objects in their own block. It seems to be both a design feature and a design flaw.

Requires further investigation.

from shoes3.

ccoupe avatar ccoupe commented on September 2, 2024

Shoes only looks like Ruby! Repeat. Shoes only looks like Ruby! I imagine many of the newer Ruby meta-programming facilities will fail spectacularly in Shoes. Shoes is not Ruby. Shoes is not Ruby. Shoe is not ...

That part of the manual should warn experienced Rubyists more forcefully that Shoes is different. But even experienced people don't read the manual until something fails.

from shoes3.

IanTrudel avatar IanTrudel commented on September 2, 2024

That part of the manual should warn experienced Rubyists more forcefully that Shoes is different. But even experienced people don't read the manual until something fails.

I read it before but the implications were unclear at that time. Reading it again now that you provided a context proved challenging. I had to read it few times to fully understand what was going on. Sometimes the manual is prettier than useful. It would be really good with additional clarifications and better outline of what can do what, e.g. Shoes.app has access only to a subset of styles.

from shoes3.

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.