|
I probably should have read the PL thread before post post posting cause they were literally talking bout cucumber which was what I was thinking about
|
# ? Jul 25, 2013 15:40 |
|
|
# ? Jun 5, 2024 05:18 |
|
Shaggar posted:Most of the popular java libs have c# versions or standard library equivalents these days. ya nhibernate owns
|
# ? Jul 25, 2013 15:50 |
|
just a butt posted:I probably should have read the PL thread before post post posting cause they were literally talking bout cucumber which was what I was thinking about green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke green as a cuke
|
# ? Jul 25, 2013 16:00 |
|
JewKiller 3000 posted:but if your unit tests have code inside, who's to say that code does what you meant? you need unit tests for it lol I remember seeing some ruby tdd zealot unironically talking about unit tests for unit tests I guess that was one of the incidents that lead me to now only use ruby for little scripting tasks and nothing serious
|
# ? Jul 25, 2013 16:16 |
|
just a butt posted:I probably should have read the PL thread before post post posting cause they were literally talking bout cucumber which was what I was thinking about you only need to read it once it's basically the same three arguments over and over again -- checked exceptions -- plangs vs jlangs -- hay is java pass by value or pass by reference
|
# ? Jul 25, 2013 16:23 |
|
someone counted all the little languages used to build a rails app and got to thirteen
|
# ? Jul 25, 2013 16:24 |
|
tef posted:you only need to read it once it's basically the same three arguments over and over again you could apply the same argument to every yospos thread can't really get tired of pics of refurb though
|
# ? Jul 25, 2013 16:32 |
|
SavageMessiah posted:lol I remember seeing some ruby tdd zealot unironically talking about unit tests for unit tests tell him that he should go all the way and make unit tests for every unit test watch him go into an infinite recursion
|
# ? Jul 25, 2013 16:48 |
|
tef posted:someone counted all the little languages used to build a rails app and got to thirteen I believe that. Rails and ruby are all about stacking stuff on top of old stuff as far as I can tell
|
# ? Jul 25, 2013 17:55 |
|
my boss has aspergers and LOVES unit tests any time he can find a reason to preach the glory of TDD, he'll ram it down youare loving throat and you just have to listen someone send help a cyberpunk goose fucked around with this message at 19:30 on Jul 25, 2013 |
# ? Jul 25, 2013 19:20 |
|
PleasingFungus posted:some day I will work in a company with a rich testing environment we have a decently rich testing setup except that our continuous integration platform is on ~~the~~cloud~~ and works maybe one day in three, and theres something subtly different re: the ci machines versus production/the "standardized" vm that every so often there will just be these mystery bugs that cant get reproduced
|
# ? Jul 25, 2013 20:35 |
|
tef posted:you only need to read it once it's basically the same three arguments over and over again java is pass by value ofc
|
# ? Jul 25, 2013 20:44 |
|
but somethines, the value is a reference!!?!?!?!
|
# ? Jul 25, 2013 20:56 |
|
ya references are passed by value. a java reference is basically a pointer that the compiler dereferences for you
|
# ? Jul 25, 2013 21:19 |
|
gently caress all of you
|
# ? Jul 25, 2013 21:21 |
|
FamDav posted:gently caress all of you hey hey hey hey rude
|
# ? Jul 25, 2013 21:22 |
|
Nomnom Cookie posted:ya references are passed by value. a java reference is basically a pointer that the compiler dereferences for you basically yup
|
# ? Jul 25, 2013 21:37 |
|
infact thats the #1 thing about java i wish someone had told me: references and objects are completely different things and the syntax muddles the distinction but its still there. like when u get that the type of a reference is different from the type of an object, then all kinds of stuff like polymorphism and type erasure are ez (i still dont remember why u cant make an array of generics tho...something to do with arrays being covariant)
|
# ? Jul 25, 2013 22:27 |
|
Nomnom Cookie posted:infact thats the #1 thing about java i wish someone had told me: references and objects are completely different things and the syntax muddles the distinction but its still there. like when u get that the type of a reference is different from the type of an object, then all kinds of stuff like polymorphism and type erasure are ez (i still dont remember why u cant make an array of generics tho...something to do with arrays being covariant) iirc it's because java's incorrect array covariance in static type checking requires extra runtime type checks on array writes, and generic types are erased at runtime
|
# ? Jul 25, 2013 22:44 |
|
covariant arrays are like this: eh eh eh eh contravariant arrays are like this: do do do do
|
# ? Jul 26, 2013 00:01 |
|
welp another day of terrible programming done *chunks punch card into wall reader*
|
# ? Jul 26, 2013 01:23 |
|
tef posted:covariant arrays are like this: eh eh eh eh it's not a difference of opinion, covariant arrays are objectively wrong by the only reasonable metric: they make type checking unsound that said, if you're worrying about variance, then you're using subtyping, so you've already lost
|
# ? Jul 26, 2013 02:51 |
|
JewKiller 3000 posted:it's not a difference of opinion, covariant arrays are objectively wrong by the only reasonable metric: they make type checking unsound yeah covariant arrays are pretty wat, they only made sense as a workaround for a lack of generics. however, there is a use for covariance outside of arrays, but i guess you know this so whatever. my real problem is now when people say LSP i don't think of the substitution principle first
|
# ? Jul 26, 2013 03:39 |
|
JewKiller 3000 posted:iirc it's because java's incorrect array covariance in static type checking requires extra runtime type checks on array writes, and generic types are erased at runtime o yeah...thats hosed. its weird, java is mostly really solid but theres poo poo in there like array covariance and type erasure thats just wtf. y did u do this, gosling. u broke ur language
|
# ? Jul 26, 2013 03:48 |
|
type erasure exists for backwards compatibility but idk why it still exists >1.6
|
# ? Jul 26, 2013 04:32 |
|
lord funk posted:welp another day of terrible programming done *chunks punch card into wall reader* same. i used a dictionary in a script today. now my mileage calculator can take input from featureclasses with any linear unit and output miles.
|
# ? Jul 26, 2013 04:45 |
|
Shaggar posted:type erasure exists for backwards compatibility but idk why it still exists >1.6 Everytime I have to do something with arrays and generics I get so mad at Java
|
# ? Jul 26, 2013 05:12 |
|
tef posted:yeah covariant arrays are pretty wat, they only made sense as a workaround for a lack of generics. however, there is a use for covariance outside of arrays, but i guess you know this so whatever. if you use only immutable data structures then everything is covariant
|
# ? Jul 26, 2013 05:30 |
|
i've dashed the hopes of many a self-proclaimed java expert with an h1-b by asking about type erasure
|
# ? Jul 26, 2013 05:41 |
|
Slaughterhouse-Ive posted:i've dashed the hopes of many a self-proclaimed java expert with an h1-b by asking about type erasure lol they probably sewing nikes now yospos bicth
|
# ? Jul 26, 2013 07:33 |
|
does type erasure come up outside of academic circlejerks?
|
# ? Jul 26, 2013 08:16 |
|
ive never cared outside of this thread, so no
|
# ? Jul 26, 2013 13:38 |
|
why say I think I would like to use these fancy generics for doing something other than datastructures...Java code:
|
# ? Jul 26, 2013 13:39 |
|
varags seem nice, sometimes I want to take an optional amount of stuffJava code:
|
# ? Jul 26, 2013 13:52 |
|
i applied to a place that said knowing "scheme" would be a good bonus skill to have anybody have any good scheme resources? am i finally going to have to learn what lambdas do?
|
# ? Jul 26, 2013 23:20 |
have fun writing clojure
|
|
# ? Jul 26, 2013 23:52 |
|
Just use a shitload of parenthesis, to the point where it's unreadable (just like real Lisp/Scheme code)
|
# ? Jul 27, 2013 00:15 |
|
Corla Plankun posted:i applied to a place that said knowing "scheme" would be a good bonus skill to have cease any and all contact with wherever this is and run as quickly as possible in the opposite direction
|
# ? Jul 27, 2013 00:25 |
|
Corla Plankun posted:i applied to a place that said knowing "scheme" would be a good bonus skill to have do you know lisp? i hear they're pretty much the same thing "the little lisper" is supposed to be a really good instructional book for lisp
|
# ? Jul 27, 2013 21:36 |
|
|
# ? Jun 5, 2024 05:18 |
|
i started looking at it yesterday and it seems really, really easy so far its like a weird middle ground between assembler and ruby
|
# ? Jul 28, 2013 22:55 |