Online Sequencer Make music online
  • Sequences
  • Members
  • Chat
  • Forum
  • Wiki

Existing user? Sign In Create account
Login at Online Sequencer Forums

Online Sequencer Forums › Online Sequencer › Suggestions
« Previous 1 … 30 31 32 33 34 … 48 Next »

Why did you name the variables as just letters?

Thread tools
Why did you name the variables as just letters?
Liam Offline
Code Monkey
246 Posts:
 
#2
11-24-2020, 11:04 PM
(11-24-2020, 10:24 PM)Lopyt Wrote: I  was looking through https://onlinesequencer.net/resources/c/...c6c8c94.js

Is there a way to use it as an executable file?
That's obfuscated/minified code. All the variables were automatically renamed to single letters, and all the spaces and comments were removed, to make the code smaller. I wouldn't recommend trying to read it like this Upside_down
The code we actually work on is broken up over a bunch of files that are easier to read, like this: https://onlinesequencer.net/app/sequencer.js

You can't really execute these files without the web page along side it. Eg, it'll try to look for buttons to attach callbacks to, and error when it can't find them.


Reply

Messages In This Thread
Why did you name the variables as just letters? - by Lopyt - 11-24-2020, 10:24 PM
RE: Why did you name the variables as just letters? - by Liam - 11-24-2020, 11:04 PM
RE: Why did you name the variables as just letters? - by Lopyt - 11-25-2020, 08:22 AM



Users browsing this thread:   1 Guest(s)


  •  Return to Top
  •  Contact Us
  •   Home
  •  Lite mode
© Rush Crafted with ❤ by iAndrew
Powered By MyBB, © 2002-2025 MyBB Group.
Linear Mode
Threaded Mode
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend