Global Feed Post Login
Replying to Avatar Daniel Wigton

Yeah it only works for one-liners with no else clauses. Sure it can be "nice" but in my distant (15 years ago) experience Ruby gets so loaded up with sugar you can't figure out what the computer is even doing anymore.

I think half the reason that Ruby is dog slow is because the developers purposely write their code to hide implementation details to keep the interface "nice". Everyone ends up calling code with unknown costs that is doing a bunch of unnecessary magic.

Rails philosophy of "convention over configuration" is an example. If you do things in the conventional way it all just magically works. But to a developer unfamiliar with those conventions it is a black magic mystery why it works at all.

Avatar
ᴛʜᴇ ᴅᴇᴀᴛʜ ᴏꜰ ᴍʟᴇᴋᴜ 5mo ago

yeah, javascript has a lot of that, all OOP languages have a lot of that (which includes JS). the worst you have to deal with in Go is interfaces, but a good IDE symbol database makes that easy. Go is a bit harder to see it because of implicit satisfaction of interfaces, where java has explicit declaration of interfaces.

Reply to this note

Please Login to reply.

Discussion

No replies yet.