妹子撒娇的不同处理方法

  • 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
>/////<

快点赞!
快赞死窝啊
快赞死窝啊
噗
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容