Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In Ruby, chat = RubyLLM.chat is a method call since Ruby doesn't have properties, only methods. Dropping parentheses is standard Ruby style, familiar to Ruby developers. While adding parentheses is allowed, it doesn't match Ruby's readability. The library aims for a clean style consistent with Ruby conventions.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: