Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Sohcahtoa82
24 days ago
|
parent
|
context
|
favorite
| on:
Python classes aren’t always the best solution
Yes. They probably learned Java first.
callc
24 days ago
[–]
+1. I learned Java first, in school and on my own. I needed to unlearn the OOP-first mindset.
AstroBen
24 days ago
|
parent
|
next
[–]
This has nothing to do with OOP. A class with a single static method isn't OOP
You can use the 'class' keyword and write your program functionally, or procedurally
Jtsummers
24 days ago
|
parent
|
prev
[–]
So you actually thought you needed, in Python, classes with static methods instead of just plain old modules? What was your first Python "hello world" like?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: