5 Matching Annotations
- Oct 2020
-
humanwhocodes.com humanwhocodes.com
-
We rarely, if ever, start with a completely blank file and start writing code. More often that not we start by copying an existing file and then modifying it to get our result.
-
-
-
Furthermore, JSX encourages bad non-dry code. Having seen a lot of JSX over the past few months, its encourages copypasta coding.
-
- Sep 2020
-
github.com github.com
-
Svelte will not offer a generic way to support style customizing via contextual class overrides (as we'd do it in plain HTML). Instead we'll invent something new that is entirely different. If a child component is provided and does not anticipate some contextual usage scenario (style wise) you'd need to copy it or hack around that via :global hacks.
Tags
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- component/library author can't consider/know ahead of time all of the ways users may want to use it
- forced to fork/copy and paste library code because it didn't provide enough customizability/extensibility / didn't foresee some specific prop/behavior that needed to be overridable/configurable (explicit interface)
- Svelte: how to affect child component styles
- workarounds
- maintenance burden to explicitly define/enumerate/hard-code possible options (explicit interface)
- forking to add a desired missing feature/change
- ugly/kludgey
- trying to prevent one bad thing leading to people doing/choosing an even worse option
Annotators
URL
-
- Jun 2020
-
gitlab.com gitlab.com
-
Make it easier to paste tab delimited data into a markdown table format.
-
-
docs.gitlab.com docs.gitlab.com
-
If you’re working in spreadsheet software (for example, Microsoft Excel, Google Sheets, or Apple Numbers), you can copy from a spreadsheet, and GitLab will paste it as a Markdown table. For example, suppose you have the following spreadsheet:
-