« first day (349 days earlier)      last day (344 days later) » 

user1804599
8:29 AM
@NickL we use some F# and soon Scala.
 
9:11 AM
@ReedCopsey Yeah, you can see from the tests I did earlier that day that I tested with something like tuples with integers. I need to generate a test with type references in it too to see if there is any significant performance drop.
I have never been so excited about benchmarking stuff
 
10:11 AM
@ReedCopsey like a boss!
 
 
8 hours later…
6:35 PM
@AndréSilva In general, you'll find that the speed should be very similar (they use the same runtime) - the main differences are algorithmic
though F# does have one huge advantage - you can get tailcall instructions in recursive functions, so anything recursive can be much better in F# vs. C#
 
God damnit Reed
I'm not sleeping anymore
I'm trying all the different stuff to learn
Trying some benchmarks
 
I'm really liking F#
 
7:01 PM
hehehe - F# is awesome
welcome to the club - and just wait until you find the really cool features
ie: type providers, agents, pattern matching, computational expressions, quotations ;)
 
Dude...
Units of measure got me
 
7:16 PM
:)
 
But let me tell ya, it is really hard to learn a new language when I've been stuck with the same language for 4 years
 
it's a good idea to at least try to learn or play with a new language every couple of years
you end up being a much better developer that way
 
If only I did not waste so much time
A person here at the office ( he always says he knows it all even though he is full of shit )
I was talking to my manager about F# just to chat
And he appeared out of the shadows and said : "It is foolish to invest in F#, it is a dying language already"...
I said "Have you ever used ? Have you ever searched about its growing market ?"
He said "I used to interact with javascript and it was horrible"
 
So he buried it.
 
heh
It was the 3rd fastest growing language in 2013 according to the Tiobe index ;)
 
7:23 PM
He obviously did something wrong, couldn't learn anything new and said it was shit because he can't make it work
 
behind T-SQL and Objective-C
 
T-SQL? haha amazing
 
and the one that went the highest in terms of ranking change, by a lot
from 45th most popular to 16th ;)
it's also fully supported by microsoft as a Visual Studio language (shipped in the box), still being developed, has a great open source community including 3rd party platform support (xamarin supports it very well), etc
so it's very, very far from dying
 
And so is WPF.
 
Haha excelent link
F# is really getting me excited.
And since you can do a OO-like in F#, it seems like a non-stop growing market
 
7:52 PM
I'm out. TTYL
 
 
1 hour later…
9:13 PM
But you said "impure languages suck."
 
user1804599
I didn’t. :x
 
user1804599
2 messages moved from Java Sucks
 
Oh, this room seems to be quite alive!
 
user1804599
It is.
 
user1804599
It’s become F# room. :P
 
9:14 PM
> It’s like drugs without the side-effects
LOL
 
user1804599
9:34 PM
@FredOverflow What do you like most about Scala?
 
@rightfold I don't know... pretty much all it offers beyond Java. Higher-order functions, pattern matching... the usual stuff.
 
user1804599
scala> class +
defined class $plus

scala> new $plus
res3: + = $plus@3fe2afac
 
user1804599
This is funny.
 
user1804599
@FredOverflow Ah, I see. :)
 
I never understood traits, though.
 
user1804599
9:40 PM
Why not?
 
user1804599
They are just a weird hybrid of interfaces and mixins.
 
I don't know... I never had any uses cases for them. I guess because I'm not too fond of implementation inheritance...
 
user1804599
I like subtype polymorphism with abstract bases.
 
user1804599
And traits are perfect abstract bases.
 
user1804599
Abstract bases make decoupling easy.
 
9:41 PM
Abstract bases are simply not how I roll. Let's keep it at that :)
 
user1804599
trait UserRepository {
    def findByID(id: Long): Option[User]
}

class InMemoryUserRepository extends UserRepository { … } // use during unit testing
class PostgreSQLUserRepository extends UserRepository { … } // use in production
 
user1804599
This is useful. Of course you can acquire the same results using dynamic typing or using weird HOF/generic hackery, but this is actually clear and easy to understand.
 
user1804599
I don’t like overuse of generics.
 
user1804599
It makes code very difficult to change because you have to update a lot of type annotations everywhere.
 
10:12 PM
@rightfold This is what it feels like trying to get anything done in Java.
Hm, wrong room :)
 
user1804599
@FredOverflow vimeo.com/9981123
 
mmm - no, not really ;)
I think this is a perfectly appropriate room for that comment
 
@rightfold Gotta love the file name. I wonder how many files there are, total.
 
user1804599
:D
 
This has to be generated code, right? I mean, nobody would be able to maintain this shit by hand.
 
user1804599
10:16 PM
@FredOverflow You’d think.
 
@FredOverflow which one?
 
user1804599
People are actively maintaining crap like Magento. two.java probably isn’t even half as bad as Magento is.
 
@JohanLarsson I don't understand your question.
 
Maybe you felt like the woman watching the mess?
 
user1804599
brb shower
 
10:17 PM
Oh. I meant Beavis. Like, you have to chew through a lot of legs :)
 
ok :)
 
@JohanLarsson I was bored today, so I wrote the classic (but not so quick) Quicksort. Thoughts?
 
@FredOverflow I have 0 cs schooling and have never written a quicksort. Code looks clean and nice is all I can say :)
 
But you are an FP person, right?
 
a wannabee
been failing at starting to use F# for useful stuff
 
10:29 PM
 
yes that's me when I had hair
@FredOverflow do you write a functional language at work?
 
user1804599
@JohanLarsson try Scala.
 
I've grown attached to VS, would loose a lot of blood if I tried to separate from it I think
@rightfold do you use Vim for it?
 
user1804599
10:46 PM
Sublime Text 2 and Z shell.
 
shrug
on Saturday you will have more rep than I have :D
 
user1804599
I should write a Sublime Text 2 plug-in that runs sbt '~test' in the background and automatically reports through icons in the source code view which tests are failing.
 
have yuo seen anything negative wit tests ths far?
 
user1804599
If you do not write them with care, they become a mess.
 
ime they hurt refactoring and moving stuff around
 
user1804599
10:51 PM
The contrary. You will be sure no code is broken by the refactorings.
 
I find them extremely useful when prototyping though
I know that they are telling you what broke when refactoring and that is nice
the pain is that the codebase is 2x cos of the tests and moving things is much slower
 
@JohanLarsson Na, mostly C++ and Java. Although C++ is a <functional> language, if you will :) Also, Java 8 has lambdas...
 
do you like your job?
 
I don't have a stomachache going to work :)
I love giving lectures, but I had my last lecture this week.
Next semester is tutoring only.
 
user1804599
11:19 PM
I am going to sleep.
 
user1804599
Goodbye.
 

« first day (349 days earlier)      last day (344 days later) »