一年前編寫了 中文程式設計專欄目錄, 初衷和希冀
, 一路上各種實踐與讨論. 現将專欄内容覆寫範圍重新歸納.
如"中文程式設計"字面所言, 所有使用中文進行程式編寫的理論和實踐都在覆寫範圍. 下面兩部分相輔相成:
中文命名
命名包括類/接口名, 變/常量, 方法名, 資料庫中的表/列名, HTML中的ID名等等所有可以使用Unicode命名的部分.
- 在編寫新代碼時使用中文命名
- 對現有英文命名的代碼特别是API進行中文化
中文文法程式設計語言及開發環境(IDE)
- 建立新的程式設計語言
- 中文化現有程式設計語言與核心庫
- 開發相應的IDE支援
為支援上述實踐, 需要相關的工具開發, 比如對現有代碼進行中文化的輔助工具, IDE對中文輸入的輔助功能等等.
希望認識對中文程式設計任何方面有興趣和經驗的同好, 為推進中文程式設計的實踐, 交流, 推廣和市場化群策群力. 望各位多多進言, 踴躍投稿!
此文開始, 今後的部分文章将發表在Medium的
中文程式設計欄目. 此前一年的部分文章将以合輯的形式進行總結. 鑒于多數Medium使用者為英文使用者, 特此編寫英文摘要:
Abstract
The Zhihu column
中文程式設計is one year old, and here is a revision of our goals.
This publication "Programming in Chinese" aims at both naming in Chinese and Chinese-based programming languages.
Naming in Chinese includes writing new code with Chinese naming and converting existing code with English naming to Chinese naming, especially APIs.
Chinese-based programming languages similarly include creating new programming languages and translating existing language syntax & SDKs to Chinese, plus corresponding IDE support.
There need to be tools to support practices above, including assistant for translating existing code, IDE features to support Chinese input, etc.
Looking forward to knowing anyone who's interested in any way!
In the future part of the articles of the
column will be re-posted here.
2018-11-08