GithubHelp home page GithubHelp logo

marsonshine / books Goto Github PK

View Code? Open in Web Editor NEW
34.0 3.0 6.0 97.88 MB

读书笔记

Home Page: https://marsonshine.github.io/Books

License: Apache License 2.0

C# 56.45% Java 4.89% TypeScript 1.03% JavaScript 0.53% C++ 16.81% PowerShell 0.29% C 15.54% Go 2.70% Assembly 0.33% Shell 0.91% Makefile 0.06% HTML 0.34% CSS 0.11%
study csapp async clean-architecture cleancode concurrency ddia design-patterns effective-java tcp-ip

books's Issues

关于JAVA枚举和C#枚举的问题

疑问的文章:https://github.com/MarsonShine/Books/blob/master/ThinkingInJava/docs/enumerated.md

问题:我认为文章中这部分意思传达错误:

//以下是尝试把枚举项传参
//是不允许这样的
class NotPromise {
    void method(LikesClass.ITEM1 instance){}
}

原文是“同样,在 Java 中枚举中的项是不能像 C# 中枚举一样可以在方法中当作参数传递的”

观点:在C#中也不能这样传递,我已经动手试过来了。 JAVA的枚举本质上是类,C#的枚举本质是一种特殊的简单struct。两者的区别是在设计和实现上的区别,在业务信息传达上面却是一样的

阅读计划:TCP/IP

这本书买了有两年了,断断续续只看了一半,中间被很多次其它的计划打断,后续又忘了。
这次利用 issue 提醒自己将这本书看完

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.