172 karma · joined March 15, 2012
There are a few typos, but the most glaring one was the incomplete python code underneath the "Code Structure" heading:
l = [1, 2, 3, 4, 5]
for i in l i = i*i
for i in l if (i mod 2 == 0)
print l
I assume the author wanted to show how the list was mutated. And those conditionals need trailing colons :)
I'd be interested if anyone has some similar pieces to share.
Slight tangent - people often say learning Haskell is worth it for the eye opening experience it provides, regardless of whether you get to use it day-to-day. Would you say the same of Erlang and Elixir?
Kudos for the Simpson's references; that's one of my favorite episodes :) I look forward to more of these.
In the end, I was able to do what I needed to, albeit not on mobile due to performance issues, but I wouldn't choose to use it again if it was up to me. It just felt too bloated, and I'd much rather work with various smaller libraries, and fill in the gaps as needed.
I'm not interested in language wars, just genuinely curious about your statement.
That being said, you should absolutely at least learn the basics of working directly with databases. ORMs are a leaky abstraction, and you will run into situations where it's easier to drop into raw SQL to get the job done. Think of it like this: using GPS while driving is fine 95% of the time, but when it malfunctions or breaks, you're screwed unless you know how to read a map or ask for directions ;)
This is coming from someone who writes a lot of PHP.
Out of curiosity, how difficult did you find this to complete?