妹子撒嬌的不同處理方法

  • Qt
public void Hyper::妹子撒嬌()
{
    this.哄((Yp)QObject::sender());
}
QObject::connect(yp, SIGNAL(撒嬌()),hyper,SLOT(妹子撒嬌());
  • C#
yp.撒嬌 += delegate{ hyper.哄(yp);};
  • Java
hyper.get撒嬌Manager().register(new 撒嬌Handler(){
    @Override
    public void on撒嬌(撒嬌Event event){
      try{
        if(event.source != yp)throw new 
            Wrong妹子Exception();
        hyper.哄(event.source);
      }catch(Wrong妹子Exception e){
        try{
            hyper.keepCalm();
        }catch(CantKeepCalmException e)
        {
            hyper.call(yp);
        }
      }
    }
});
  • html
<script type="text/javascript">
    function 求哄(妹子,漢子)
    {
        var yp = document.getElementById(妹子)
        var hyper = document.getElementById(漢子)
        hyper.哄(yp);
    }
</script>
<a id = "yp" type = "妹子" on撒嬌 = "求哄('yp','hyper')"/>
<a id = "hyper" type = "漢子"/>
  • jQuery
$('#yp').撒嬌(function(){
    $('#hyper').哄($('#yp'));
});
  • Lua
WithHyper = {
    __撒嬌 = function()
        hyper.哄(self)
    end,
}

setmetatable(yp, WithHyper)
  • c/c++
void (*漢子::on撒嬌)(撒嬌Source*);

yp->on撒嬌 = &(Hyper::哄);

yp->on撒嬌(yp);

其實我不懂c++
其實我家妹子撒嬌都不需要費心思想怎么哄的

最好的代碼,無非是

/me smile
/me hug yp
>/////<

快點贊!
快贊死窩啊
快贊死窩啊
噗
最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容