News for hackers. Stuff that matters.

noobymatze

Re:Java for beginners on Friday June 23, 2017 @09:44AM (#14619076)
There is a utility method `Files.readAllLines` [1] (even since Java 7) which gives you a List<String>. Since Java 8 there is even a lazy variant `Files.lines()` [2], which returns a Stream<String>. Though you gotta be a bit careful with that last one and be sure to close the underlying reader, as mentioned in the docs.

I get your sentiment though.

[1]: https://docs.oracle.com/javase/7/docs/api/java/nio/file/File... [2]: https://docs.oracle.com/javase/8/docs/api/java/nio/file/File...

Re:The Rustonomicon: The Dark Arts of Advanced and Unsafe Rust on Thursday September 17, 2015 @04:17PM (#10235788)
Ah, obviously I have some reading up to do, thanks. :)

The one from Fable actually seems to be an alteration as well, giving me about the same idea about the content as knowing the actual reference would have. Fun stuff.

Re:The Rustonomicon: The Dark Arts of Advanced and Unsafe Rust on Thursday September 17, 2015 @03:39PM (#10235578)
Am I right in assuming, that the name is a reference to the Normanomicon from Fable II and Fable III? It's just priceless.

Thanks to all involved with Rust (also in light of the 1.3 release). From what I can tell (passively reading about language decisions and seeing the responsiveness of all involved on various communication channels), it's a great lesson in building a community while simultaneously creating a fun programming language.

I hope, I'll come to use it at work at some point.

P.S. First comment ever on the internet anywhere, hope I didn't violate any guidelines.