有一節計算機編程課做習題時分三人一組,用 C++ 計算機語言編寫一套圖書館自動管理程序,包含借書、還書、借書量限制以及過期罰款等多項功能。組裡有一位從大陸來的男生小 Z,正在讀計算機科學碩士學位。他寫代碼的能力很強,但我也不賴。另一位是個有倆孩子的媽媽,印度人,也在讀碩士。她丈夫是 SU 的 Information Science and Technology(信息科學和技術)系的教授。她編程能力相對來說差一些,但用英文寫實驗報告的能力比我們強多了。所以我們優勢互補,相處很融洽。
在實驗室裡編程,她晚上總會帶來熱乎乎的 burrito(墨西哥捲餅)給我們吃。後來她告訴我,她丈夫聽了她的描述,感嘆道:「要是能讓 Fen 當我的助手就好了,我負責策劃設計,Fen 迅速執行,我們倆一定是個絕佳搭檔。」
另外一門課是 INTR/COMPUTATNL SCI(計算科學導論),課上要用 UNIX 系統上的 Emacs editor(文本編輯器),編寫一個視頻動畫程序,通過數學公式和複雜的計算,用代碼把宇宙飛船飛往月球和土星的運行軌跡給算出來,並畫在屏幕上。
一艘宇宙飛船從地球出發後,沿著軌道去月球,然後又去土星繞一圈,再回地球。計算機科學的視頻動畫不像計算機藝術那樣美觀——地球、月亮、土星什麼的都只是一個個亮點,大小關係是按實際比例計算的,那火箭也只是一小光條兒。
這一節課對我來說是相當難。教授 50 多歲,清瘦、智慧、善良,淺髮稀疏,總是穿著一件灰色長外套。每次在校園裡看到他在寒風中走著的單薄身影,總讓我聯想起契訶夫筆下的「套中人」。這位教授上課時的語調極其平穩、機械、單調,沒波瀾,上課的內容又是枯燥、乏味的代碼在天體宇宙的運算。我每次上他的課,都要帶一大杯咖啡提神,但無濟於事,我總會被他那催眠的語調搞得瞌睡連連,咖啡因也徹底失去了作用。課堂裡一共才四五個學生,除了我一個東方女人,都是計算機學科的研究生、西方帥小伙。平時見不著,只有一個帥哥跟我說過幾句話,他是現役軍人,讀書好像不用付學費的。那堂課我只記住了兩個字:orbit(軌道)和 spaceship(宇宙飛船)。
我對控制不住的瞌睡感到非常尷尬和內疚。但要想拿到副修學位不得不修這門課,這位教授還是副系主任,當年就是通過他的點頭簽字我才讀的副科。最終畢業時,我沒好意思去系裡要那張計算機副科的紙質證書。
其實我對編程很感興趣,而且成績還不錯:
• PASCAL:A• INTRODUC TO C&C++(C 與 C++):A-
• DATA STRUCTURES(數據結構):A-
• INFORMATION NETWORKING(信息網絡):B-
• INTRO.COMP.SCI(計算機科學導論):B
• UNIX OPER SYSTEM&INTERNET(UNIX 操作系統與互聯網):A
• CPTR ORGAN&PROGRMMING SYST(計算機組織與編程系統):A-
• INTR/COMPUTATNL SCI(計算科學導論):B
感謝我的形象思維,我常常把抽象的概念具象化。比如我把數據庫想像成一棟大樓,裡面有樓層,層裡面有房間,房間裡有大立櫃,櫃子裡有抽屜;而 pointer(指針)是抽屜的地址,也就是那把開抽屜鎖的鑰匙。也可以用文件夾來比喻,大文件夾裡有小文件夾,有並列的文件夾,還可以有多層——雖然那時候我還沒怎麼接觸過 Windows,對文件夾還沒有那麼直觀的概念。
stack(棧)就像一口窄窄的枯井,把東西放進去叫 Push(推),取出來時叫 Pop(彈),因為開口只有一個,所以是後進的先出。
Queue(隊列)就像一根兩頭開著的細管子,把東西在管子的一端放進去叫 Enqueue(入隊),出來時在另外一端叫 Dequeue(出隊),是先進的先出。
發覺學生對一門課喜歡不喜歡,跟老師有很大的關係。另外一位教 recursive(遞歸)、binary tree(二叉樹)的教授年富力強,上課時精神飽滿,連擦黑板的時候身體都有跳躍感——並不是長得矮,就是那股子勁兒。
**********************************
Minoring in Computer Science at Syracuse University: "Stacks" in a Dry Well, "Queues" in a Thin Tube, and a Professor Like Chekhov's "Man in a Case"
In one computer programming course, we were assigned to three-person teams to develop an automated library management system using C++. The program had to handle functions such as checking books in and out, enforcing borrowing limits, and calculating fines for overdue items. One of my teammates was "Xiao Z," a male student from Mainland China who was pursuing a Master’s degree in Computer Science. He was a highly skilled coder—though I wasn't too shabby myself. The third member was an Indian woman, a mother of two, who was also a Master’s student. Her husband was a professor in the Department of Information Science and Technology at SU. While her programming skills were relatively weaker, she was far superior to us when it came to writing lab reports in English. Our strengths complemented each other perfectly, and we got along very well. Whenever we were working in the lab, she would bring us hot burritos in the evening. She later told me that upon hearing her describe our dynamic, her husband remarked, "If only Fen could be my assistant! I would handle the planning and design while Fen executes rapidly—we’d make an absolutely stellar team."
In another course, Introduction to Computational Science (listed on my transcript as "INTR/COMPUTATNL SCI"), we used the Emacs editor on a UNIX system to create an animated program. Through mathematical formulas and complex calculations, we coded the flight trajectories of a spacecraft traveling to the Moon and Saturn, rendering the movement on the screen.
The spacecraft would depart from Earth, travel along an orbit to the Moon, loop around Saturn, and finally return to Earth. Unlike computer art, which prioritizes aesthetics, this type of computer science animation was purely functional—Earth, the Moon, and Saturn appeared merely as points of light, scaled according to their actual relative sizes, while the rocket was represented by nothing more than a small streak of light.
This course proved to be quite challenging for me. The professor was in his fifties—lean, intelligent, and kind, with thinning, light-colored hair—and he was almost always seen wearing a long gray coat. Whenever I spotted his slender figure walking through the cold wind on campus, he invariably reminded me of the character from Chekhov’s story, "The Man in a Case." The professor’s tone during lectures was incredibly flat, mechanical, and monotonous—utterly devoid of inflection. To make matters worse, the subject matter consisted of dry, tedious code used for celestial and cosmic calculations.
Every time I attended his class, I brought a large cup of coffee to stay alert, but it was to no avail; his hypnotic delivery invariably lulled me into a state of drowsiness, rendering the caffeine completely ineffective. There were only four or five students in the class—myself (an Asian woman) and a group of handsome Western graduate students majoring in Computer Science. We rarely interacted, though one of the guys did exchange a few words with me; he was an active-duty service member, and it seemed his tuition was covered. From that entire course, the only two words I remember are "orbit" and "spaceship."
I felt deeply embarrassed and guilty about my inability to stay awake. However, taking this course was a mandatory requirement for my minor. As it happened, the professor was also the associate department chair—the very person whose approval had allowed me to pursue the minor in the first place. When I finally graduated, I felt too awkward to go to the department office to collect the physical certificate for my Computer Science minor.
In reality, I actually had a keen interest in programming, and I performed quite well in it:
• PASCAL: A
• INTRODUC TO C&C++ (Introduction to C & C++): A-
• DATA STRUCTURES: A-
• INFORMATION NETWORKING: B-
• INTRO.COMP.SCI (Introduction to Computer Science): B
• UNIX OPER SYSTEM&INTERNET (UNIX Operating System & Internet): A
• CPTR ORGAN&PROGRMMING SYST (Computer Organization & Programming Systems): A-
• INTR/COMPUTATNL SCI (Introduction to Computational Science): B
Thanks to my visual thinking style, I often translated abstract concepts into concrete imagery. For instance, I visualized a database as a large building: it had floors, floors contained rooms, rooms held large cabinets, and cabinets housed drawers. In this analogy, a "pointer" acted as the address of a drawer—or, effectively, the key that unlocked it. Alternatively, one could use the metaphor of folders: large folders containing smaller ones, folders arranged side-by-side, or even nested structures—though at the time, I hadn't really encountered Windows yet, so I didn't yet have an intuitive grasp of the "folder" concept.
A "stack" is like a narrow, dry well. Putting an item in is called a "Push," while taking one out is a "Pop." Since there is only one opening, the last item in is the first one out (LIFO).
A "queue" resembles a thin tube open at both ends. Inserting an item at one end is an "Enqueue," while removing it from the other end is a "Dequeue"—meaning the first item in is the first one out (FIFO).
I’ve realized that whether students enjoy a course often depends heavily on the instructor. Another professor, who taught recursion and binary trees, was in the prime of his life; he was always full of energy during lectures. Even when erasing the blackboard, he moved with a spring in his step—it wasn't because he was short, but simply because he possessed such a vibrant, spirited drive.
特別感謝 Gemini AI 提供充滿活力的翻譯和文本潤色。
Special thanks to Gemini AI for providing the spirited translation and text refinement.
第四百七十二篇


