René's URL Explorer Experiment


Title: 真的面向对象?为何我发现大量了冗余代码? · Issue #26 · h2pl/JavaTutorial · GitHub

Open Graph Title: 真的面向对象?为何我发现大量了冗余代码? · Issue #26 · h2pl/JavaTutorial

X Title: 真的面向对象?为何我发现大量了冗余代码? · Issue #26 · h2pl/JavaTutorial

Description: 一般而言,当相似的代码块出现两次以上时,我们就会考虑是否可以将该代码块整合成一个方法,或者是类。 可是在该项目中,我发现了大量重复内容,如下图所示: 是为了声明版权吗?选择一个合适开源协议或许会是更好的选择! 每一篇文章头、尾都含有大量的类似代码,有没有考虑过这样是否会造成视觉疲劳?

Open Graph Description: 一般而言,当相似的代码块出现两次以上时,我们就会考虑是否可以将该代码块整合成一个方法,或者是类。 可是在该项目中,我发现了大量重复内容,如下图所示: 是为了声明版权吗?选择一个合适开源协议或许会是更好的选择! 每一篇文章头、尾都含有大量的类似代码,有没有考虑过这样是否会造成视觉疲劳?

X Description: 一般而言,当相似的代码块出现两次以上时,我们就会考虑是否可以将该代码块整合成一个方法,或者是类。 可是在该项目中,我发现了大量重复内容,如下图所示: 是为了声明版权吗?选择一个合适开源协议或许会是更好的选择! 每一篇文章头、尾都含有大量的类似代码,有没有考虑过这样是否会造成视觉疲劳?

Opengraph URL: https://github.com/h2pl/JavaTutorial/issues/26

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"真的面向对象?为何我发现大量了冗余代码?","articleBody":"一般而言,当相似的代码块出现两次以上时,我们就会考虑是否可以将该代码块整合成一个方法,或者是类。\r\n\r\n可是在该项目中,我发现了大量重复内容,如下图所示:\r\n![image](https://user-images.githubusercontent.com/45334066/90115938-5f744400-dd87-11ea-8c26-1dc52051cdf2.png)\r\n\r\n是为了声明版权吗?选择一个合适开源协议或许会是更好的选择!\r\n\r\n每一篇文章头、尾都含有大量的类似代码,有没有考虑过这样是否会造成视觉疲劳?\r\n","author":{"url":"https://github.com/yansheng836","@type":"Person","name":"yansheng836"},"datePublished":"2020-08-13T09:13:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/26/JavaTutorial/issues/26"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d9f2e0c0-ee30-ae43-2104-9052f37cd454
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD294:A39F5:21CBE07:2DE97BE:696ACD1A
html-safe-nonce966108fa1ec4c03fce26d08ecd96f5a22370d04e8ab309bfa10ca6653ad4992a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjk0OkEzOUY1OjIxQ0JFMDc6MkRFOTdCRTo2OTZBQ0QxQSIsInZpc2l0b3JfaWQiOiI1NTgyOTgxMTcwNDAwNTEzMzA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac29337e61235688d93dd3f6557799cb2f40e96d810051759aaba725a1ec825890
hovercard-subject-tagissue:678283766
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/h2pl/JavaTutorial/26/issue_layout
twitter:imagehttps://opengraph.githubassets.com/852ca24e334c5da2ced6945537b8cbfd760e7694f992c05009cc487ba49b5101/h2pl/JavaTutorial/issues/26
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/852ca24e334c5da2ced6945537b8cbfd760e7694f992c05009cc487ba49b5101/h2pl/JavaTutorial/issues/26
og:image:alt一般而言,当相似的代码块出现两次以上时,我们就会考虑是否可以将该代码块整合成一个方法,或者是类。 可是在该项目中,我发现了大量重复内容,如下图所示: 是为了声明版权吗?选择一个合适开源协议或许会是更好的选择! 每一篇文章头、尾都含有大量的类似代码,有没有考虑过这样是否会造成视觉疲劳?
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyansheng836
hostnamegithub.com
expected-hostnamegithub.com
Nonec785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d
turbo-cache-controlno-preview
go-importgithub.com/h2pl/JavaTutorial git https://github.com/h2pl/JavaTutorial.git
octolytics-dimension-user_id20679558
octolytics-dimension-user_loginh2pl
octolytics-dimension-repository_id131732782
octolytics-dimension-repository_nwoh2pl/JavaTutorial
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id131732782
octolytics-dimension-repository_network_root_nwoh2pl/JavaTutorial
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
releasec718a376fcf780eb22089171adb84a543f660bf7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/h2pl/JavaTutorial/issues/26#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fh2pl%2FJavaTutorial%2Fissues%2F26
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fh2pl%2FJavaTutorial%2Fissues%2F26
Sign up https://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=h2pl%2FJavaTutorial
Reloadhttps://github.com/h2pl/JavaTutorial/issues/26
Reloadhttps://github.com/h2pl/JavaTutorial/issues/26
Reloadhttps://github.com/h2pl/JavaTutorial/issues/26
h2pl https://github.com/h2pl
JavaTutorialhttps://github.com/h2pl/JavaTutorial
Notifications https://github.com/login?return_to=%2Fh2pl%2FJavaTutorial
Fork 1.6k https://github.com/login?return_to=%2Fh2pl%2FJavaTutorial
Star 7.1k https://github.com/login?return_to=%2Fh2pl%2FJavaTutorial
Code https://github.com/h2pl/JavaTutorial
Issues 9 https://github.com/h2pl/JavaTutorial/issues
Pull requests 0 https://github.com/h2pl/JavaTutorial/pulls
Actions https://github.com/h2pl/JavaTutorial/actions
Projects 0 https://github.com/h2pl/JavaTutorial/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/h2pl/JavaTutorial/security
Please reload this pagehttps://github.com/h2pl/JavaTutorial/issues/26
Insights https://github.com/h2pl/JavaTutorial/pulse
Code https://github.com/h2pl/JavaTutorial
Issues https://github.com/h2pl/JavaTutorial/issues
Pull requests https://github.com/h2pl/JavaTutorial/pulls
Actions https://github.com/h2pl/JavaTutorial/actions
Projects https://github.com/h2pl/JavaTutorial/projects
Security https://github.com/h2pl/JavaTutorial/security
Insights https://github.com/h2pl/JavaTutorial/pulse
New issuehttps://github.com/login?return_to=https://github.com/h2pl/JavaTutorial/issues/26
New issuehttps://github.com/login?return_to=https://github.com/h2pl/JavaTutorial/issues/26
真的面向对象?为何我发现大量了冗余代码?https://github.com/h2pl/JavaTutorial/issues/26#top
https://github.com/yansheng836
https://github.com/yansheng836
yansheng836https://github.com/yansheng836
on Aug 13, 2020https://github.com/h2pl/JavaTutorial/issues/26#issue-678283766
https://user-images.githubusercontent.com/45334066/90115938-5f744400-dd87-11ea-8c26-1dc52051cdf2.png
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.