Reply to post: Re: Learn all of them, but NOT Java

Q. What's today's top language? A. Python... no, wait, Java... no, C

Infernoz Bronze badge

Re: Learn all of them, but NOT Java

Or for most Java accessors, use project Lombok for much shorter code; it also covers lots of other common boilerplate code, including constructors, and common logging declarations.

Explicit accessors are sometimes compulsory, for validation and security-copying (to prevent mutable object exploits), and trace logging.

A lot of Python frankly looks like write-only code, because it never required type declarations method/function declaration, and I also suspect a lot of security/performance issues given how many easy, but dangerous assumptions it makes! I also view the Python API docs web pages as quite primitive and fugly compared to other language API docs like JavaDocs.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019