用mac寫程式的好處 - MAC

By Genevieve
at 2012-04-07T12:23
at 2012-04-07T12:23
Table of Contents
※ 引述《iincho (世界的盡頭)》之銘言:
: ※ 引述《Killercat (殺人貓™)》之銘言:
: : 5. 強迫自己跟別人POSIX標準
: : 這個應該很多人有這種經驗,接手一組code想要重複利用結果發現編譯錯誤一堆
: : 仔細一看裡面居然充斥了一堆win32 api像是CreateThread(...) CSocket...
: : 為什麼不乖乖用POSIX標準的__beginThreadEx跟SOCKET呢(怒吼)
: 這個Linux底下可以做得更好。
理論上來講,Mac OS X 的 POSIX 相容會比 linux, freebsd 這類的
unix-like os 來得完整,我看不出有 linux 會做得更好的理由。
再者 linux 的 developer 常常會把 linux 當作 unix 的全世界,
結果寫出一堆 linux only 的東西,別的系統要用還要 patch 來 patch 去,
最有名的就是 bashism 的現象,明明 sh 就可以實作的東西,就是硬要
#!/bin/bash 啊這樣是比較潮嗎?
--
Do you hear the people sing? Singing a song of Angry Birds.
--
: ※ 引述《Killercat (殺人貓™)》之銘言:
: : 5. 強迫自己跟別人POSIX標準
: : 這個應該很多人有這種經驗,接手一組code想要重複利用結果發現編譯錯誤一堆
: : 仔細一看裡面居然充斥了一堆win32 api像是CreateThread(...) CSocket...
: : 為什麼不乖乖用POSIX標準的__beginThreadEx跟SOCKET呢(怒吼)
: 這個Linux底下可以做得更好。
理論上來講,Mac OS X 的 POSIX 相容會比 linux, freebsd 這類的
unix-like os 來得完整,我看不出有 linux 會做得更好的理由。
再者 linux 的 developer 常常會把 linux 當作 unix 的全世界,
結果寫出一堆 linux only 的東西,別的系統要用還要 patch 來 patch 去,
最有名的就是 bashism 的現象,明明 sh 就可以實作的東西,就是硬要
#!/bin/bash 啊這樣是比較潮嗎?
--
Do you hear the people sing? Singing a song of Angry Birds.
--
Tags:
MAC
All Comments

By Heather
at 2012-04-07T22:17
at 2012-04-07T22:17

By Gilbert
at 2012-04-08T01:33
at 2012-04-08T01:33

By Hardy
at 2012-04-12T10:44
at 2012-04-12T10:44

By Odelette
at 2012-04-12T20:18
at 2012-04-12T20:18

By Brianna
at 2012-04-16T12:48
at 2012-04-16T12:48

By Yuri
at 2012-04-18T06:24
at 2012-04-18T06:24

By Hedy
at 2012-04-18T09:40
at 2012-04-18T09:40

By Charlotte
at 2012-04-21T00:58
at 2012-04-21T00:58

By Kristin
at 2012-04-25T12:14
at 2012-04-25T12:14

By Zenobia
at 2012-04-27T23:57
at 2012-04-27T23:57

By Yedda
at 2012-04-29T17:47
at 2012-04-29T17:47

By Joe
at 2012-05-03T02:53
at 2012-05-03T02:53

By Christine
at 2012-05-04T11:35
at 2012-05-04T11:35

By Ethan
at 2012-05-04T20:56
at 2012-05-04T20:56

By Enid
at 2012-05-09T08:04
at 2012-05-09T08:04

By Zenobia
at 2012-05-12T10:21
at 2012-05-12T10:21

By Audriana
at 2012-05-12T23:37
at 2012-05-12T23:37

By Audriana
at 2012-05-14T06:22
at 2012-05-14T06:22

By Una
at 2012-05-14T23:36
at 2012-05-14T23:36

By Agatha
at 2012-05-17T16:33
at 2012-05-17T16:33

By Annie
at 2012-05-19T02:03
at 2012-05-19T02:03

By Liam
at 2012-05-22T15:03
at 2012-05-22T15:03

By Oscar
at 2012-05-27T02:41
at 2012-05-27T02:41

By Steve
at 2012-05-28T22:55
at 2012-05-28T22:55

By James
at 2012-06-01T08:31
at 2012-06-01T08:31

By Oliver
at 2012-06-04T13:46
at 2012-06-04T13:46

By Catherine
at 2012-06-05T12:35
at 2012-06-05T12:35

By Quintina
at 2012-06-08T19:30
at 2012-06-08T19:30

By Anonymous
at 2012-06-13T19:10
at 2012-06-13T19:10

By Xanthe
at 2012-06-15T15:48
at 2012-06-15T15:48

By Hazel
at 2012-06-18T03:24
at 2012-06-18T03:24

By Hardy
at 2012-06-19T16:47
at 2012-06-19T16:47

By Rae
at 2012-06-21T20:03
at 2012-06-21T20:03

By Lily
at 2012-06-25T13:04
at 2012-06-25T13:04

By Skylar Davis
at 2012-06-27T17:21
at 2012-06-27T17:21

By Ursula
at 2012-06-29T06:52
at 2012-06-29T06:52

By Franklin
at 2012-06-30T12:26
at 2012-06-30T12:26

By Harry
at 2012-07-01T13:27
at 2012-07-01T13:27
Related Posts
用mac寫程式的好處

By Iris
at 2012-04-07T11:29
at 2012-04-07T11:29
用mac寫程式的好處

By Dinah
at 2012-04-07T07:37
at 2012-04-07T07:37
攜帶macbook pro

By Damian
at 2012-04-07T02:50
at 2012-04-07T02:50
Video Converter 限時免費

By Anonymous
at 2012-04-06T23:33
at 2012-04-06T23:33
用mac寫程式的好處

By Yuri
at 2012-04-06T22:04
at 2012-04-06T22:04