<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pointer on PlumePHP</title><link>https://plumephp.com/tags/pointer/</link><description>Recent content in Pointer on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Fri, 07 Feb 2020 10:15:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/pointer/index.xml" rel="self" type="application/rss+xml"/><item><title>Go 函数、指针和值语义：为什么代码看起来简单却很讲究</title><link>https://plumephp.com/go-functions-pointers-and-value-semantics/</link><pubDate>Fri, 07 Feb 2020 10:15:00 +0800</pubDate><guid>https://plumephp.com/go-functions-pointers-and-value-semantics/</guid><description>&lt;h2 id="go-的函数为什么让人觉得朴素"&gt;Go 的函数为什么让人觉得朴素&lt;/h2&gt;
&lt;p&gt;Go 的函数没有默认参数，没有函数重载，也没有把异常藏在函数体里。一个函数接收什么，返回什么，基本都写在签名上。刚学时你可能觉得它少了一些方便功能，但写真实项目久了会发现，这种朴素让调用关系更容易推理。&lt;/p&gt;</description></item></channel></rss>