If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Mouse over in Ruby is buggy?
11 posts
• Page 2 of 2 • 1, 2
Re: Mouse over in Ruby is buggy?
tulamide wrote:we humans have a hard time reading code that isn't tidy and structured
I wouldn't argue against anything you said there - and I wish that DSPr had taken your advice when they originally designed the Ruby mouse handling (amongst other things)! This whole thread wouldn't have been necessary if "isInMousePoint" didn't interact with the other mouse methods in such a hidden way - and it shouldn't have taken a decade of collective effort to work out the logic behind it, which is neither well explained in the user guide nor made clear by stock toolbox examples.
As for FlowStone's built-in "safety nets" (e.g. having the default dragging cursor change) - I've always been a bit in two minds about them. Certainly, they help novices to make working modules, but they can also encourage lazy coding practices that come back to bite you when things get more complicated. It's as well that there is both an explanation of what DSPr seemed to intend, and your reminder that we can sometimes improve on that!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
11 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: Google [Bot] and 72 guests