B1 中級 其他腔 115 分類 收藏
開始影片後,點擊或框選字幕可以立即查詢單字
字庫載入中…
回報字幕錯誤
Why is Java so hard to learn?
Java has unused keywords like goto. Java convenience functions have to be overloaded for basic
types like doubles and float.
It sounds like Spanish, where you learn the formal plural you that no one uses except
in text books or the thee and thou only used in Shakespeare.
Another reason Java is hard to learn is because Java is verbose, taking a lot of text to issue
a command. For example, Java class definitions are really long.
That's a lot like Spanish, taking ten words to say the equivalent of the quick brown dog.
Java used to limit you to one exception per catch clause. If you needed 10 exceptions,
you had to rewrite the code at least nine times.
Repetition would add to the verbosity. But a lot of programmers like Java because it
has massive pre-existing code libraries so you don't have to re-invent the wheel.
Java libraries don't have consistent naming for functions. Nor do they have standard acronyms
or capitalization.
So re-using the code requires wandering through and looking for variable names to change.
You would not believe how many coders have problems because they have not learned to
do that yet.
I can not remember the name of the text editor app I saw that's entire job was converting
names of things to a standard types and text.
Java has tons of type conversions, and this just clutters the code.
And your memory.
Java makes you turn everything into an object, much of which must be buffered.
That's why it is called object oriented programming.
Java 7 and earlier versions did not let you use multiple inheritances. So you had to write
that much more code to handle inheritances between code modules and embedded Java modules.
That would definitely make it harder to insert existing code modules or embedded software.
And Unicode can break your code.
No one taught me that yet. No wonder it is uniformly considered hard to learn.
提示:點選文章或是影片下面的字幕單字,可以直接快速翻譯喔!

載入中…

为何java很难学 (Why is Java so Hard to Learn?)

115 分類 收藏
劉佳豪 發佈於 2018 年 11 月 10 日
看更多推薦影片
  1. 1. 單字查詢

    在字幕上選取單字即可即時查詢單字喔!

  2. 2. 單句重複播放

    可重複聽取一句單句,加強聽力!

  3. 3. 使用快速鍵

    使用影片快速鍵,讓學習更有效率!

  4. 4. 關閉語言字幕

    進階版練習可關閉字幕純聽英文哦!

  5. 5. 內嵌播放器

    可以將英文字幕學習播放器內嵌到部落格等地方喔

  6. 6. 展開播放器

    可隱藏右方全文及字典欄位,觀看影片更舒適!

  1. 英文聽力測驗

    挑戰字幕英文聽力測驗!

  1. 點擊展開筆記本讓你看的更舒服

  1. UrbanDictionary 俚語字典整合查詢。一般字典查詢不到你滿意的解譯,不妨使用「俚語字典」,或許會讓你有滿意的答案喔