看板 Ruby 關於我們 聯絡資訊
※ 引述《giive (lala)》之銘言: : 將這段 code Paste 到 irb 上面 第一步先把這行 string 解出來應該就可以用 比較輕鬆一點的辦法去看後面的程式了 至少知道他想幹什麼 .... : s=",GreEkcaSh BODybuILDER ALBreChtAMMOonIa tSUNEMATsuJ"; ^^ ^^^ ^ ^^^ ^ ^^ ^^ ^^ ^ ^ ^^^ hacker Ruby another Just : puts lambda{|f|h=lambda{|h|lambda{|x|f[h[h]][x]}};h[h]}[ : lambda{|f|lambda do|h|h[0]?f[h[1..-1]]<<h[0]:[];end}][s. : delete(*%w{A-Z ^JR})].#See King James text of the bible: : pack("c*")## "Y do ye not understand my speech?", John 8 : 他會輸出 : Just another Ruby hacker, : 我看,大家晚上睡不著可以試著解讀看看 *_* : 應該是 Perl Hacker 跳槽來 Ruby 搞的 @@! 記得以前在某個網頁看過 C 的暗黑程式競賽... 不曉得 Ruby 這類的語言有沒有類似的東西 XDD 他們說要設計暗黑程式的理由是要挑戰 Compiler 提升 Compiler 的穩定度和消除 Compiler bug ... 聽起來還蠻有道理的 .... :p -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.72.57.78
godfat:確實,不知道有多少因此而消除的 bug...? 09/11 03:55