Cursed Programming

;;;;;;; makes me hurt internally.

console.log("0" > null);
console.log("0" == null);
console.log("0" >= null);

=>

false
false
true
3 Likes

javascript users trying to explain how “1” + 1 = “11”:

3 Likes

When you remake a function that’s built in lol

Here’s something to annoy everyone:

#include <stdio.h>
int main()                    {
   int something              ;
   int something_else         ;
   if (something)             {
      // ...
                              }
   else if (something_else)   {
      // ...
                              }
   else                       {
      // ...
                              }
   return 0;
                              }
2 Likes
// get x squared if x is 4
console.log(4^2)

already did that, so at first when I looked at that, i didn’t see anything wrong with it. lol.

<script>
console.log("hi")
</script>

im trying to figure out why it’s cursed

1 Like

which one are you thinking about :thinking:

no semicolon? Idk I’m lost

1 Like

this one, why is it cursed.

this may sound stupid but

Summary

it’s not cursed ; that’s why it’s cursed.

my thought process dissapeared

I don’t get it. Why would something that’s not cursed be cursed?

1 Like

A post was split to a new topic: How to add summary details?

oh ok thankyou!. I feel like everything here is just a huge nested “help” element inside of other help elements, just a huge load of help :heart:

1 Like

i think my brain died for a bit – i can’t grasp on it either. sorry.

anyways, to try to make up for it, here’s cursed web developer code

<head><body>
<a>click me <p>t</p>o go to x.com</a><script>
var vаr = document.querySelector("a");;;vаr.addEventListener("click", () => {
              let lеt = window.open("https://x.com/");
lеt.focus()
                       window.close()
}
)
(["important value"])
</script>
</html>

if you find an error in the code lmk :upside_down_face:

1 Like

I’m going to start trying to assemble the poll now!

2 Likes

POV: When your on Replit Ask trying to help someone.

You: I’m pretty sure the problem is… hmmm… let me see…. I know, wait :confused:?

Everyone Else:

1 Like

you know the code runs fine, right??
RIGHT???

3 Likes

I put yours in the poll, i tried fitting as many as possible.

1 Like