News for hackers. Stuff that matters.
Re:CSS Findings from the Threads App by _a_a_a_ on Sunday July 16, 2023 @08:20AM (#36746155)
Try XSLT. The only programming language that ever defeated me and I've used quite a few including Haskell.
Re:CSS Findings from the Threads App by gmac on Sunday July 16, 2023 @08:54AM (#36746463)
I found XSLT kind of mind-bending, but also extremely satisfying and quite productive. Like SQL, it’s declarative, so you have to get into the mindset of telling the computer what you want, not what to do.
Re:CSS Findings from the Threads App by aidos on Sunday July 16, 2023 @09:17AM (#36746666)
Oh Lord. You’ve just triggered a horrific memory of how in my first job we used XSLT to convert xml files of job applications into sql that was then executed to import them into the db. That truly was mind bending.
Re:CSS Findings from the Threads App by _a_a_a_ on Sunday July 16, 2023 @09:12AM (#36746622)
You may be a smarter person than me, but I couldn't handle it and quite possibly that was partly related to its truly appalling XML-based syntax. I'd like to point out that no other language I'm aware of is so syntacticallyvile that they have to add a new mechanism just to pass parameters around – parameter tunnelling.

https://www.w3.org/TR/xslt20/#tunnel-params

Re:CSS Findings from the Threads App by throw_m239339 on Sunday July 16, 2023 @11:32AM (#36748143)
XSLT is a functional language. I say writing DTD and stuff like that is harder than XSLT. XSLT is actually pretty fun to write.
Re:CSS Findings from the Threads App by mkoubaa on Sunday July 16, 2023 @12:58PM (#36749132)
If I have a reason to I will. Im generally not motivated to learn things to pad my ego, I need a more tangible reason.