From 0e319df18531d05e0e92031741bf8d54503371b3 Mon Sep 17 00:00:00 2001 From: jaysunxiao Date: Fri, 25 Jun 2021 21:10:28 +0800 Subject: [PATCH] =?UTF-8?q?doc[zfoo]:=20=E6=9B=B4=E6=96=B0=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- doc/FAQ.md | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 doc/FAQ.md diff --git a/README.md b/README.md index 6ef80090..b8285840 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ Java生态的rpc框架非常多,但是很少有rpc框架能够契合到游戏 ### Ⅳ. 问题 +- 有问题,先看 [FAQ](./doc/FAQ.md) - 每个工程目录的test文件夹下都有标准的demo展示和注释说明,可以直接运行 - 问题讨论群QQ: 876280300 @@ -183,4 +184,4 @@ http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -``` \ No newline at end of file +``` diff --git a/doc/FAQ.md b/doc/FAQ.md new file mode 100644 index 00000000..6468d19c --- /dev/null +++ b/doc/FAQ.md @@ -0,0 +1,11 @@ +#### 为什么选择 Java 11 而不是 Java 8 + +``` +1. var可以减少非常多的代码,使代码更加简介 +2. Java 11的版本统一了api,Oracle JDK 和 Open JDK 可以无缝切换 +3. 11对容器支持友好,现在是容器的时代,反观 Java 8 的一些老版本都不支持容器 +4. Java 8过两年会停止维护,能早用就早用 +5. 主流的框架全部都已经支持Java 11 +``` + +---