HN user

jamiltron

30 karma
Posts0
Comments24
View on HN
No posts found.

The use of IQ tests is already suspect, but then I saw that the author is tracking the political leanings of LLMs by using that silly economic/authoritarian political compass - so they seem pretty committed to "tracking" useless noise.

And as someone who has coded both Python and Ruby on the job, and most recently Scala, I find the amount of time I'm debugging runtime errors much less in Scala, which is very valuable.

I also don't feel the amount of code I am writing to be all that significantly larger than what I was writing in Python/Ruby.

And makes your code 20% longer

Not necessarily true, especially if you are using a language with type-inference or you are able to encode your logic in types.

Additionally - what do you think unit tests are? They aren't additional code you have to write?

I'm not someone who thinks types completely reduce the need for testing, but I absolutely do not get why dynamic language fans are like "Uhg, I HATE having to write types", but then end up basically reimplementing a type system in a much more verbose testing framework.

But that's what makes Threes superior, for me - the needing to add 1 and 2, and the fact that they don't match each other makes for a more difficult game that requires much more thought. The fact that you can make matches with the basic tile that has the highest percentage of popping on the board every moves means that there are less consequences to not making the optimal move each turn.

That's just my opinion of course, but 2048 seems annoyingly easy - so much so that the up right down left repeat strategy is very valid to score a somewhat decent score when compared to some players.

New GitHub Logo 13 years ago

I assumed since she is part octopus, she probably just got out of the ocean or something /shrug

Python at Netflix 13 years ago

Lambda expressions are not necessarily first-class functions (I mean, they are in Python, but so is any other old function).

First class functions simply mean that a language treats functions as it would nearly any other data type, namely that they may be passed as parameters, bound to variables, and returned from other functions.

Python's poor handling of lambda expressions do not invalidate that functions are first-class citizens.

My girlfriend worked in crime scene investigation. I think they probably have it way worse than programmers when it comes to public perception of the job based on shows and movies.

ClojureScript 15 years ago

I have been tinkering with Clojure off and on for the past year, and I only recently have started with Clojure's web technologies.

Currently the documentation is a mess. I've slowely been learning by looking at very basic examples, and then needing to read source code to fill in the details for the stuff I wanted to do.

While there's a great deal of excitment for ClojureScript, I feel that it as an entry point (at least for me) wouldn't have enough docs for me to learn quick enough so I wouldn't become frustrated. YMMV, of course, but I think you'd be better off looking at Compojure or Moustache, Enlive or Hiccup, and Ring , or even Noir: www.webnoir.com

What is the state of using Clojure to develop for Android? Everything I see on the subject is pretty dated. I see that people are saying that until recently getting a Clojure REPL on Android wasn't possible - so do the technical changes that allow this better facilitate using Clojure on Android?