News for hackers. Stuff that matters.
Re:Why I love Common Lisp and hate Java (2012) by sanderjd on Saturday November 03, 2018 @10:56PM (#18373858)
So going back to the original commenter's points: how does Swift handle top-level code? Where is it legal for me to write print("Hello, World")?
Re:Why I love Common Lisp and hate Java (2012) by saagarjha on Saturday November 03, 2018 @11:07PM (#18373916)
Anywhere outside of things like a class or structure definition, if you have a single-file project. In a multi-file project, only in main.swift.