|
yaoi prophet posted:scalar %a is number of buckets in use/total available buckets, %a = (1..10) creates a hash mapping 1 to 2, 3 to 4, etc oh that's NOT useful -boart
|
# ? May 28, 2012 03:05 |
|
|
# ? May 20, 2024 05:28 |
|
trex eaterofcadrs posted:imo the hardest part about java is knowing you could do the same poo poo with like 1/5th the typing in like python or ruby (or about a 1:30 ratio in clojure). oh god typjng is so hard
|
# ? May 28, 2012 05:05 |
|
ahhh spiders posted:java is super easy. java ftw
|
# ? May 28, 2012 05:05 |
|
trex eaterofcadrs posted:imo the hardest part about java is knowing you could do the same poo poo with like 1/5th the typing in like python or ruby (or about a 1:30 ratio in clojure). lol
|
# ? May 28, 2012 05:06 |
|
rotor posted:oh god typjng is so hard
|
# ? May 28, 2012 05:16 |
|
java is actually a p good language if you have to make a desktop "application". and it's kind of cool how java had the idea to make applications you could run on a lot of different platforms before web applications became a thing and you could do that for real
|
# ? May 28, 2012 06:17 |
|
Tiny Bug Child posted:java is actually a p good language if you have to make a desktop "application". and it's kind of cool how java had the idea to make applications you could run on a lot of different platforms before web applications became a thing and you could do that for real heyooo
|
# ? May 28, 2012 06:31 |
|
Tiny Bug Child posted:desktop "application"
|
# ? May 28, 2012 06:33 |
Tiny Bug Child posted:java is actually a p good language if you have to make a desktop "application". and it's kind of cool how java had the idea to make applications you could run on a lot of different platforms before web applications became a thing and you could do that for real lol
|
|
# ? May 28, 2012 06:38 |
|
Tiny Bug Child posted:java is actually a p good language if you have to make a desktop "application". and it's kind of cool how java had the idea to make applications you could run on a lot of different platforms before web applications became a thing and you could do that for real smells like desperation
|
# ? May 28, 2012 06:39 |
|
tef posted:um, perl is call by reference. python and ruby are call by object (i.e call by value where the value is a reference). code:
I definitely understand the distinction being made and that any perl programmer should be aware of it but I thought in practice the pass-by-reference was nullified by that.
|
# ? May 28, 2012 07:01 |
|
There have been 8192 posts made by het, an average of 2.35 posts per day, since registering on Nov 15, 2002. het claims to be a porpoise. happy 213th post het
|
# ? May 28, 2012 07:07 |
|
Tiny Bug Child posted:java is actually a p good language if you have to make a desktop "application". and it's kind of cool how java had the idea to make applications you could run on a lot of different platforms before web applications became a thing and you could do that for real Uninstalling Java and never bothering with Java programs was one of the best computing decicions I ever made. Let's not even start with the "Java needs an update" nightmare.
|
# ? May 28, 2012 07:12 |
|
unleash the unicorn posted:and the best part is that nobody is going to use your "application" because they'll all be like "JVM required? Aww hell nah, not another slow buggy piece of Java poo poo!" yo good poo poo *hi-5* do you boycott microsoft too cause its a really cool thing to do and i think we should be friends wait are you whining about occasional program updates really?
|
# ? May 28, 2012 07:16 |
|
Gogey posted:wait are you whining about occasional program updates Chrome can do it without bothering me, time for Java to catch up. And let's just be honest here: idk about server side applications but name one desktop application written in Java that's not complete poo poo.
|
# ? May 28, 2012 07:32 |
|
intellij idea
|
# ? May 28, 2012 07:32 |
|
homercles posted:There have been 8192 posts made by het, an average of 2.35 posts per day, since registering on Nov 15, 2002. het claims to be a porpoise.
|
# ? May 28, 2012 07:32 |
|
unleash the unicorn posted:Nevermind that I said "lets not even get into that", but in tyool 2012? Yes I am. intellij idea
|
# ? May 28, 2012 07:33 |
|
Nomnom Cookie posted:intellij idea oh hi
|
# ? May 28, 2012 07:33 |
|
you don't really notice java apps anymore because the deployment has gotten easier and native l&f is good for the bulk of the widget and thank GOD people stopped loving naming their loving apps jWhatever
|
# ? May 28, 2012 07:35 |
|
rotor posted:you don't really notice java apps anymore because the deployment has gotten easier and native l&f is good for the bulk of the widget and thank GOD people stopped loving naming their loving apps jWhatever yeah this
|
# ? May 28, 2012 07:36 |
|
rotor posted:intellij idea That's just so developers will inflict that poo poo on more end-users Also lol because that really does seem to be the only one considering that's what both of you jumped to immediately. unleash the unicorn fucked around with this message at 07:39 on May 28, 2012 |
# ? May 28, 2012 07:37 |
|
unleash the unicorn posted:That's just so developers will inflict that poo poo on more end-users your hatred only makes me stronger
|
# ? May 28, 2012 07:38 |
|
unleash the unicorn posted:And let's just be honest here: idk about server side applications but name one desktop application written in Java that's not complete poo poo.
|
# ? May 28, 2012 07:42 |
|
homercles posted:0x10c notch loving sucks
|
# ? May 28, 2012 07:46 |
|
unleash the unicorn posted:Also lol because that really does seem to be the only one considering that's what both of you jumped to immediately. that's cause I don't think "hmm, is this java this ebtter not be java" when i start a program so I don't associate things with it. I can't think of many things i use that are java applications but that doesn't necessarily mean it's horrible like you think it is!!
|
# ? May 28, 2012 07:49 |
|
het posted:Unless the sub is like 2 lines long, I'm never actually using @_, I'm copying the values of the parameters to the sub into my local (not perl "local" obv) variables, right? if you copy @_ it's all as expected. if you assign to @_ then magic happens
|
# ? May 28, 2012 08:30 |
|
Gogey posted:that's cause I don't think "hmm, is this java this ebtter not be java" when i start a program so I don't associate things with it. I can't think of many things i use that are java applications but that doesn't necessarily mean it's horrible like you think it is!! Let me help you out: Does it take forever to start up? It's probably a Java!
|
# ? May 28, 2012 08:33 |
|
unleash the unicorn posted:Let me help you out: wow, adobe musta ported all their poo poo to java while I wasn't lookin
|
# ? May 28, 2012 08:35 |
|
tef posted:if you copy @_ it's all as expected. if you assign to @_ then magic happens
|
# ? May 28, 2012 08:37 |
|
rotor posted:wow, adobe musta ported all their poo poo to java while I wasn't lookin
|
# ? May 28, 2012 08:57 |
|
Rufo posted:2. perl passes everything by value (when youre passing a reference youre still just passing a scalar by value) perl6 made everything a reference. i hope this doesnt make u too mad. but this means: Perl code:
Also arrays are passed by ref, so they arent flattened as you previously said: Perl code:
but not just arrays/hashes. even scalars are refs. when passed to functions they are (by default) readonly refs. Perl code:
|
# ? May 28, 2012 10:43 |
|
tef posted:if you copy @_ it's all as expected. if you assign to @_ then magic happens please no
|
# ? May 28, 2012 10:44 |
|
You pass two arrays to a perl function no problem !code:
NeoHentaiMaster fucked around with this message at 11:09 on May 28, 2012 |
# ? May 28, 2012 10:59 |
|
tef posted:um, perl is call by reference. python and ruby are call by object (i.e call by value where the value is a reference). gotcha tef posted:whoever told you this has no loving idea what they are talking about. slightly surprised but entirely possible tef posted:it turns out that passing a reference to an immutable value is almost indistinguishable from passing that value. hrm yeah tef posted:what are they teaching you rufo this is a personal failing not one of my alma mater
|
# ? May 28, 2012 11:03 |
|
NeoHentaiMaster posted:You pass two arrays to a perl function no problem ! perl6: Perl code:
|
# ? May 28, 2012 11:05 |
|
TiMBuS posted:Good poo poo! go get perl 6!! damnit timbus
|
# ? May 28, 2012 11:06 |
|
|
# ? May 28, 2012 11:12 |
|
TiMBuS posted:but not just arrays/hashes. even scalars are refs. when passed to functions they are (by default) readonly refs.
|
# ? May 28, 2012 11:59 |
|
|
# ? May 20, 2024 05:28 |
|
pff yea epic facepalm, code that avoids unneeded copying and also avoids actoin-at-a-distance ref fuckery is totally a bad idea.
|
# ? May 28, 2012 12:06 |