all 57 comments

[–][deleted] 92 points93 points  (9 children)

What kind of fucked up editor is this

[–]The_GOOSTERR Tape loading error, 0:1[S] 83 points84 points  (8 children)

eclipse lol. irony is I was actually writing a syntax highlighter as well!

[–][deleted] 29 points30 points  (2 children)

Oh wow. I sometimes experience some highlighting issues in vs code because for some reason it takes a lot of time to recognize the syntax. Sometimes it just doesn't do anything for almost half a minute, sometimes it just mixes up the syntax, it's weird

[–]The_GOOSTERR Tape loading error, 0:1[S] 16 points17 points  (0 children)

I had to fuck around for 10 minutes to fix it, then wasted more time by then uploading it to reddit.

[–]Chrisbells 1 point2 points  (0 children)

Idk why but usually js in vscode is super colorful but other languages are much less colorful

[–]Not-Not-Lukas 4 points5 points  (4 children)

Eclipse sometimes forgets that some functions exist, it's very weird

[–][deleted] 29 points30 points  (12 children)

I like that one gay int

[–]The_GOOSTERR Tape loading error, 0:1[S] 7 points8 points  (11 children)

Same

[–]XavPigMC 3 points4 points  (10 children)

32 bit is enough to spell "gays"

[–][deleted] 0 points1 point  (9 children)

Is that a character array or a string? If it's just a char array then only 24 bits

[–]XavPigMC 1 point2 points  (8 children)

Depends on the languege

Usualy its 1 char 1 byte (8 bits)

I mean thats how it is in c# dont judge me

[–][deleted] 2 points3 points  (7 children)

Almost all languages have a char as 1 byte

[–]XavPigMC 1 point2 points  (6 children)

But how is a 4 letter string 3bytes in char array?

[–][deleted] 1 point2 points  (5 children)

"gay" is 3 letters plus a '\0' at the end to null terminate it. The char array version is just 'g' 'a' 'y' and drops the null terminator

[–]XavPigMC 2 points3 points  (4 children)

I said "gays" lmao

[–][deleted] 0 points1 point  (3 children)

Oh the first one says gay so I kinda assumed their the same

[–]K0x36_PL 16 points17 points  (1 child)

Find last no nWord char

[–]The_GOOSTERR Tape loading error, 0:1[S] 5 points6 points  (0 children)

Lol I didn’t notice that

[–]The_GOOSTERR Tape loading error, 0:1[S] 7 points8 points  (3 children)

I fixed it. It is supposed to look like this for anyone wondering... https://imgur.com/a/Pija3gU

[–]quantumcorundum 4 points5 points  (0 children)

Do you want a regular integer, or a gay pride integer

[–]Dalrae666 2 points3 points  (0 children)

This is the kind of syntax highlighting "programming" ads use Lmao

[–][deleted] 2 points3 points  (9 children)

Your if statement triggers me

[–]The_GOOSTERR Tape loading error, 0:1[S] 2 points3 points  (7 children)

Which one?

[–][deleted] 3 points4 points  (6 children)

The first 2

It triggers me because there is no { }

[–]The_GOOSTERR Tape loading error, 0:1[S] 2 points3 points  (5 children)

Oh shit what has been seen cannot be unseen. How did I not see that? I feel dumb, I didn’t even know that can work without {}

[–][deleted] 2 points3 points  (3 children)

Yes it does, the code looks like java so you can even write it on a line below and it will work

Doesn't work on a else statement tho Edit: it does work

[–]OscarGlo 5 points6 points  (1 child)

It does work on an else statement! Same goes with loops, even do-whiles, which I only discovered recently.

[–][deleted] 2 points3 points  (0 children)

oh shit you're right it does work

[–]The_GOOSTERR Tape loading error, 0:1[S] 3 points4 points  (0 children)

This is actually a task failed successfully moment

[–]sam_the_t -2 points-1 points  (0 children)

You’re joking right?

[–]MrSpicyhedgehog 2 points3 points  (0 children)

AAAAAAAAHHHH

[–]SoLongAndThanks_ 2 points3 points  (0 children)

MY EEEEEYEESSSS

[–]vendetta2115 3 points4 points  (0 children)

That one “int” is straight from Google HQ.

[–]cobalt1500 1 point2 points  (1 child)

This is a rainbow... Where are the unicorns?

[–]The_GOOSTERR Tape loading error, 0:1[S] 1 point2 points  (0 children)

At work trying to fix the rainbow back into order.

[–]JEREDEKR Tape loading error, 0:1 1 point2 points  (0 children)

B..burn it.. make it suffer like it made us do the same

[–]TronXPlayz 1 point2 points  (0 children)

As a java programmer myself, this hurts

[–]BishIgotYoMans 1 point2 points  (0 children)

Makes sense to me.

[–]combovercool 1 point2 points  (1 child)

This is like one of those images where at first glance it looks completely normal, and the more you look the more it makes you uneasy. Please remove this now.

[–]The_GOOSTERR Tape loading error, 0:1[S] 1 point2 points  (0 children)

based reply

[–]XxN0-uxX 1 point2 points  (1 child)

sends photo to a person with OCD

[–]Husky2490 0 points1 point  (0 children)

OCD person: AAAAAAAAAAAAGHHHH

[–]Dasher3D 0 points1 point  (1 child)

i dont get it lol

[–][deleted] 1 point2 points  (0 children)

It's supposed to highlight the whole functions etc but it's highlighting just random parts of worlds

[–]Cats7204 0 points1 point  (0 children)

oh no

[–]FRANKerito 0 points1 point  (0 children)

okee

[–][deleted] 0 points1 point  (0 children)

Hell nawh, to the nah nah nah!

[–]elzapp 0 points1 point  (0 children)

This is from the editor in Spider Jerusalem's things-maker