Here is some scala code does the same thing FileIterator("input.txt").map{_.split('@').last}.distinct.toFile("output.txt") Lets compare it to the Python version. It looks much shorter, but many constructs are similar to…
It should be fairly clear from the responses to your post that the characterization of this reaction as a "lynch mob" does not meet the established standard of usage of this term. Getting universally criticized for a…
> Frankly, posting and upvoting that sort of comment is the behavior of a lynch mob. Posting a photograph of a victim of a lynch mob http://upload.wikimedia.org/wikipedia/commons/d/d5/Lynching2... I think Armstrong…
Are you the same guy as ramkahen on reddit? _ has only one meaning => "unspecified" http://www.reddit.com/r/programming/comments/uk015/kotlin_m2...
> Furthermore, insofar as you create competition to hold that position, you're creating a destructive work environment. Software development is a cooperative activity that can't be efficiently partitioned. Seen way too…
> Three undergrads Correction : A Professor(Manindra Agrawal) who had been working on the problem for quite some time and 2 undergrads.
+100 for Scala. You can pry the super powerful type system, functional programming support, monad comprehensions, library ecosystem, IDE support from my cold dead hands :D
Reading your response, I think I need to read more on the topic. I haven't read Moggi's paper and I need to look up on the continuation Monad. You are probably correct and I am probably wrong. However, I will let my…
I don't know how else to put it, but at least half of what you have written above is completely wrong. > but they're less useful in other languages where you already have effects everywhere. Scala has side effects…
Interesting, this seems very similar to Haskell at a very basic level. A Haskell program consists of declarations of functions and constants. Constants belong to the class Eq…
Any one with work experience and common sense can tell that talking to boss^2 and HR is a recipe for disaster. You are also unwilling to challenge michael's claim that he was meeting expectations and in the midst of a…
http://blog.sigfpe.com/ http://lambda-the-ultimate.org/
Off topic comment. Just tried the surface RT at the Microsoft store today. I think its awesome. I am considering the surface PRO for purchase. However, I am concerned that I cannot use it as a "laptop" i.e. balance the…
Some examples 1. Purely declarative animations in a general purpose language http://conal.net/fran/tutorial.htm 2. A recursive descent parser where you can declare your grammar as in yacc i.e. it is not a separate…
I have never agreed more with a HN comment than this time. This has to be the worst post by Yegge in terms of the negative impact it can have on software engineers and engineering. He took a technical topic and labelled…
Gates was indeed a programming genius. He wrote the BASIC interpreter and most of the software in Microsoft's early days. He also managed to publish an algorithm with Papadimitriou as an undergrad, while running…
Steve Yegge was also unable to successfully maintain a not-too-complex 2D game and managed to blame Java for it http://steve-yegge.blogspot.com/2007/12/codes-worst-enemy.ht... 10Xer imples 10X some base level. Depending…
> I have not seen a case of wrongful execution as bad as this I have bad news. This is a "typical" death row victim story. There have been several others like him.…
Its an April Fools joke. 3) was true until a few months ago. Or maybe its because I switched from a remote source repo mounted via Samba to a local flash HDD :-) I have been using Eclipse trouble free for a few months…
Scala is far more object oriented than Java. So + is a method of the Int object and you can write 2.+(3) instead of 2+3. Methods are allowed to be operators, so that you can write 2+3 instead of 2.+(3). If _ is a…
> Basically, if you produce two ultrasonic frequencies, they will create an interference pattern at a much lower frequency than either of the individual frequencies. So the interference pattern will be made up of…
You have fouled up in the marketing department. You need to geo-target. You need to focus on a geographically dense close cluster for you initial release. Probably a business district with lots of small offices where…
What are the specific features from dynamically typed languages that you would want to see in a statically typed program. The standard argument is "ease of use", but programs in modern static languages tend to be as…
I have tried writing non-trivial Haskell programs in the past, but the IOMonad/lack of parameterized modules has stifled me. Essentially, I start with basic code and possibly use some constants in the beginning.…
He did muddle around the definition of one way functions, but the information provided is useful. http://home.comcast.net/~bretm/hash/8.html This seems to indicate that CRC is not a good fit for hashing. I have used…
Here is some scala code does the same thing FileIterator("input.txt").map{_.split('@').last}.distinct.toFile("output.txt") Lets compare it to the Python version. It looks much shorter, but many constructs are similar to…
It should be fairly clear from the responses to your post that the characterization of this reaction as a "lynch mob" does not meet the established standard of usage of this term. Getting universally criticized for a…
> Frankly, posting and upvoting that sort of comment is the behavior of a lynch mob. Posting a photograph of a victim of a lynch mob http://upload.wikimedia.org/wikipedia/commons/d/d5/Lynching2... I think Armstrong…
Are you the same guy as ramkahen on reddit? _ has only one meaning => "unspecified" http://www.reddit.com/r/programming/comments/uk015/kotlin_m2...
> Furthermore, insofar as you create competition to hold that position, you're creating a destructive work environment. Software development is a cooperative activity that can't be efficiently partitioned. Seen way too…
> Three undergrads Correction : A Professor(Manindra Agrawal) who had been working on the problem for quite some time and 2 undergrads.
+100 for Scala. You can pry the super powerful type system, functional programming support, monad comprehensions, library ecosystem, IDE support from my cold dead hands :D
Reading your response, I think I need to read more on the topic. I haven't read Moggi's paper and I need to look up on the continuation Monad. You are probably correct and I am probably wrong. However, I will let my…
I don't know how else to put it, but at least half of what you have written above is completely wrong. > but they're less useful in other languages where you already have effects everywhere. Scala has side effects…
Interesting, this seems very similar to Haskell at a very basic level. A Haskell program consists of declarations of functions and constants. Constants belong to the class Eq…
Any one with work experience and common sense can tell that talking to boss^2 and HR is a recipe for disaster. You are also unwilling to challenge michael's claim that he was meeting expectations and in the midst of a…
http://blog.sigfpe.com/ http://lambda-the-ultimate.org/
Off topic comment. Just tried the surface RT at the Microsoft store today. I think its awesome. I am considering the surface PRO for purchase. However, I am concerned that I cannot use it as a "laptop" i.e. balance the…
Some examples 1. Purely declarative animations in a general purpose language http://conal.net/fran/tutorial.htm 2. A recursive descent parser where you can declare your grammar as in yacc i.e. it is not a separate…
I have never agreed more with a HN comment than this time. This has to be the worst post by Yegge in terms of the negative impact it can have on software engineers and engineering. He took a technical topic and labelled…
Gates was indeed a programming genius. He wrote the BASIC interpreter and most of the software in Microsoft's early days. He also managed to publish an algorithm with Papadimitriou as an undergrad, while running…
Steve Yegge was also unable to successfully maintain a not-too-complex 2D game and managed to blame Java for it http://steve-yegge.blogspot.com/2007/12/codes-worst-enemy.ht... 10Xer imples 10X some base level. Depending…
> I have not seen a case of wrongful execution as bad as this I have bad news. This is a "typical" death row victim story. There have been several others like him.…
Its an April Fools joke. 3) was true until a few months ago. Or maybe its because I switched from a remote source repo mounted via Samba to a local flash HDD :-) I have been using Eclipse trouble free for a few months…
Scala is far more object oriented than Java. So + is a method of the Int object and you can write 2.+(3) instead of 2+3. Methods are allowed to be operators, so that you can write 2+3 instead of 2.+(3). If _ is a…
> Basically, if you produce two ultrasonic frequencies, they will create an interference pattern at a much lower frequency than either of the individual frequencies. So the interference pattern will be made up of…
You have fouled up in the marketing department. You need to geo-target. You need to focus on a geographically dense close cluster for you initial release. Probably a business district with lots of small offices where…
What are the specific features from dynamically typed languages that you would want to see in a statically typed program. The standard argument is "ease of use", but programs in modern static languages tend to be as…
I have tried writing non-trivial Haskell programs in the past, but the IOMonad/lack of parameterized modules has stifled me. Essentially, I start with basic code and possibly use some constants in the beginning.…
He did muddle around the definition of one way functions, but the information provided is useful. http://home.comcast.net/~bretm/hash/8.html This seems to indicate that CRC is not a good fit for hashing. I have used…