Further, it makes it easier to mix functionality and layout in 1 file. That's not really neat, but it's damn convenient (like PHP)
And makes it equally unmaintainable (like PHP*)
*PHP written badly, like mixing presentation and logic.
if thats really what your thing use PHP + JAVA + Quercus
"Free functions" means functions not associated with a class. Ie. a global main() function, rather than being forced to wrap up all functions inside a class performing the same duties as a namespace. This has nothing to do with the actual free() function, and nothing to do with garbage collection.
I fail to see the added value here. //edit Perhaps its too alien to me as only parsely write static methods like the ones you outlined. //edit2 Frobnicate seems like something very general and unspecific. perhaps its a bad example
Would also love to block-declare visibility with public {}, but only variable declarations as methods are usually spaced much further apart.
Write an ide plugin for that?
also the syntax mentioned before with removing the {}, is tbh goddam awefull. If you keep your cyclomatic complexity down as you (inmost cases) should, Indents are hardly any problem next to that any decent ide supports single/double space indentation coupled with widescreen monitors coupled with monitor sizes of these days. sorry It doesn't make sense to me.
about const there are 2 'bugs' with a lot of votes that are related.
About closesures and the prosposed long hand syntax well yeah it's ugly.(short hand is nice, and gets my support) I'm not sure what to change the long bit into, I gotta mount a defence to that. Since it's only needed whenn defining a clossure It can be longer then the long hand syntax is now.