|
doesn't scala also take forever to compile i feel like i read that somewhere
|
# ? Jul 10, 2016 04:57 |
|
|
# ? May 25, 2024 13:19 |
|
raminasi posted:doesn't scala also take forever to compile i feel like i read that somewhere as far as i know, it still does
|
# ? Jul 10, 2016 05:08 |
|
i participated in a scala project once and every once in a while jenkins accuses me of breaking the build because sbt forgot how to sbt
|
# ? Jul 10, 2016 05:19 |
So what is scalaz? I read the description on github and it says it's a bunch of stuff for function programming in scala, but I thought scala was already a functional language?
|
|
# ? Jul 10, 2016 06:37 |
|
VikingofRock posted:So what is scalaz? I read the description on github and it says it's a bunch of stuff for function programming in scala, but I thought scala was already a functional language? scalaz is for when you want to have to figure out what these mean when someone else on your team uses them: ∘, ∘∘, ↦, ↣, ∑, ∃, ∀, ☆, ★, ∋, ∈:, >>=, >~>, |@| this was not a joke
|
# ? Jul 10, 2016 07:42 |
|
VikingofRock posted:So what is scalaz? I read the description on github and it says it's a bunch of stuff for function programming in scala, but I thought scala was already a functional language? as far as i can tell scalaz is what happened when scala attracted a bunch of that type of haskell programmers who think new operators are totalyly cool and always good and belong in every library
|
# ? Jul 10, 2016 07:56 |
|
jony neuemonic posted:i've never written scala professionally, it seems like if a team is using it strictly as a nicer java it'd be okay but if they're trying to take advantage of the entire kitchen sink it hands you it'd be horrifying. y/n? y
|
# ? Jul 10, 2016 08:34 |
|
Bloody posted:scala might be good if you're using it as jvm-haskell. scala is probably bad if you're using it as java++ i'm afraid it's the other way around. scala doesn't (really) have functional composition and it's typeclass system is very different (and way more permissive) than haskell's. so much so that whatever compiler intellij uses will often choke (i.e. underline) on valid compiling code because it can't find implicits or the right resolution of the type class constraints
|
# ? Jul 10, 2016 08:36 |
|
i've not actually used scalaz, i like the idea of more haskell-y type classes but otoh my boss loathes it with a passion due to the aforementioned operator hell. to be fair they're moving away from it, but it's too late.
|
# ? Jul 10, 2016 08:37 |
|
MrMoo posted:Object arrays as parameters are not very forgivable though. passing collections is perfectly natural just don't suggest he should be passing iterators around, that's awful and something that people who actually understand OO should have corrected Stepanov and Stroustrup on as soon as they started talking about it
|
# ? Jul 10, 2016 10:30 |
|
the talent deficit posted:scalaz is for when you want to have to figure out what these mean when someone else on your team uses them: I was sad when I saw soon after Swift's introduction that someone created a swiftz repository even now people will see clear and easily understandable code and say "here's a gist where I rewrote that code to be more swifty" that takes a bunch of untangling to understand but is marginally more ~*~ functional ~*~ eschaton fucked around with this message at 10:46 on Jul 10, 2016 |
# ? Jul 10, 2016 10:37 |
|
the talent deficit posted:scalaz is for when you want to have to figure out what these mean when someone else on your team uses them: i imagine there must be some bitter, furious people who've had to track down bugs caused by someone else using a hollow star where they should have used a filled star
|
# ? Jul 10, 2016 11:26 |
|
the talent deficit posted:scalaz is for when you want to have to figure out what these mean when someone else on your team uses them: i mean, i'm not particularly opposed to operator overloading, but this is ridiculous. come on guys, show some restraint
|
# ? Jul 10, 2016 11:27 |
|
LeftistMuslimObama posted:remember that poo poo I was bitching about yesterday? today I retrofitted it. 23 files in 3 directories, each 1000+ loc with one at 25000 loc. even using kdiffs directory merge feature to merge the current branch into the retro branch (hell no our svn can't do that on its own) it took 6 hours to get everything right because of the differences between versions. for some reason nobody else knows how to do this poo poo. everyone else who could do this got a different job
|
# ? Jul 10, 2016 14:17 |
|
eschaton posted:even now people will see clear and easily understandable code and say "here's a gist where I rewrote that code to be more swifty" that takes a bunch of untangling to understand but is marginally more ~*~ functional ~*~ on the other end of this spectrum (and I think horseshoe theory applies) are the asshats adding new answers to every loving stack overflow question with "the correct answer, in swift!" and it's the shittiest swift code that's so obviously just poorly transliterated objc. who the gently caress is that helping sometimes that answer has more upvotes than the one it's ripping off. idgi
|
# ? Jul 10, 2016 14:28 |
|
eschaton posted:passing collections is perfectly natural It should be either a const ref to a container or a const Point* point, unless you are using templates with a fixed length array.
|
# ? Jul 10, 2016 14:33 |
|
sbt is bad, use gradle
|
# ? Jul 10, 2016 14:47 |
|
don't use sbt or gradle, use maven.
|
# ? Jul 10, 2016 14:52 |
|
MrMoo posted:It should be either a const ref to a container or a const Point* point, unless you are using templates with a fixed length array. or just use a framework's containers that understands shallow vs deep copies
|
# ? Jul 10, 2016 14:57 |
|
Shaggar posted:don't use sbt or gradle, use maven.
|
# ? Jul 10, 2016 15:04 |
|
Shaggar posted:don't use sbt or gradle, use maven.
|
# ? Jul 10, 2016 15:27 |
|
sbt means you're using scala which is stupid. gradle means you don't understand maven because you are stupid.
|
# ? Jul 10, 2016 16:05 |
|
programming I am good at, geometry I am not so I need translate the world around me by the camera transform the camera starts at (0,0,5) pointing at (0,0,0) the cube is at (0,0,0) so we transform the cube by (0,0,-5) when drawing it to make it appear we are 5 Z units away from it but what if we want to rotate the camera, how do we calculate the new point that it's pointing at...
|
# ? Jul 10, 2016 16:12 |
|
redleader posted:i imagine there must be some bitter, furious people who've had to track down bugs caused by someone else using a hollow star where they should have used a filled star or ↦ vs ↣
|
# ? Jul 10, 2016 16:24 |
|
Luigi Thirty posted:programming I am good at, geometry I am not I don't have a totally clear picture on what you're asking and I apologize if I'm pedantic, but in general to transform 3D points under rotations you use a rotation matrix https://en.wikipedia.org/wiki/Rotation_matrix#In_three_dimensions or is what you're getting at more complicated?
|
# ? Jul 10, 2016 16:35 |
|
just do this https://en.wikipedia.org/wiki/Transformation_matrix#Examples_in_3D_computer_graphics
|
# ? Jul 10, 2016 16:41 |
|
quaternions lol
|
# ? Jul 10, 2016 16:45 |
|
sitting in an intro to go workshop at gophercon holy poo poo go is a plang++
|
# ? Jul 10, 2016 16:51 |
|
how do you make a typed plang like this wtf
|
# ? Jul 10, 2016 16:55 |
|
EVGA Longoria posted:sitting in an intro to go workshop at gophercon how is this news to you? have you never read this thread before?
|
# ? Jul 10, 2016 16:56 |
|
Shaggar posted:how is this news to you? have you never read this thread before? i saw types and thought people were overreacting to some minor thing as per usual for this thread got drat
|
# ? Jul 10, 2016 16:59 |
|
go is bad.
|
# ? Jul 10, 2016 17:00 |
|
if its not java or c# you are doing it wrong
|
# ? Jul 10, 2016 17:00 |
|
Shaggar posted:if its not java or c# you are doing it wrong i usually do it wrong i just hoped go would be my savior our .net project is probably one of the worst in the world, microsoft used to stress test VS with it (and then gave up when it became too big)
|
# ? Jul 10, 2016 17:22 |
|
Shaggar posted:if its not java or c# you are doing it wrong
|
# ? Jul 10, 2016 17:24 |
|
actually yeah if you give developers a notion like visual studio solutions they're inevitably going to use it to mash hundreds of projects together without regard for which ones have anything to do with each other and which ones are really necessary to load in order to do the thing you're working on. just open up AllMyCompanysShit.sln
|
# ? Jul 10, 2016 17:51 |
|
Luigi Thirty posted:programming I am good at, geometry I am not rotating/translating the camera is the same as moving the geometry in the scene. you've already used rotation/translation matrices, so just apply one.
|
# ? Jul 10, 2016 17:55 |
|
i rewrote it to not use matrix math because i was just copy/pasting poo poo off the internet that i didn't understand lol
|
# ? Jul 10, 2016 17:58 |
|
fleshweasel posted:actually yeah if you give developers a notion like visual studio solutions they're inevitably going to use it to mash hundreds of projects together without regard for which ones have anything to do with each other and which ones are really necessary to load in order to do the thing you're working on. just open up AllMyCompanysShit.sln yeah the VS solution/project layout is dumb. the eclipse workspace one is much better cause it encourages separation of projects.
|
# ? Jul 10, 2016 17:59 |
|
|
# ? May 25, 2024 13:19 |
|
brb importing from half of github in an ad-hoc nonrepeatable manor to maybe build a project because of a bad design decision that only benefits googlers
|
# ? Jul 10, 2016 18:01 |