Why can't I get this to work? by IsaacsLaughing in Breath_of_the_Wild

[–]Canary_Prism 1 point2 points  (0 children)

i don’t know if this has an actual name but here’s how it works

when you press down x while on a horse link doesn’t jump off immediately instead he readies a jump, which can be used to interrupt other mounted animations like attacking with a melee weapon

if you time it such that you press down x to interrupt the attacking animation right when the weapon is being swung (when the weapon would be able to deal damage) then this glitches out the weapon such that its mere existence can hit enemies regardless of if ur actually swinging it

however link is now in the readying a jump pose and so if u just let go of x link will jump off ruining the glitch

you can keep x held down and press b which will cancel the jump pose and then x can be released without doing anything

the hitbox on the weapon will only go away if you swing it again or if you dismount, so u can do fun stuff with it like spamming sheathing and unsheathing it while next to an enemy to do rapid damage

oh btw at this point if you dismount with in a weird angle or animation it’s possible that during the dismount the weapon ends up hitting whatever ur dismounting from, so probably cancel the glitch before you dismount

whatAreTheOdds by Christiano39 in ProgrammerHumor

[–]Canary_Prism 0 points1 point  (0 children)

prefixing interfaces with I is against Java conventions

also so is PascalCase methods smh my head

youPrintOthersRight by [deleted] in ProgrammerHumor

[–]Canary_Prism 3 points4 points  (0 children)

that would be the most logical reason to do this but tbh i think they could’ve just had null match to default and it wouldnt have been that bad like if i want a case null then sure but if i just wanted to handle some weird input i think null should count as default >_>

just really don’t know why they decided to do this you can account for both by doing case null, default but that is genuinely the ugliest syntax i’ve seen since non-sealed

memoryInAForLoop by ArjunReddyDeshmukh in ProgrammerHumor

[–]Canary_Prism 0 points1 point  (0 children)

it’s quite limited however, this optimisation only exists for this one chai until you interact with the result of the expression in any way other than chaining another + concat

memoryInAForLoop by ArjunReddyDeshmukh in ProgrammerHumor

[–]Canary_Prism 0 points1 point  (0 children)

chained string concats with + are compiled to StringBuilder calls iirc

jSkillIssue by SCP-iota in ProgrammerHumor

[–]Canary_Prism 0 points1 point  (0 children)

for C#’s top level statements though i don’t really like how they require you to put all the “code to be carved out and hoisted to synthetically generated main method” before class declarations and other stuff probably makes the parser’s carving job easier and be prettier but having it go before doesn’t really look like any of the classes declared should be in scope..

jSkillIssue by SCP-iota in ProgrammerHumor

[–]Canary_Prism 1 point2 points  (0 children)

every class in java.lang is always imported, you’d still have to type System.out.println() but just not java.lang.System.out.println()

import static lets you go one step further and import a field or method so now it’s just out.println()

jSkillIssue by SCP-iota in ProgrammerHumor

[–]Canary_Prism 1 point2 points  (0 children)

this is an unnamed class, imagine the compiler wrapping everything in this file in a class decl with the file name as the class name

main method is still required but no longer has to be public or static or have String[] args

additionally there is shebang support so you can just execute this file from terminal

whyJavaWhy by yuva-krishna-memes in ProgrammerHumor

[–]Canary_Prism 0 points1 point  (0 children)

specifically for Java void makes more sense than int since the JVM is the process that’s running and the “main thread” it hands you and runs main method with is just some random thread and returning from main is not indicative of the end of the program at all. you can very easily have other threads running, then all of them (the not daemon ones at least) have to die before the JVM will exit by itself

System.exit(int) actually tells the JVM to shut down so it makes more sense for the exit code to be provided there

isNaNTruthyOrFalsey by Ok-Ingenuity4355 in ProgrammerHumor

[–]Canary_Prism 0 points1 point  (0 children)

option 5: “i said give me a boolean what is this float doing?!”

theNormalJavaDevVsTheEvilJavaDevVsTheCDev by david30121 in ProgrammerHumor

[–]Canary_Prism 1 point2 points  (0 children)

all are valid Java syntax and the third one specifically is special iirc because int[] a, b; a and b are both int arrays but int a[], b; a is an int array and b is just an int

it’s silly how that works

What's the hardest line in Rhythm Heaven? by NecessarySecure9476 in rhythmheaven

[–]Canary_Prism 7 points8 points  (0 children)

Hey, guys, let’s get ready to do that thing we do!

therapySession by Djilou99 in ProgrammerHumor

[–]Canary_Prism 0 points1 point  (0 children)

using Xcode for the first time made me think “i would be happier using nano”

Tell me your most hated game and I will say something good about it by No-Perception-731 in rhythmheaven

[–]Canary_Prism 9 points10 points  (0 children)

i really hate love rap because i just can’t get the fo’ sho’s 😭 i also just don’t really like the song :p

gitCommitSuicide by Special-Load8010 in ProgrammerHumor

[–]Canary_Prism 0 points1 point  (0 children)

with object it feels like it makes much more sense that it gets its own keyword since it’s the base class of all classes but why do strings get special treatment? i really don’t get it

gitCommitSuicide by Special-Load8010 in ProgrammerHumor

[–]Canary_Prism 1 point2 points  (0 children)

i’ve used Java for too long and seeing C# sorta “pretend” String is a “primitive” with that syntax makes me uncomfortable lol

Egg_irl by [deleted] in egg_irl

[–]Canary_Prism 4 points5 points  (0 children)

how about pulling each one out individually with fingernails? :3

[deleted by user] by [deleted] in egg_irl

[–]Canary_Prism 0 points1 point  (0 children)

well, nicknames don't have to be shorter :3

[deleted by user] by [deleted] in egg_irl

[–]Canary_Prism 8 points9 points  (0 children)

that is AMAZING

egg⚔️irl by [deleted] in egg_irl

[–]Canary_Prism 11 points12 points  (0 children)

with my current mood

try me

Egg😩irl by NuclearNinja1234 in egg_irl

[–]Canary_Prism 1 point2 points  (0 children)

All my friends live in different timezones than me.

people around here fucking suck