We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
把程式碼包裝成物件,不等於物件導向 我沒辦法告訴你要怎樣寫才能寫出「物件導向」的程式 但有個很簡單的檢驗方式:檢視自己寫的程式碼,能不能適用多種環境?例如spider物件可以拿來爬不同的網站,而不是單一的網站 以及,思考自己的程式碼,是否有重複的地方 在思考的同時,也要想著物件的那些概念(繼承、多形、方法、屬性等等),能否應用病解決問題
The text was updated successfully, but these errors were encountered:
spider = 爬、解析 channel 繼承 spider,自己爬、自己的解析、getAll{return post}、size post.parse()
Sorry, something went wrong.
linroex
No branches or pull requests
把程式碼包裝成物件,不等於物件導向
我沒辦法告訴你要怎樣寫才能寫出「物件導向」的程式
但有個很簡單的檢驗方式:檢視自己寫的程式碼,能不能適用多種環境?例如spider物件可以拿來爬不同的網站,而不是單一的網站
以及,思考自己的程式碼,是否有重複的地方
在思考的同時,也要想著物件的那些概念(繼承、多形、方法、屬性等等),能否應用病解決問題
The text was updated successfully, but these errors were encountered: