Skip to content

Commit 79f8edd

Browse files
authored
Update 2018-08-30-sip-minutes.md
1 parent 62ae2a5 commit 79f8edd

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

_sips/minutes/2018-08-30-sip-minutes.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -160,26 +160,26 @@ In favor of the removal:
160160
- scala-xml is very complicated, and has serious usability problems
161161

162162
- Adding the extra xml"""...""" shouldn’t be a bother
163-
- For JSX-style support, maybe a jsx"" interpolator could have the same semantics as JSX, rather than that of scala-xml
163+
- For JSX-style support, maybe a jsx"" interpolator could have the same semantics as JSX, rather than that of scala-xml
164164
- Direct language support for XML only existed because string interpolators did not exist back then (supposedly). It seems to be an obviously better design to build on string interpolators.
165165
- Removes XML as a special case. With interpolators, one can embed arbitrary languages within Scala.
166-
- Similar argument: XML should have no higher place in the language than YAML, JSON, etc.
166+
- Similar argument: XML should have no higher place in the language than YAML, JSON, etc.
167167
- JSX-style use cases should use ScalaTags-style libraries anyway.
168168
- XML being part of the language is the reason that XML libraries have stalled, and that JSON ones have flourished
169-
- Counter-argument: lib stalling is due to the “symbol”-based translation. A name-based translation would not have this issue.
169+
- Counter-argument: lib stalling is due to the “symbol”-based translation. A name-based translation would not have this issue.
170170

171171
Against the removal
172172

173173
- Difficulty of syntax highlighting
174-
- Shouldn’t be a real issue as long as editors are on board
174+
- Shouldn’t be a real issue as long as editors are on board
175175
- The promised XML interpolator was never materialized
176176
- JSX is now in widespread use in languages for front-end development. It is ironic that Scala would drop support for a similar feature now. It is even built in some languages, e.g., TypeScript.
177-
- JSX is simpler than scala-xml, though: no namespace support, in particular.
177+
- JSX is simpler than scala-xml, though: no namespace support, in particular.
178178
- For front-end devs looking at Scala/Scala.js, string interpolators will look horrible compared to JSX, and it might be one of those “no-no” things that will push them away.
179179
- Being able to just copy-paste examples from the Net is nice. (8 Likes on this one)
180180
- No one uses XML anymore, right?
181-
- Some answer that they do. Especially in non-greenfield projects.
182-
- Kojo uses XML literals as building blocks for the Storytelling feature.
181+
- Some answer that they do. Especially in non-greenfield projects.
182+
- Kojo uses XML literals as building blocks for the Storytelling feature.
183183

184184
Counter-proposal
185185

@@ -188,7 +188,7 @@ Named-based XML desugaring: https://contributors.scala-lang.org/t/pre-sip-name-b
188188
- Less complexity in the language/compiler
189189
- Open for library competition
190190
- Compared to a string interpolator, flavors can be implemented using normal library code, without (whitebox) macros.
191-
- Whiteboxness is necessary for xml”””<button …></button>””” to return a more precise type such as `xml.tags.Button` rather than `xml.Node`
191+
- Whiteboxness is necessary for xml”””<button …></button>””” to return a more precise type such as `xml.tags.Button` rather than `xml.Node`
192192

193193
Other ideas
194194
- Can it be a compiler plugin or a macro?
@@ -197,11 +197,11 @@ Other ideas
197197
Related links
198198

199199
- Other XML libraries:
200-
- https://note.github.io/xml-lens/
201-
- One in scalaz-deriving: https://gitlab.com/fommil/scalaz-deriving/tree/master/examples/xmlformat/src/main/scala/xmlformat (link behind a login wall, it seems)
200+
- https://note.github.io/xml-lens/
201+
- One in scalaz-deriving: https://gitlab.com/fommil/scalaz-deriving/tree/master/examples/xmlformat/src/main/scala/xmlformat (link behind a login wall, it seems)
202202
- JSX-style libraries for Scala:
203-
- https://github.com/OlivierBlanvillain/monadic-html
204-
- Binding.scala, TODO app: https://scalafiddle.io/sf/dGkVqlV/9
203+
- https://github.com/OlivierBlanvillain/monadic-html
204+
- Binding.scala, TODO app: https://scalafiddle.io/sf/dGkVqlV/9
205205
- Ammonite script to convert HTML to the VDOM DSL of scalajs-react (a ScalaTags flavor):
206206
https://gist.github.com/nafg/112bf83e5676ed316f17cea505ea5d93
207207

0 commit comments

Comments
 (0)