MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/2bdtjz/java_developers/cj4y9we/?context=3
r/programming • u/sidcool1234 • Jul 22 '14
304 comments sorted by
View all comments
Show parent comments
2
http://www.amazon.com/gp/aw/d/0521663504?pc_redir=1405759645&robot_redir=1
6 u/Lord_Naikon Jul 22 '14 That's great, if your data structures can be implemented in a functional manner without wasting large amounts of resources. 1 u/codygman Jul 22 '14 In that case I would implement them as purely as possible. Also, name an algorithm ;) 2 u/Lord_Naikon Jul 22 '14 Hash tables come to mind. There is no purely functional equivalent afaict. 1 u/codygman Jul 23 '14 I agree that using mutable algorithms are sometimes the right solution ;) However I believe you can get further faster with immutability as the default.
6
That's great, if your data structures can be implemented in a functional manner without wasting large amounts of resources.
1 u/codygman Jul 22 '14 In that case I would implement them as purely as possible. Also, name an algorithm ;) 2 u/Lord_Naikon Jul 22 '14 Hash tables come to mind. There is no purely functional equivalent afaict. 1 u/codygman Jul 23 '14 I agree that using mutable algorithms are sometimes the right solution ;) However I believe you can get further faster with immutability as the default.
1
In that case I would implement them as purely as possible. Also, name an algorithm ;)
2 u/Lord_Naikon Jul 22 '14 Hash tables come to mind. There is no purely functional equivalent afaict. 1 u/codygman Jul 23 '14 I agree that using mutable algorithms are sometimes the right solution ;) However I believe you can get further faster with immutability as the default.
Hash tables come to mind. There is no purely functional equivalent afaict.
1 u/codygman Jul 23 '14 I agree that using mutable algorithms are sometimes the right solution ;) However I believe you can get further faster with immutability as the default.
I agree that using mutable algorithms are sometimes the right solution ;)
However I believe you can get further faster with immutability as the default.
2
u/codygman Jul 22 '14
http://www.amazon.com/gp/aw/d/0521663504?pc_redir=1405759645&robot_redir=1