René's URL Explorer Experiment


Title: Module system · Issue #37 · rowscript/rowscript · GitHub

Open Graph Title: Module system · Issue #37 · rowscript/rowscript

X Title: Module system · Issue #37 · rowscript/rowscript

Description: I prefer Go's package system where all source files in the same directory belong to the same Go package if it's written so (e.g. package main as their file headers), because: It's highly flexible to extend the functionalities without mod...

Open Graph Description: I prefer Go's package system where all source files in the same directory belong to the same Go package if it's written so (e.g. package main as their file headers), because: It's highly flexible t...

X Description: I prefer Go's package system where all source files in the same directory belong to the same Go package if it's written so (e.g. package main as their file headers), because: It's highl...

Opengraph URL: https://github.com/rowscript/rowscript/issues/37

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Module system","articleBody":"I prefer **Go's package system** where all source files in the same directory belong to the same Go package if it's written so (e.g. `package main` as their file headers), because:\r\n\r\n* It's highly flexible to extend the functionalities **without modifying any files**, because you could add new definitions in those new files, and they would be exported for free. But in Rust (and similarly in Python), you need to add `mod xxx` in the `mod.rs` file which might make you indecisive about the line you need to place the statement lol.\r\n\r\nIn a RowScript codebase, JavaScript files (e.g. `*.js`) inside a directory (i.e. module) would be copied and imported into the generated JS module, that's paired with the magic of postulates (#40).\r\n\r\nHowever, by adopting Go's package system, the terminologies should be changed according to JavaScript's conventions:\r\n\r\n|Concept|In Go|In RowScript|\r\n|:--:|:--:|:--:|\r\n|A directory|Package|Module (due to ES6 modules)|\r\n|A codebase, repository|Module|Package (due to npm packages)|","author":{"url":"https://github.com/anqur","@type":"Person","name":"anqur"},"datePublished":"2023-04-13T03:02:35Z","url":"https://github.com/rowscript/rowscript/issues/37"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:93e47b5b-6ac3-a1db-bb71-ab0a51636ab3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDB32:F0723:1A0F796:22C53CB:6AFA13A2
html-safe-nonce71846ff0ed0640cf75d6009f024dd0c88cc6b11fdfe3cfe70639da5e7ff94587
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjMyOkYwNzIzOjFBMEY3OTY6MjJDNTNDQjo2QUZBMTNBMiIsInZpc2l0b3JfaWQiOiI5NTg1NDUyNTgxMTMyNzQ3ODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6d4f6494816580d58b571fde52c0e78621cd2dfc3a3a98da6428f4db4f0489fe
hovercard-subject-tagissue:1665604144
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/rowscript/rowscript/37/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a6448b58590b6d471f2db2cb96f0ca1ffb3f8d8d5c23f501502a4c2aa0280747/rowscript/rowscript/issues/37
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a6448b58590b6d471f2db2cb96f0ca1ffb3f8d8d5c23f501502a4c2aa0280747/rowscript/rowscript/issues/37
og:image:altI prefer Go's package system where all source files in the same directory belong to the same Go package if it's written so (e.g. package main as their file headers), because: It's highly flexible t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameanqur
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-preview
go-importgithub.com/rowscript/rowscript git https://github.com/rowscript/rowscript.git
octolytics-dimension-user_id87884599
octolytics-dimension-user_loginrowscript
octolytics-dimension-repository_id388972006
octolytics-dimension-repository_nworowscript/rowscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id388972006
octolytics-dimension-repository_network_root_nworowscript/rowscript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/rowscript/rowscript/issues/37#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frowscript%2Frowscript%2Fissues%2F37
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frowscript%2Frowscript%2Fissues%2F37
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=rowscript%2Frowscript
Reloadhttps://github.com/rowscript/rowscript/issues/37
Reloadhttps://github.com/rowscript/rowscript/issues/37
Reloadhttps://github.com/rowscript/rowscript/issues/37
rowscripthttps://github.com/rowscript
rowscripthttps://github.com/rowscript/rowscript
Codehttps://github.com/rowscript/rowscript
Issues19 (19)https://github.com/rowscript/rowscript/issues
Pull requestshttps://github.com/rowscript/rowscript/pulls
Discussionshttps://github.com/rowscript/rowscript/discussions
Actionshttps://github.com/rowscript/rowscript/actions
Projectshttps://github.com/rowscript/rowscript/projects
Security and qualityhttps://github.com/rowscript/rowscript/security
Insightshttps://github.com/rowscript/rowscript/pulse
https://github.com/rowscript/rowscript
New issuehttps://github.com/login?return_to=https://github.com/rowscript/rowscript/issues/37
New issuehttps://github.com/login?return_to=https://github.com/rowscript/rowscript/issues/37
Module systemhttps://github.com/rowscript/rowscript/issues/37#top
enhancementNew feature or requesthttps://github.com/rowscript/rowscript/issues?q=state%3Aopen%20label%3A%22enhancement%22
x-pkgPackage/module systemhttps://github.com/rowscript/rowscript/issues?q=state%3Aopen%20label%3A%22x-pkg%22
https://github.com/anqur
anqurhttps://github.com/anqur
on Apr 13, 2023https://github.com/rowscript/rowscript/issues/37#issue-1665604144
#40https://github.com/rowscript/rowscript/issues/40
anqurhttps://github.com/anqur
x-pkgPackage/module systemhttps://github.com/rowscript/rowscript/issues?q=state%3Aopen%20label%3A%22x-pkg%22
enhancementNew feature or requesthttps://github.com/rowscript/rowscript/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Apr 13, 2023https://github.com/rowscript/rowscript/issues/37#event-8992001477
anqurhttps://github.com/anqur
completedhttps://github.com/rowscript/rowscript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
c549190https://github.com/rowscript/rowscript/commit/c5491907c063b175520bc9b3b8b12732c2c0dc9d
on Apr 26, 2023https://github.com/rowscript/rowscript/issues/37#event-9102101036
Sign up for freehttps://github.com/signup?return_to=https://github.com/rowscript/rowscript/issues/37
Sign in to commenthttps://github.com/login?return_to=https://github.com/rowscript/rowscript/issues/37
enhancementNew feature or requesthttps://github.com/rowscript/rowscript/issues?q=state%3Aopen%20label%3A%22enhancement%22
x-pkgPackage/module systemhttps://github.com/rowscript/rowscript/issues?q=state%3Aopen%20label%3A%22x-pkg%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.