Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Conversation

Notices

  1. queensub spades (cobaltvelvet@octodon.social)'s status on Monday, 22-Jun-2020 13:53:04 UTC queensub spades queensub spades

    one of my issues with jquery is the way it Doesn't Crash

    like when my code has a mistake, i actually want it to fail, by default, and tell me why it failed so i can fix it.
    jquery's style is more to silently smooth it out.
    and it might make sense in some cases, but for development it's a waste of time.

    if do this you get a type error
    > document.getElementById('inexistent').style.color = '#666'

    if you do this you get nothing
    > $('#inexistent').css('color', '#666')

    it might sound nice to unify the idea of "one object" and "many object" but it might actually be a terrible idea

    i think jquery is onto a nice idea with their accidental attempt to make javascript declarative, but also that they ended up making something worse than vanilla javascript somehow

    In conversation Monday, 22-Jun-2020 13:53:04 UTC from octodon.social permalink
    • Adonay Felipe Nogueira repeated this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.