2026-02-17— Last Week in Carbon #6756
josh11b
announced in
Last Week in Carbon
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Updates on leads issues
Run? How areargcandargvexposed?Updates on proposals
charredesignUpdates on moderation across our community spaces (Discord and GitHub)
Activity on toolchain
Activity on memory safety
^default, instead of being^defaultdirectly, to allow speaking about each parameter’s places independently.^a “place of” operator[[lifetimebound]]to learn that a const ref can contribute to an output, and thus change how it can be called with values vs refs.^valuealias set which overlaps but is different from^default. Value returns by default reference^(value, default).Other active discussions
These include Discord Chat, GitHub Discussions, or open discussion sessions.
:and type fromself: Self, and/or moving it to the explicit parameter list.X.M(...)) andx.(X.F)is invalid ifFis not a method. In this modelselfbelongs in the implicit param list.selfas the first argument.x.(X.F)performs partial application. In this modelselfbelongs in the explicit param list.class fn F(...), but don't see a good way to omitselfin methods.[T]syntax for it.Lessto"int.greater"break any tests?unusedand_bindings insidevarrun immediately or at the end of the scope?_in structs?deferlook like in Carbon?breakto take an argument insideblock.file_testdoesn't support that yet. We can fix it, but should use it sparingly to minimize test overhead.static_assertisn't a valid alternative?~move operator. Could it also be used to mark discarded patterns?RSS Feed for "Last Week in Carbon" here
Beta Was this translation helpful? Give feedback.
All reactions