Code Monkey home page Code Monkey logo

Comments (4)

leisurelicht avatar leisurelicht commented on September 7, 2024

多谢你的建议。

第1个 change in place 翻译成 原地更新 主要是想强调地址的的概念。
比如你举例的这一句原理其实就是成功修改了地址中的内容,但是在修改指向地址的指针时,就报错了:
改为 更新对象本身 我觉得会失去这个含义。

其他的我觉得没什么问题,印度人那个梗你都能get到是真的厉害 👍

from wtfpython-cn.

leisurelicht avatar leisurelicht commented on September 7, 2024

第5条我还是没有完全弄明白,等我再研究研究,如果你有更好的解释也请告诉我。

from wtfpython-cn.

liliao2017 avatar liliao2017 commented on September 7, 2024

谢谢你的回复。
确实原来的翻译也有好处,可以强调地址不变这个本质。
印度人的那个梗我其实不太确定,毕竟不了解印度文化。但是搜索关键词这个人相关的结果很多,原作者似乎也是印度背景,我猜测多少应该有关吧。
关于第五点,我也觉得python3更新文档里被引用的那部分表达有些含糊,没有完全明白它的意思。不过对于列表推导,平时编程的话能使用正确的语法,理解变量作用域应该就还好。stackoverflow上的讨论可以作为一个补充阅读,要是有新的理解可以再交流。

from wtfpython-cn.

leisurelicht avatar leisurelicht commented on September 7, 2024

👌

from wtfpython-cn.

Related Issues (20)

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.