Vordimous@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agoComenting codelemmy.mlimagemessage-square105fedilinkarrow-up11.22Karrow-down111
arrow-up11.21Karrow-down1imageComenting codelemmy.mlVordimous@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agomessage-square105fedilink
minus-squareessteeyou@lemmy.worldlinkfedilinkarrow-up128·edit-21 year ago/** * Gets the user **/ fun getUser() { return this.user; }
minus-squaresome_guy@lemmy.sdf.orglinkfedilinkarrow-up33·1 year agoI’m sorry, I don’t think I understand what’s happening here…
minus-squarejaybone@lemmy.worldlinkfedilinkarrow-up12·1 year agoYou need the requirements doc from marketing. Then it will all totally make sense for sure. No cap.
minus-squareFonzie!@ttrpg.networklinkfedilinkarrow-up8·edit-21 year agoOkay now I get the joke. I hate these kind of people. By the way, your ``` both need to be on their own, separate line
minus-squareessteeyou@lemmy.worldlinkfedilinkarrow-up3·1 year agoIt renders correctly in my client (Sync), what are you using? I’ll edit it anyway.
minus-squareFonzie!@ttrpg.networklinkfedilinkarrow-up2·edit-21 year agoIt renders correctly on the web as well for me. But the ``` being on their own line is how to write it properly, as stated this website among many others. This way, you can put the intended programming language on the same line as the first ```, ensuring proper colour coding! Ex. echo "Hello $name\n"; echo "Hello $name\n"; EDIT I checked on mobile, it rendered odd on Jerboa for me: Now it is fixed:
minus-squareessteeyou@lemmy.worldlinkfedilinkarrow-up2·1 year agoYep, I know, but my code isn’t in a real language.
minus-squareFonzie!@ttrpg.networklinkfedilinkarrow-up1·1 year agoYou can also not do it, it was just an additional comment!
/** * Gets the user **/ fun getUser() { return this.user; }
I’m sorry, I don’t think I understand what’s happening here…
Let me find the sequence diagram…
You need the requirements doc from marketing. Then it will all totally make sense for sure. No cap.
deleted by creator
Okay now I get the joke.
I hate these kind of people.
By the way, your ``` both need to be on their own, separate line
It renders correctly in my client (Sync), what are you using? I’ll edit it anyway.
It renders correctly on the web as well for me.
But the ``` being on their own line is how to write it properly, as stated this website among many others.
This way, you can put the intended programming language on the same line as the first ```, ensuring proper colour coding!
Ex.
echo "Hello $name\n";
EDIT I checked on mobile, it rendered odd on Jerboa for me:
Now it is fixed:
Yep, I know, but my code isn’t in a real language.
You can also not do it, it was just an additional comment!
Thanks for your code review. :-D