#stringinterpolation — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #stringinterpolation, aggregated by home.social.
-
If I do say so myself, I do love expressive I can be with Kitten.
This is me injecting raw HTML markup into a Markdown code block in a Kitten Markdown page to highlight specific lines in a code block¹.
(The string interpolation of the HTML as an array is a hack that bypasses Kitten’s default sanitisation and should only be used with trusted content.)
PS. I’m going through all the tutorials on the site to update them to reflect the current state of Kitten after the three-month breaking-change update I’ve been working on.
¹ https://kitten.small-web.org/reference/#markdown-support
#Kitten #SmallWeb #SmallTech #web #dev #Markdown #HTML #JavaScript #JS #stringInterpolation
-
If I do say so myself, I do love expressive I can be with Kitten.
This is me injecting raw HTML markup into a Markdown code block in a Kitten Markdown page to highlight specific lines in a code block¹.
(The string interpolation of the HTML as an array is a hack that bypasses Kitten’s default sanitisation and should only be used with trusted content.)
PS. I’m going through all the tutorials on the site to update them to reflect the current state of Kitten after the three-month breaking-change update I’ve been working on.
¹ https://kitten.small-web.org/reference/#markdown-support
#Kitten #SmallWeb #SmallTech #web #dev #Markdown #HTML #JavaScript #JS #stringInterpolation
-
If I do say so myself, I do love expressive I can be with Kitten.
This is me injecting raw HTML markup into a Markdown code block in a Kitten Markdown page to highlight specific lines in a code block¹.
(The string interpolation of the HTML as an array is a hack that bypasses Kitten’s default sanitisation and should only be used with trusted content.)
PS. I’m going through all the tutorials on the site to update them to reflect the current state of Kitten after the three-month breaking-change update I’ve been working on.
¹ https://kitten.small-web.org/reference/#markdown-support
#Kitten #SmallWeb #SmallTech #web #dev #Markdown #HTML #JavaScript #JS #stringInterpolation
-
If I do say so myself, I do love expressive I can be with Kitten.
This is me injecting raw HTML markup into a Markdown code block in a Kitten Markdown page to highlight specific lines in a code block¹.
(The string interpolation of the HTML as an array is a hack that bypasses Kitten’s default sanitisation and should only be used with trusted content.)
PS. I’m going through all the tutorials on the site to update them to reflect the current state of Kitten after the three-month breaking-change update I’ve been working on.
¹ https://kitten.small-web.org/reference/#markdown-support
#Kitten #SmallWeb #SmallTech #web #dev #Markdown #HTML #JavaScript #JS #stringInterpolation
-
If I do say so myself, I do love expressive I can be with Kitten.
This is me injecting raw HTML markup into a Markdown code block in a Kitten Markdown page to highlight specific lines in a code block¹.
(The string interpolation of the HTML as an array is a hack that bypasses Kitten’s default sanitisation and should only be used with trusted content.)
PS. I’m going through all the tutorials on the site to update them to reflect the current state of Kitten after the three-month breaking-change update I’ve been working on.
¹ https://kitten.small-web.org/reference/#markdown-support
#Kitten #SmallWeb #SmallTech #web #dev #Markdown #HTML #JavaScript #JS #stringInterpolation
-
Template Literals vs Heredoc: String Battle ROYALE!
JavaScript's template literals vs PHP's heredoc - which formatting is prettier? WTF!
#javascript #php #jsvsphp #templateliterals #heredoc #stringinterpolation #multilinestrings #viralcoding #es6 #syntaxcomparison #stringformatting #mindblown
-
Tagged Template Does MATH in Strings?!
Tagged templates can EXECUTE CODE! The tag function receives values and can transform them. This one DOUBLES every number. String interpolation becomes code execution!
#javascript #javascripttricks #taggedtemplates #templateliterals #stringinterpolation #javascriptweird #javascriptquiz #codingchallenge #javascriptshorts #javascriptwtf #templateprocessing #advancedjavascript
-
Tagged Template Does MATH in Strings?!
Tagged templates can EXECUTE CODE! The tag function receives values and can transform them. This one DOUBLES every number. String interpolation becomes code execution!
#javascript #javascripttricks #taggedtemplates #templateliterals #stringinterpolation #javascriptweird #javascriptquiz #codingchallenge #javascriptshorts #javascriptwtf #templateprocessing #advancedjavascript
-
Tagged Template Does MATH in Strings?!
Tagged templates can EXECUTE CODE! The tag function receives values and can transform them. This one DOUBLES every number. String interpolation becomes code execution!
#javascript #javascripttricks #taggedtemplates #templateliterals #stringinterpolation #javascriptweird #javascriptquiz #codingchallenge #javascriptshorts #javascriptwtf #templateprocessing #advancedjavascript
-
Tagged Template Does MATH in Strings?!
Tagged templates can EXECUTE CODE! The tag function receives values and can transform them. This one DOUBLES every number. String interpolation becomes code execution!
#javascript #javascripttricks #taggedtemplates #templateliterals #stringinterpolation #javascriptweird #javascriptquiz #codingchallenge #javascriptshorts #javascriptwtf #templateprocessing #advancedjavascript
-
Tagged Template Does MATH in Strings?!
Tagged templates can EXECUTE CODE! The tag function receives values and can transform them. This one DOUBLES every number. String interpolation becomes code execution!
#javascript #javascripttricks #taggedtemplates #templateliterals #stringinterpolation #javascriptweird #javascriptquiz #codingchallenge #javascriptshorts #javascriptwtf #templateprocessing #advancedjavascript
-
Template Literals vs F-Strings: String Interpolation Showdown
JavaScript template literals vs Python f-strings. Which language's string formatting is more powerful? You won't believe this!
#javascript #python #javascriptvspython #templateliterals #fstrings #stringinterpolation #programmingcomparison #codecomparison #javascripttricks #pythontricks #syntaxcomparison #viralcoding
-
Template Literals vs F-Strings: String Interpolation Showdown
JavaScript template literals vs Python f-strings. Which language's string formatting is more powerful? You won't believe this!
#javascript #python #javascriptvspython #templateliterals #fstrings #stringinterpolation #programmingcomparison #codecomparison #javascripttricks #pythontricks #syntaxcomparison #viralcoding
-
Template Literals vs F-Strings: String Interpolation Showdown
JavaScript template literals vs Python f-strings. Which language's string formatting is more powerful? You won't believe this!
#javascript #python #javascriptvspython #templateliterals #fstrings #stringinterpolation #programmingcomparison #codecomparison #javascripttricks #pythontricks #syntaxcomparison #viralcoding
-
Template Literals vs F-Strings: String Interpolation Showdown
JavaScript template literals vs Python f-strings. Which language's string formatting is more powerful? You won't believe this!
#javascript #python #javascriptvspython #templateliterals #fstrings #stringinterpolation #programmingcomparison #codecomparison #javascripttricks #pythontricks #syntaxcomparison #viralcoding
-
Template Literals vs F-Strings: String Interpolation Showdown
JavaScript template literals vs Python f-strings. Which language's string formatting is more powerful? You won't believe this!
#javascript #python #javascriptvspython #templateliterals #fstrings #stringinterpolation #programmingcomparison #codecomparison #javascripttricks #pythontricks #syntaxcomparison #viralcoding
-
Ever wish Swift had a cleaner way to handle optional values in string interpolation?
Swift 6.2 introduces a game-changing default value parameter that works with any optional type. No more verbose nil-coalescing or custom string conversions – just elegant, type-safe defaults right in your interpolation.
🔗: https://useyourloaf.com/blog/swift-default-value-in-string-interpolations/ by @kharrison
-
Ever wish Swift had a cleaner way to handle optional values in string interpolation?
Swift 6.2 introduces a game-changing default value parameter that works with any optional type. No more verbose nil-coalescing or custom string conversions – just elegant, type-safe defaults right in your interpolation.
🔗: https://useyourloaf.com/blog/swift-default-value-in-string-interpolations/ by @kharrison
-
💻🚫 Ah, the classic '403 Forbidden' jazz hands performance, where readers are left yearning for string interpolation wisdom from the ghost of #AmigaDOS past. 🎭🥁 Turns out, the only strings being pulled are the ones ensuring you can't access the page. Bravo! 👏
https://www.datagubbe.se/braket/ #403Forbidden #stringInterpolation #techHumor #webAccess #HackerNews #ngated -
💻🚫 Ah, the classic '403 Forbidden' jazz hands performance, where readers are left yearning for string interpolation wisdom from the ghost of #AmigaDOS past. 🎭🥁 Turns out, the only strings being pulled are the ones ensuring you can't access the page. Bravo! 👏
https://www.datagubbe.se/braket/ #403Forbidden #stringInterpolation #techHumor #webAccess #HackerNews #ngated -
💻🚫 Ah, the classic '403 Forbidden' jazz hands performance, where readers are left yearning for string interpolation wisdom from the ghost of #AmigaDOS past. 🎭🥁 Turns out, the only strings being pulled are the ones ensuring you can't access the page. Bravo! 👏
https://www.datagubbe.se/braket/ #403Forbidden #stringInterpolation #techHumor #webAccess #HackerNews #ngated -
💻🚫 Ah, the classic '403 Forbidden' jazz hands performance, where readers are left yearning for string interpolation wisdom from the ghost of #AmigaDOS past. 🎭🥁 Turns out, the only strings being pulled are the ones ensuring you can't access the page. Bravo! 👏
https://www.datagubbe.se/braket/ #403Forbidden #stringInterpolation #techHumor #webAccess #HackerNews #ngated -
Bra and KET: String Interpolation in AmigaDOS
https://www.datagubbe.se/braket/
#HackerNews #Bra #KET #StringInterpolation #AmigaDOS #HackerNews
-
Bra and KET: String Interpolation in AmigaDOS
https://www.datagubbe.se/braket/
#HackerNews #Bra #KET #StringInterpolation #AmigaDOS #HackerNews
-
Bra and KET: String Interpolation in AmigaDOS
https://www.datagubbe.se/braket/
#HackerNews #Bra #KET #StringInterpolation #AmigaDOS #HackerNews
-
Bra and KET: String Interpolation in AmigaDOS
https://www.datagubbe.se/braket/
#HackerNews #Bra #KET #StringInterpolation #AmigaDOS #HackerNews
-
"Small" things I highly appreciate about Kotlin coming from Java - Chapter 2
𝗦𝘁𝗿𝗶𝗻𝗴 𝗧𝗲𝗺𝗽𝗹𝗮𝘁𝗲𝘀
𝚒𝚖𝚙𝚘𝚛𝚝 𝚓𝚊𝚟𝚊.𝚝𝚒𝚖𝚎.𝙻𝚘𝚌𝚊𝚕𝙳𝚊𝚝𝚎
𝚏𝚞𝚗 𝚖𝚊𝚒𝚗() {
𝚟𝚊𝚕 𝚗𝚊𝚖𝚎 = "𝙹𝚘𝚑𝚗 𝙳𝚘𝚎"
𝚟𝚊𝚕 𝚝𝚘𝚍𝚊𝚢 = 𝙻𝚘𝚌𝚊𝚕𝙳𝚊𝚝𝚎.𝚗𝚘𝚠()
𝚙𝚛𝚒𝚗𝚝𝚕𝚗("𝙷𝚎𝚕𝚕𝚘, $𝚗𝚊𝚖𝚎! 𝚃𝚘𝚍𝚊𝚢 𝚒𝚜 ${𝚝𝚘𝚍𝚊𝚢.𝚍𝚊𝚢𝙾𝚏𝚆𝚎𝚎𝚔}.")
}https://kotlinlang.org/docs/strings.html#string-templates
No more overusing 𝚂𝚝𝚛𝚒𝚗𝚐.𝚏𝚘𝚛𝚖𝚊𝚝 parameters. No more clunky 𝙼𝚎𝚜𝚜𝚊𝚐𝚎𝙵𝚘𝚛𝚖𝚊𝚝.𝚏𝚘𝚛𝚖𝚊𝚝. It just works.
#Kotlin #Java #JVM #String #StringInterpolation #StringTemplates #SoftwareDevelopment
-
"Small" things I highly appreciate about Kotlin coming from Java - Chapter 2
𝗦𝘁𝗿𝗶𝗻𝗴 𝗧𝗲𝗺𝗽𝗹𝗮𝘁𝗲𝘀
𝚒𝚖𝚙𝚘𝚛𝚝 𝚓𝚊𝚟𝚊.𝚝𝚒𝚖𝚎.𝙻𝚘𝚌𝚊𝚕𝙳𝚊𝚝𝚎
𝚏𝚞𝚗 𝚖𝚊𝚒𝚗() {
𝚟𝚊𝚕 𝚗𝚊𝚖𝚎 = "𝙹𝚘𝚑𝚗 𝙳𝚘𝚎"
𝚟𝚊𝚕 𝚝𝚘𝚍𝚊𝚢 = 𝙻𝚘𝚌𝚊𝚕𝙳𝚊𝚝𝚎.𝚗𝚘𝚠()
𝚙𝚛𝚒𝚗𝚝𝚕𝚗("𝙷𝚎𝚕𝚕𝚘, $𝚗𝚊𝚖𝚎! 𝚃𝚘𝚍𝚊𝚢 𝚒𝚜 ${𝚝𝚘𝚍𝚊𝚢.𝚍𝚊𝚢𝙾𝚏𝚆𝚎𝚎𝚔}.")
}https://kotlinlang.org/docs/strings.html#string-templates
No more overusing 𝚂𝚝𝚛𝚒𝚗𝚐.𝚏𝚘𝚛𝚖𝚊𝚝 parameters. No more clunky 𝙼𝚎𝚜𝚜𝚊𝚐𝚎𝙵𝚘𝚛𝚖𝚊𝚝.𝚏𝚘𝚛𝚖𝚊𝚝. It just works.
#Kotlin #Java #JVM #String #StringInterpolation #StringTemplates #SoftwareDevelopment
-
"Small" things I highly appreciate about Kotlin coming from Java - Chapter 2
𝗦𝘁𝗿𝗶𝗻𝗴 𝗧𝗲𝗺𝗽𝗹𝗮𝘁𝗲𝘀
𝚒𝚖𝚙𝚘𝚛𝚝 𝚓𝚊𝚟𝚊.𝚝𝚒𝚖𝚎.𝙻𝚘𝚌𝚊𝚕𝙳𝚊𝚝𝚎
𝚏𝚞𝚗 𝚖𝚊𝚒𝚗() {
𝚟𝚊𝚕 𝚗𝚊𝚖𝚎 = "𝙹𝚘𝚑𝚗 𝙳𝚘𝚎"
𝚟𝚊𝚕 𝚝𝚘𝚍𝚊𝚢 = 𝙻𝚘𝚌𝚊𝚕𝙳𝚊𝚝𝚎.𝚗𝚘𝚠()
𝚙𝚛𝚒𝚗𝚝𝚕𝚗("𝙷𝚎𝚕𝚕𝚘, $𝚗𝚊𝚖𝚎! 𝚃𝚘𝚍𝚊𝚢 𝚒𝚜 ${𝚝𝚘𝚍𝚊𝚢.𝚍𝚊𝚢𝙾𝚏𝚆𝚎𝚎𝚔}.")
}https://kotlinlang.org/docs/strings.html#string-templates
No more overusing 𝚂𝚝𝚛𝚒𝚗𝚐.𝚏𝚘𝚛𝚖𝚊𝚝 parameters. No more clunky 𝙼𝚎𝚜𝚜𝚊𝚐𝚎𝙵𝚘𝚛𝚖𝚊𝚝.𝚏𝚘𝚛𝚖𝚊𝚝. It just works.
#Kotlin #Java #JVM #String #StringInterpolation #StringTemplates #SoftwareDevelopment
-
"Small" things I highly appreciate about Kotlin coming from Java - Chapter 2
𝗦𝘁𝗿𝗶𝗻𝗴 𝗧𝗲𝗺𝗽𝗹𝗮𝘁𝗲𝘀
𝚒𝚖𝚙𝚘𝚛𝚝 𝚓𝚊𝚟𝚊.𝚝𝚒𝚖𝚎.𝙻𝚘𝚌𝚊𝚕𝙳𝚊𝚝𝚎
𝚏𝚞𝚗 𝚖𝚊𝚒𝚗() {
𝚟𝚊𝚕 𝚗𝚊𝚖𝚎 = "𝙹𝚘𝚑𝚗 𝙳𝚘𝚎"
𝚟𝚊𝚕 𝚝𝚘𝚍𝚊𝚢 = 𝙻𝚘𝚌𝚊𝚕𝙳𝚊𝚝𝚎.𝚗𝚘𝚠()
𝚙𝚛𝚒𝚗𝚝𝚕𝚗("𝙷𝚎𝚕𝚕𝚘, $𝚗𝚊𝚖𝚎! 𝚃𝚘𝚍𝚊𝚢 𝚒𝚜 ${𝚝𝚘𝚍𝚊𝚢.𝚍𝚊𝚢𝙾𝚏𝚆𝚎𝚎𝚔}.")
}https://kotlinlang.org/docs/strings.html#string-templates
No more overusing 𝚂𝚝𝚛𝚒𝚗𝚐.𝚏𝚘𝚛𝚖𝚊𝚝 parameters. No more clunky 𝙼𝚎𝚜𝚜𝚊𝚐𝚎𝙵𝚘𝚛𝚖𝚊𝚝.𝚏𝚘𝚛𝚖𝚊𝚝. It just works.
#Kotlin #Java #JVM #String #StringInterpolation #StringTemplates #SoftwareDevelopment
-
Responding to the demand for better string interpolation with a convoluted custom way that looks different from how every other language does it the most java thing ever. #java #stringinterpolation #pleasecanwemovebeyondthislanguage
-
Responding to the demand for better string interpolation with a convoluted custom way that looks different from how every other language does it the most java thing ever. #java #stringinterpolation #pleasecanwemovebeyondthislanguage
-
Responding to the demand for better string interpolation with a convoluted custom way that looks different from how every other language does it the most java thing ever. #java #stringinterpolation #pleasecanwemovebeyondthislanguage
-
Responding to the demand for better string interpolation with a convoluted custom way that looks different from how every other language does it the most java thing ever. #java #stringinterpolation #pleasecanwemovebeyondthislanguage
-
Responding to the demand for better string interpolation with a convoluted custom way that looks different from how every other language does it the most java thing ever. #java #stringinterpolation #pleasecanwemovebeyondthislanguage