<span style="color:#323232;">async function reverse(str){
</span><span style="color:#323232;"> return ChatGPT.ask(`Please reverse the string ${str}. Reply only with the answer, without other words or symbols.`);
</span><span style="color:#323232;">}
</span>
Imagine, if you will. A world where string reverse changes the character codes of the string.
What beauty, what wonder would such a world have?
Destruction and despair. Developers unsure why their programs don’t respond correctly. Ships run aground on islands already overcrowded with those who were shipwrecked before. Signal antennas pointed towards the sun with it’s constant noise. Spacecraft whose exhaust melt to slag populated cities as people briefly scream their final terrors of pain and suffering.
This, is a world we should not want to live in. A world you can only find, in the Twilight Zone.
Nah, this could’ve been possible with some clever fuckery in defining those emojis’ unicode content, like with flags that are not a single point but three independent ones, allowing you to do this:
Well its public so who knows in what other package is using it. And it’s static, so who know what kind if monster is calling it from some inapropriate place. I have seen static methods being called from translation/localization files, because “it works”.
IntelliJ finds most uses in my experience unless you’re doing something weird with reflection or similar. And if it’s a public facing API only used by the library’s consumers…– it should be used in tests at the very least! Especially if it’s prone to regressions like the comment suggests
programmer_humor
Oldest
This magazine is from a federated server and may be incomplete. Browse more on the original instance.