#StringInterpolation

N-gated Hacker Newsngate
2025-03-22

💻🚫 Ah, the classic '403 Forbidden' jazz hands performance, where readers are left yearning for string interpolation wisdom from the ghost of past. 🎭🥁 Turns out, the only strings being pulled are the ones ensuring you can't access the page. Bravo! 👏
datagubbe.se/braket/

Hacker Newsh4ckernews
2025-03-22
Anthony Acciolyanthony@accioly.social
2024-10-28

"Small" things I highly appreciate about Kotlin coming from Java - Chapter 2

𝗦𝘁𝗿𝗶𝗻𝗴 𝗧𝗲𝗺𝗽𝗹𝗮𝘁𝗲𝘀

𝚒𝚖𝚙𝚘𝚛𝚝 𝚓𝚊𝚟𝚊.𝚝𝚒𝚖𝚎.𝙻𝚘𝚌𝚊𝚕𝙳𝚊𝚝𝚎

𝚏𝚞𝚗 𝚖𝚊𝚒𝚗() {
    𝚟𝚊𝚕 𝚗𝚊𝚖𝚎 = "𝙹𝚘𝚑𝚗 𝙳𝚘𝚎"
    𝚟𝚊𝚕 𝚝𝚘𝚍𝚊𝚢 = 𝙻𝚘𝚌𝚊𝚕𝙳𝚊𝚝𝚎.𝚗𝚘𝚠()
    𝚙𝚛𝚒𝚗𝚝𝚕𝚗("𝙷𝚎𝚕𝚕𝚘, $𝚗𝚊𝚖𝚎! 𝚃𝚘𝚍𝚊𝚢 𝚒𝚜 ${𝚝𝚘𝚍𝚊𝚢.𝚍𝚊𝚢𝙾𝚏𝚆𝚎𝚎𝚔}.")
}

kotlinlang.org/docs/strings.ht

No more overusing 𝚂𝚝𝚛𝚒𝚗𝚐.𝚏𝚘𝚛𝚖𝚊𝚝 parameters. No more clunky 𝙼𝚎𝚜𝚜𝚊𝚐𝚎𝙵𝚘𝚛𝚖𝚊𝚝.𝚏𝚘𝚛𝚖𝚊𝚝. It just works.

#Kotlin #Java #JVM #String #StringInterpolation #StringTemplates #SoftwareDevelopment

Benna 🏳️‍⚧️Benna@tech.lgbt
2023-03-13

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

2022-10-18

Dangerous hole in Apache Commons Text – like Log4Shell all over again - Third time unlucky. Time to put your patching boots on again... nakedsecurity.sophos.com/2022/ #stringinterpolation #apachecommonstext #cve-2022-42889 #vulnerability #log4shell #apache #log4j

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst