25 Matching Annotations
  1. Dec 2020
    1. Svelte components are a thin layer over the DOM and naturally expose the web platform. Coding in Svelte feels like I’m moving with the grain of the web.
  2. Nov 2020
    1. Do we need such a big abstraction for this? Many would just use fetch directly. Why not just use fetch directly? In Svelte, for example, you would probably never see something like this ... right?

  3. Oct 2020
    1. Declarative programming is an enabler of abstraction. Imperative programming is an inhibitor of abstraction. Declarative programming allows you to say “I want this and I don’t care how I get it” while imperative programming requires you to define each and every step.

      Declarative programming, i.e. "build me a house, I don't care how", is an enabler of abstraction.

      Imperative programming, i.e. "build walls, windows, a roof.", is an inhibitor of abstraction.

    1. virtual-dom exposes a set of objects designed for representing DOM nodes. A "Document Object Model Model" might seem like a strange term, but it is exactly that. It's a native JavaScript tree structure that represents a native DOM node tree.
    1. Alfred Korzybski remarked that "the map is not the territory" and that "the word is not the thing", encapsulating his view that an abstraction derived from something, or a reaction to it, is not the thing itself.
    2. The map–territory relation describes the relationship between an object and a representation of that object, as in the relation between a geographical territory and a map of it.
  4. Sep 2020
    1. Now of course we know how React handles this conflict: it takes the new nodes in your virtual DOM tree — the waters in your flowing river — and maps them onto existing nodes in the DOM. In other words React is a functional abstraction over a decidedly non-functional substrate.

      To me this is a warning sign, because in my experience, the bigger the gap between an abstraction and the thing it abstracts, the more likely you are to suffer what programmers like to call ‘impedance mismatches’, and I think we do experience that in React.

  5. Nov 2019
  6. Oct 2019
  7. Aug 2019
    1. As Sebastian Markbage pointed out, no abstraction is superior to wrong abstractions. We are providing low-level components to maximize composition capabilities.
  8. Jul 2019
  9. Jan 2019
  10. Jan 2017
    1. It is far better to grasp the universe as it really is than to persist in delusion, however satisfying and reassuring.

      I would amend this to say that we never grasp the universe as it really is, but that some of our delusions are startlingly accurate (by design).

  11. Jun 2016
    1. Civilization advances by extending the number of important operations we can perform without thinking about them.

      This sounds really similar to the concept of "abstraction".

    Tags

    Annotators

  12. Feb 2015
    1. Week 3 (Jan 27) - Tasks - Ch 3 Discuss the strengths and limitations of vis tools that are for a specific purpose and those that are general. Distinguish among the three levels of actions in the task abstraction framework. Given a visualization, identify the actions the vis allows and the targets of those actions. Transform domain-specific tasks into the task abstraction framework.

      Important chapter for why a vis tool is being used.

  13. Feb 2014
    1. The hard part is teaching the consequences of each choice.

      Once you get the syntax and basic language idioms out of the way this is the real problem that faces us no matter what language we pick.

  14. Nov 2013