[問卦] Python 出 type hint代表投降了?
Python之前標榜dynamic typing
弄出一堆 variable type不清不楚的code
現在有了type hint,是不是代表投降了呀?
就算runtime才決定type,變數終究還是得有type的,不然人類很難懂
Python在資料科學與機器學習極具價值,但初學者學python真的會被荼毒耶
--
※ PTT 留言評論
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 172.58.207.117 (美國)
※ PTT 網址
噓
滾回專版去
推
不是 但我喜歡同事的 code 有 type
→
hint
推
學 php用萬能的var不好嗎
→
我還是喜歡 Dyson
推
obj 也萬能啊
推
他媽的多個步驟不要這麼懶
噓
C++ auto, template 表示?
推
你現在不想寫 以後還是要還的
推
終究還是要搞懂變數型態的 為什麼不一開
→
始就學C
推
Java真香
噓
投降什麼?就只是滿足社群需求而已
推
C++最討厭看到auto….
噓
type hint是三小,沒用過喇
推
python本來就不是給新手學的東西,學
→
校請教C,學觀念很重要
→
C++ auto
→
我覺得工具越來越懶人化是必須的,又不
→
是所有程式都追求 performance
推
Intellij超棒的 瘋狂tab
推
type deduction 跟dynamic typing 又
→
不一樣..講auto 是在?
推
auto是幫你推斷型別 真要說的話是any吧
推
學PHP就好啦
52
Re: [問卦] EXCEL VBA值得花時間去學嗎認真回,學Python,然後 1. 把Excel資料丟到google spreadsheet上當關聯式資料庫用, 2. 用python pandas整理資料 3. 用datastudio做視覺化分析或定期觀察儀表板 這是我最推薦新手入門數據分析的工具組合。44
[問卦] 初學Python是不是養成一堆壞習慣?現在流行入門學Python,真的會養成一堆壞習慣耶 昨天看學生寫的code,一堆人在那邊: for s in list: If list.index(s) % 2 == 0 看到快吐血17
[問卦] Python怎麼那麼難懂啊?variable type 不清楚,幹這數字到底是float還是int? function return type 也沒標記 function argument type 不知道是啥 oop語法有夠難懂 每次看python 的code都好痛苦20
[問題] 有沒有直接接TypeC螢幕的轉接器最近突然想到一種產品,但不知道現在有沒有人在開發還是已經有了 就是能讓switch直接用一條Type C線接Type C螢幕的「轉接器」(不是可攜式螢幕) 接法是 switch本體Type C孔----轉接器-----type C線------Type C螢幕 or Type C筆電 Switch沒辦法直接用一條Type C線接Type C螢幕,12
[問卦] 說真的 python才是最難學的吧?我自己已經摸兩年C了 最近開始自修python 打一打真的覺得這根本不像程式語言 反而像工具箱一樣 哪個function能做什麼事 背就對了8
[問卦] python 上手要多久?我阿宅啦 教授要我用python拿衛星資料跑機器學習 我之前只用過R, python 怎麽define怎麽command 都看不懂啊,我光下載個資料集就搞半天 現在才開始學來得及嗎?是不是涼了? -----7
[討論] 在 .NET 使用 Pythonnet 的應用情境板上各位大大好 最近工作有接觸到 Pythonnet 想請教一下有使用過 Pythonnet 大大的經驗 我們部門軟體的核心架構是使用.NET ( UI, Custom Class, Custom Collection... ) 為了使程式外部化,將部分功能的模組寫在 Python
爆
[問卦] 有沒有感覺兩岸真的會有戰事了爆
[問卦] 下星期五了!1500萬的金流噴出來了嗎?88
[問卦] 慟!!! 八卦人氣 359374
[爆卦] 科學家首次做出單電子共價鍵73
[爆卦] 石破茂當選次任自民黨總裁51
[問卦] 陳致遠:原來你那麼相信台灣的司法喔!我71
[問卦] 夜市牛排一客80塊 吃過的人都幾歲了?47
[爆卦] 《哈利波特》麥教授Maggie Smith辭世40
[問卦] 修蛋雞勒!40萬兵源不包含7年級惹吧^_^39
[問卦] 品客已經這麼貴了?!26
[問卦] 北斗台語怎麼念?35
[問卦] 川普認定俄國「會贏喔」!諷澤倫斯基是28
[問卦] 看到啦啦隊比基尼寫真 會選下面那位?31
[爆卦] 印尼輪姦少女致死的加害者父母不認錯30
[問卦] 包手師傅把雞腿排煎焦了……94
[問卦] 震撼!台灣的中藥大部分從中國進口?29
[問卦] 這幾晚PTT是三小?25
[問卦] 為什麼莫彩曦公公這麼有錢還是自己保養車26
[問卦] 震驚! 鄭中基竟然是新竹人!!!26
[問卦] 日本人:日本這次完了18
[問卦] 台積電變日積電,鄉民可接受嗎?44
[問卦] 為何8+9會家暴但是台女仍然很愛呢?49
[問卦] 理工科男回到古代,能開創現代文明嗎?16
[問卦] 現在連日本人都覺得台灣是詐騙國嗎?20
[問卦] 日本那個食物最雷?16
[問卦]人類真的完全拿車禍死亡沒辦法嗎?21
[問卦] 為什麼古人都喜歡身材比較豐腴的女生??18
[問卦] 南部人丹丹都點幾號?19
[問卦] =.= 股票ETF不跌下來大家都不工作了?19
[問卦] 石破茂會石破天驚拳嗎