Comments (1)
I'm not a great fan of adding tutorial-ish stuff to type/
pages; I think those pages are meant to be references of very specific things, like here the Method
type, not "methods" as a broader concept.
With language/syntax
, I'm not sure what you'd like to see. It points to the class tutorial at an appropriate place, in my opinion. If you'd like to see more, please give further hints...
By the way, there is a problem there:
When declared within a class, a subroutine is named "method"
This is utterly wrong. One can declare subroutines inside of classes, moreover I think one can even declare methods outside of classes. This is the reason I don't like arguments like "nobody ever complained so it must be good". For now, I may just open an issue for it because it's not immediately obvious to me how to fix that.
For language/operators
, I agree. Perhaps you would be interested in my rework ideas for the operator? In this particular case, I'm not sure what to do. Perhaps the whole concept of "methodop" should go. Some of them can be used as prefix, implying the topic, but not all of them, e.g >>.
notoriously cannot be called that way; it will be a syntax error. This could be yet another aspect of operators that could be put into a table, I mean whether they can be used as "prefix", implying the topic variable as the self-object, or not.
from doc.
Related Issues (20)
- checklist for 2024.02
- checklist for 2024.03
- checklist for 2024.04
- multi method map(\SELF: █; :$label, :$item) is an implementation detail HOT 3
- RAKUDO_LINE_EDITOR doesn't mention Terminal::LineEditor HOT 2
- pass new test xt/rakudoc-types.rakutest HOT 1
- Asking for feedback
- Track references to non core modules
- compilation example cleanup HOT 2
- Tone of 5-6 articles HOT 2
- Standardize links for methods in docs.
- xt/check-signatures.t doesn't understand class $.variables
- xt/check-signatures.t to report on missing docs
- 6.e updates
- Fix all broken links HOT 5
- Weird .head example
- Avoid links of form L<#Thing>
- checklist for 2024.05
- Need a better example of formatting code L<> (Links), particularly for links to another pod document
- Add practical examples of using Allomorphs, e.g., changing a Str Allomorph to an Int.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doc.