News for hackers. Stuff that matters.
Re:Swift: Things I really wanted that won’t make it by supster on Thursday May 19, 2016 @07:07PM (#11734556)
why? don't you need side effects, like print("hello world")
Re:Swift: Things I really wanted that won’t make it by chris_7 on Thursday May 19, 2016 @07:24PM (#11734637)
That is an expression that returns Void.
Re:Swift: Things I really wanted that won’t make it by jacobwcarlson on Thursday May 19, 2016 @07:39PM (#11734706)
It would be nice if that returned the number of characters printed, ala sprintf() in c.
Re:Swift: Things I really wanted that won’t make it by jackweirdy on Friday May 20, 2016 @06:45AM (#11736819)
In my opinion, that would go against the principle of least surprise.