HNHacker News
TopNewBestAskShowJobs

Peteris

1,824 karma · joined May 16, 2011

http://twitter.com/p_e
submissionscomments
Peteris··on Show HN: Here's our Cambridge Appathon entry
The more you slide something to the right, the more you care about it being high.
Peteris··on Introducing a new data structure, streams, in Javascript
Embracing functional programming in Javascript is trending. All these dollars, underscores and streams will make for an interesting benchmark against ClojureScript as it matures.

In ClojureScript, streams or lazy lists are an integral language feature. Standalone javascript libraries can not provide a functional framework of the same calibre. You would naturally end up wanting to, e.g., run an underscore.js chain on a stream and that would require more work.

Peteris··on Poll: Allman or K&R Indentation?
There are some languages, e.g., javascript, which practically force you to use K&R. In C++ and Java, I always prefer Allman though. Of course it is more readable than K&R, but, I think the choice is driven by the editor. I use Vim, which makes it dead easy to manipulate lines as a whole. I also like to have single statements without braces, so it is much easier for me to to quickly remove stray '{'s or add them as needed when the number of statements changes within a block.
Peteris··on Can a £15 computer solve the programming gap?
The official website is http://raspberrypi.org/.
← PreviousPage 3 of 3