René's URL Explorer Experiment


Title: Compact source files | java.evolved

Open Graph Title: Compact source files | java.evolved

X Title: Compact source files | java.evolved

Description: Write a complete program without class declaration or public static void main.

Open Graph Description: Write a complete program without class declaration or public static void main.

X Description: Write a complete program without class declaration or public static void main.

Opengraph URL: https://javaevolved.github.io/language/compact-source-files.html

direct link

Domain: javaevolved.github.io


Hey, it has json ld scripts:
  {
    "@context": "https://schema.org",
    "@type": "TechArticle",
    "headline": "Compact source files",
    "description": "Write a complete program without class declaration or public static void main.",
    "url": "https://javaevolved.github.io/compact-source-files.html",
    "publisher": {
        "@type": "Organization",
        "name": "java.evolved",
        "url": "https://javaevolved.github.io"
    },
    "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://javaevolved.github.io/compact-source-files.html"
    }
}
  
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://javaevolved.github.io/"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Language",
            "item": "https://javaevolved.github.io/#language"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Compact source files"
        }
    ]
}
  

theme-color#f97316
mobile-web-app-capableyes
apple-mobile-web-app-status-bar-styleblack-translucent
apple-mobile-web-app-titlejava.evolved
og:typearticle
og:site_namejava.evolved
og:localeen
og:imagehttps://javaevolved.github.io/og/language/compact-source-files.png
og:image:width1200
og:image:height630
og:image:typeimage/png
twitter:cardsummary_large_image
twitter:imagehttps://javaevolved.github.io/og/language/compact-source-files.png

Links:

java.evolvedhttps://javaevolved.github.io/
https://github.com/javaevolved/javaevolved.github.io
← All patternshttps://javaevolved.github.io/
https://javaevolved.github.io/language/unnamed-variables.html
https://javaevolved.github.io/language/flexible-constructor-bodies.html
Homehttps://javaevolved.github.io/
Languagehttps://javaevolved.github.io/#language
🐛 Report a code issuehttps://github.com/javaevolved/javaevolved.github.io/issues/new?template=code-issue.yml&title=%5BCode%20Issue%5D%20Compact%20source%20files&category=language&slug=compact-source-files
🌐 Report a translation issuehttps://github.com/javaevolved/javaevolved.github.io/issues/new?template=translation-issue.yml&title=%5BTranslation%5D%20Compact%20source%20files%20%28English%29&locale=en&pattern=compact-source-files&area=Pattern%20content
💡 Suggest a new patternhttps://github.com/javaevolved/javaevolved.github.io/issues/new?template=new-pattern.yml
𝕏https://x.com/intent/tweet?url=https%3A%2F%2Fjavaevolved.github.io%2Flanguage%2Fcompact-source-files.html&text=Compact%20source%20files%20%E2%80%93%20java.evolved
🦋https://bsky.app/intent/compose?text=Compact%20source%20files%20%E2%80%93%20java.evolved%20https%3A%2F%2Fjavaevolved.github.io%2Flanguage%2Fcompact-source-files.html
inhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fjavaevolved.github.io%2Flanguage%2Fcompact-source-files.html
https://www.reddit.com/submit?url=https%3A%2F%2Fjavaevolved.github.io%2Flanguage%2Fcompact-source-files.html&title=Compact%20source%20files%20%E2%80%93%20java.evolved
Let us know.https://github.com/javaevolved/javaevolved.github.io/issues/new?template=code-issue.yml&title=%5BCode%20Issue%5D%20Compact%20source%20files&category=language&slug=compact-source-files
Simple Source Files and Instance Main Methods (JEP 495) ↗https://openjdk.org/jeps/495
View proof source ↗https://github.com/javaevolved/javaevolved.github.io/blob/main/proof/language/CompactSourceFiles.java
Language Beginner Type inference with var Java 8 Map> map = new HashMap>(); for (Map.Entry> e : map.entrySet()) { // verbose type noise } Java 10+ var map = new HashMap>(); for (var entry : map.entrySet()) { // clean and readable } Hover to see modern ➜ JDK 10+ → https://javaevolved.github.io/language/type-inference-with-var.html
Language Beginner Text blocks for multiline strings Java 8 String json = "{\n" + " \"name\": \"Duke\",\n" + " \"age\": 30\n" + "}"; Java 15+ String json = """ { "name": "Duke", "age": 30 }"""; Hover to see modern ➜ JDK 15+ → https://javaevolved.github.io/language/text-blocks-for-multiline-strings.html
Language Beginner Switch expressions Java 8 String msg; switch (day) { case MONDAY: msg = "Start"; break; case FRIDAY: msg = "End"; break; default: msg = "Mid"; } Java 14+ String msg = switch (day) { case MONDAY -> "Start"; case FRIDAY -> "End"; default -> "Mid"; }; Hover to see modern ➜ JDK 14+ → https://javaevolved.github.io/language/switch-expressions.html
java.evolvedhttps://javaevolved.github.io/
Bruno Borgeshttps://github.com/brunoborges
GitHub Copilothttps://github.com/features/copilot
modern-css.comhttps://modern-css.com
View on GitHubhttps://github.com/javaevolved/javaevolved.github.io

Viewport: width=device-width, initial-scale=1.0

Robots: index, follow


URLs of crawlers that visited me.