The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
Dec 7, 2016 16:05
@Xanderhall Default arguments would drastically reduce the amount of boilerplate for functions.. in one case where I had to "support" registering a Block (yep, Minecraft modding) with a *required* block, an *optional* ItemBlock, an *optional* name, an *optional* metadata, and an *optional* model name. Each of them can be either taken from a default or calculated based upon the others.

Ended up with 18 methods.
Dec 7, 2016 16:01
And contravariant argument types. ._.
Dec 7, 2016 16:00
@Xanderhall I think default arguments are long overdue, especially because they can be completely implemented in the compiler..
Dec 7, 2016 15:57
Ah, okay. Yeah, the way they actually solved it with dozens of interfaces that do the same thing instead of introducing either simple Function1, Function2... "classes" with an automatic-if-not-declared-otherwise Void return (which diverges a LOT from the language) or just (which never, ever happens in Java) introduce a Callable<Parameters, Return> with Tuple types (Ceylon got me hooked) and thus polymorphic generics...
Dec 7, 2016 15:52
@Geobits As in how it introduces the type inference into its "system"?
Dec 7, 2016 15:51
@Geobits In what way do you mean "counted"?
Dec 7, 2016 15:49
@seequ And I am no believer in any of it. I think it's just hilarious to call yourself that.
Dec 7, 2016 15:48
@mbomb007 It is, it is, and I accept that. To many people, religion can be their salvation, and for that, it's good. I just can't find myself 'good' in it
Dec 7, 2016 15:47
He still has to wear the damn robe(s)
Dec 7, 2016 15:47
Let the man wear on his head what he wants
Dec 7, 2016 15:45
@mbomb007 Welp, guessed that, I just don't find it funny ^^ And religion on its own is pretty much the world's biggest joke, that's why I'm a proud pastafari :V
Dec 7, 2016 15:42
..some people define 'funny' strangely.
Dec 7, 2016 15:41
I don't get the one about the pope's hat..
Dec 7, 2016 15:38
@NathanMerrill Well, technically, the whole tree could just get displaced in a fraction of a second
Dec 7, 2016 15:36
"(If anybody already know this please help)" What does he even want to say by that?
Dec 6, 2016 23:02
Anyways, it's past midnight here, I'll get some sleep
Dec 6, 2016 23:02
I'll accept that
Dec 6, 2016 22:59
@noɥʇʎPʎzɐɹC Where's my bounty? :V
Dec 6, 2016 22:58
@noɥʇʎPʎzɐɹC Now that makes it clear, it's essentially a lastIndexOf until the location_found, isn't it?
Dec 6, 2016 22:57
Thought you'd be doing something with polyglots
Dec 6, 2016 22:55
@noɥʇʎPʎzɐɹC But where? Isn't it unavailable once the loop's finished?
Dec 6, 2016 22:53
But then it discards the value in i, doesn't it?
Dec 6, 2016 22:50
Although I'm not sure how that pairs with the [] operator.
Dec 6, 2016 22:50
@noɥʇʎPʎzɐɹC What? I can only imagine it being something with the !=, due to operator overloading..
Dec 6, 2016 22:40
I'm not one to ask :/
Dec 6, 2016 22:38
Is anyone doing anything right now?
Dec 6, 2016 22:25
@Zizouz212 Damn, you beat me to it
Dec 6, 2016 22:24
@ais523 They literally tell me after a test that the UML diagrams were the easiest and most fun parts of the test. Telling them to make a method static, however, makes them ask "so static instead of void?"..
Dec 6, 2016 22:23
@ais523 ..my classmates do?
Dec 6, 2016 22:20
Same here, the only thing I don't like at all is programming in VB and doing UML
Dec 6, 2016 22:19
Too much regex for the day
Dec 6, 2016 22:19
..I literally just misread that as 'regular expression'.
3
Dec 6, 2016 22:18
Still a ways to go before I can even really plan to go to Uni .-.
Dec 6, 2016 22:17
@Flp.Tkc Rule -1: No rule exists after this
Dec 6, 2016 22:15
And not even that correctly.. this school is just.. ugh..
Dec 6, 2016 22:14
Nope, only learned standard JEE
Dec 6, 2016 22:13
@Zizouz212 Oh okay
Dec 6, 2016 22:12
Interestingly, he didn't remove the stars on "You can trust this message because it has no stars."
Dec 6, 2016 22:11
Hell's gonna break loose
Dec 6, 2016 22:10
Ok.
Dec 6, 2016 22:10
No?
Dec 6, 2016 22:10
Seriously, can we help Zizouz now?
Dec 6, 2016 22:06
I should really make an avatar though..
Dec 6, 2016 22:04
I know some other places where any newcomer gets shooed away until he's lived there for longer than a month without picking a fight with anybody
Dec 6, 2016 22:04
But, thanks for the warm welcome
Dec 6, 2016 22:03
@TuxCopter What's the difference again?
Dec 6, 2016 22:00
The stars penetrated the message
Dec 6, 2016 21:57
@DJMcMayhem Why not just trust no message?
Dec 6, 2016 21:56
@Flp.Tkc I think it was one of the "I'm an idiot" ones.
Dec 6, 2016 21:56
@Geobits Oh I did, we graduated. :V