CINXE.COM

Carbon (bahasa pemrograman) - Wikipedia bahasa Indonesia, ensiklopedia bebas

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available" lang="id" dir="ltr"> <head> <meta charset="UTF-8"> <title>Carbon (bahasa pemrograman) - Wikipedia bahasa Indonesia, ensiklopedia bebas</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )idwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":[",\t.",".\t,"],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"wgRequestId":"60c7f88b-8802-4814-8f41-ed75f3094014","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Carbon_(bahasa_pemrograman)","wgTitle":"Carbon (bahasa pemrograman)","wgCurRevisionId":23265087,"wgRevisionId":23265087,"wgArticleId":3834504,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Halaman dengan argumen ganda di pemanggilan templat","CS1 sumber berbahasa Inggris (en)","Pemeliharaan CS1: Tanggal dan tahun","Bahasa pemrograman","Bahasa pemrograman tingkat tinggi","Bahasa pemrograman berorientasi objek","Proyek Google"],"wgPageViewLanguage":"id","wgPageContentLanguage":"id","wgPageContentModel":"wikitext","wgRelevantPageName":"Carbon_(bahasa_pemrograman)","wgRelevantArticleId":3834504,"wgIsProbablyEditable": true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false,"wgFlaggedRevsParams":{"tags":{"accuracy":{"levels":2}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"id","pageLanguageDir":"ltr","pageVariantFallbacks":"id"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":3000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q113157814","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"], "GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.gadget.charinsert-styles":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.pygments":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","site","mediawiki.page.ready","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.watchlist-notice","ext.gadget.charinsert","ext.gadget.refToolbar", "ext.gadget.AdvancedSiteNotices","ext.gadget.switcher","ext.gadget.Bagikan","ext.gadget.CurIDLink","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","oojs-ui.styles.icons-media","oojs-ui-core.icons","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=id&amp;modules=ext.cite.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=id&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=id&amp;modules=ext.gadget.charinsert-styles&amp;only=styles&amp;skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=id&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/e/e1/Carbon_logo.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="1200"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/e/e1/Carbon_logo.png"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="800"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="640"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Carbon (bahasa pemrograman) - Wikipedia bahasa Indonesia, ensiklopedia bebas"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//id.m.wikipedia.org/wiki/Carbon_(bahasa_pemrograman)"> <link rel="alternate" type="application/x-wiki" title="Sunting" href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (id)"> <link rel="EditURI" type="application/rsd+xml" href="//id.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://id.wikipedia.org/wiki/Carbon_(bahasa_pemrograman)"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.id"> <link rel="alternate" type="application/atom+xml" title="Umpan Atom Wikipedia" href="/w/index.php?title=Istimewa:Perubahan_terbaru&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Carbon_bahasa_pemrograman rootpage-Carbon_bahasa_pemrograman skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Lompat ke isi</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Situs"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Menu utama" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Menu utama</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Menu utama</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">pindah ke bilah sisi</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">sembunyikan</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigasi </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage" class="mw-list-item"><a href="/wiki/Halaman_Utama" title="Kunjungi Halaman Utama [z]" accesskey="z"><span>Halaman Utama</span></a></li><li id="n-Daftar-isi" class="mw-list-item"><a href="/wiki/Wikipedia:Isi"><span>Daftar isi</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Istimewa:Perubahan_terbaru" title="Daftar perubahan terbaru dalam wiki. [r]" accesskey="r"><span>Perubahan terbaru</span></a></li><li id="n-Artikel-pilihan" class="mw-list-item"><a href="/wiki/Wikipedia:Artikel_pilihan/Topik"><span>Artikel pilihan</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Peristiwa_terkini" title="Temukan informasi tentang peristiwa terkini"><span>Peristiwa terkini</span></a></li><li id="n-newpage" class="mw-list-item"><a href="/wiki/Istimewa:Halaman_baru"><span>Halaman baru</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Istimewa:Halaman_sembarang" title="Tampilkan sembarang halaman [x]" accesskey="x"><span>Halaman sembarang</span></a></li> </ul> </div> </div> <div id="p-Komunitas" class="vector-menu mw-portlet mw-portlet-Komunitas" > <div class="vector-menu-heading"> Komunitas </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-Warung-Kopi" class="mw-list-item"><a href="/wiki/Wikipedia:Warung_Kopi"><span>Warung Kopi</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Portal:Komunitas" title="Tentang proyek, apa yang dapat Anda lakukan, di mana untuk mencari sesuatu"><span>Portal komunitas</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Bantuan:Isi" title="Tempat mencari bantuan."><span>Bantuan</span></a></li> </ul> </div> </div> <div id="p-Wikipedia" class="vector-menu mw-portlet mw-portlet-Wikipedia" > <div class="vector-menu-heading"> Wikipedia </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:Perihal"><span>Tentang Wikipedia</span></a></li><li id="n-Pancapilar" class="mw-list-item"><a href="/wiki/Wikipedia:Pancapilar"><span>Pancapilar</span></a></li><li id="n-Kebijakan" class="mw-list-item"><a href="/wiki/Wikipedia:Kebijakan_dan_pedoman"><span>Kebijakan</span></a></li><li id="n-Hubungi-kami" class="mw-list-item"><a href="/wiki/Wikipedia:Hubungi_kami"><span>Hubungi kami</span></a></li><li id="n-Bak-pasir" class="mw-list-item"><a href="/wiki/Wikipedia:Bak_pasir"><span>Bak pasir</span></a></li> </ul> </div> </div> <div id="p-Bagikan" class="vector-menu mw-portlet mw-portlet-Bagikan emptyPortlet" > <div class="vector-menu-heading"> Bagikan </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Halaman_Utama" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="Ensiklopedia Bebas" src="/static/images/mobile/copyright/wikipedia-tagline-id.svg" width="120" height="14" style="width: 7.5em; height: 0.875em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Istimewa:Pencarian" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Cari di Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Pencarian</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Telusuri Wikipedia" aria-label="Telusuri Wikipedia" autocapitalize="sentences" title="Cari di Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Istimewa:Pencarian"> </div> <button class="cdx-button cdx-search-input__end-button">Cari</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Perkakas pribadi"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Tampilan"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Tampilan" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Tampilan</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_id.wikipedia.org&amp;uselang=id" class=""><span>Menyumbang</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Istimewa:Buat_akun&amp;returnto=Carbon+%28bahasa+pemrograman%29" title="Anda dianjurkan untuk membuat akun dan masuk log; meskipun, hal itu tidak diwajibkan" class=""><span>Buat akun baru</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Istimewa:Masuk_log&amp;returnto=Carbon+%28bahasa+pemrograman%29" title="Anda disarankan untuk masuk log, meskipun hal itu tidak diwajibkan. [o]" accesskey="o" class=""><span>Masuk log</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Opsi lainnya" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Perkakas pribadi" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Perkakas pribadi</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Menu pengguna" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_id.wikipedia.org&amp;uselang=id"><span>Menyumbang</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Istimewa:Buat_akun&amp;returnto=Carbon+%28bahasa+pemrograman%29" title="Anda dianjurkan untuk membuat akun dan masuk log; meskipun, hal itu tidak diwajibkan"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Buat akun baru</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Istimewa:Masuk_log&amp;returnto=Carbon+%28bahasa+pemrograman%29" title="Anda disarankan untuk masuk log, meskipun hal itu tidak diwajibkan. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Masuk log</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Halaman penyunting yang telah keluar log <a href="/wiki/Bantuan:Pengantar" aria-label="Pelajari lebih lanjut tentang menyunting"><span>pelajari lebih lanjut</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Istimewa:Kontribusi_saya" title="Daftar suntingan yang dibuat dari alamat IP ini [y]" accesskey="y"><span>Kontribusi</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Istimewa:Pembicaraan_saya" title="Pembicaraan tentang suntingan dari alamat IP ini [n]" accesskey="n"><span>Pembicaraan</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Situs"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Daftar isi" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Daftar isi</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">pindah ke bilah sisi</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">sembunyikan</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Awal</div> </a> </li> <li id="toc-Contoh" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Contoh"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Contoh</span> </div> </a> <ul id="toc-Contoh-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Lihat_pula" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Lihat_pula"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Lihat pula</span> </div> </a> <ul id="toc-Lihat_pula-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Referensi" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Referensi"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Referensi</span> </div> </a> <ul id="toc-Referensi-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Daftar isi" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Gulingkan daftar isi" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Gulingkan daftar isi</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Carbon (bahasa pemrograman)</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Pergi ke artikel dalam bahasa lain. Terdapat 14 bahasa" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-14" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">14 bahasa</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Carbon_(Programmiersprache)" title="Carbon (Programmiersprache) – Jerman" lang="de" hreflang="de" data-title="Carbon (Programmiersprache)" data-language-autonym="Deutsch" data-language-local-name="Jerman" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Carbon_(programming_language)" title="Carbon (programming language) – Inggris" lang="en" hreflang="en" data-title="Carbon (programming language)" data-language-autonym="English" data-language-local-name="Inggris" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%DA%A9%D8%B1%D8%A8%D9%86_(%D8%B2%D8%A8%D8%A7%D9%86_%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87%E2%80%8C%D9%86%D9%88%DB%8C%D8%B3%DB%8C)" title="کربن (زبان برنامه‌نویسی) – Persia" lang="fa" hreflang="fa" data-title="کربن (زبان برنامه‌نویسی)" data-language-autonym="فارسی" data-language-local-name="Persia" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/Carbon_(ohjelmointikieli)" title="Carbon (ohjelmointikieli) – Suomi" lang="fi" hreflang="fi" data-title="Carbon (ohjelmointikieli)" data-language-autonym="Suomi" data-language-local-name="Suomi" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Carbon_(langage_de_programmation)" title="Carbon (langage de programmation) – Prancis" lang="fr" hreflang="fr" data-title="Carbon (langage de programmation)" data-language-autonym="Français" data-language-local-name="Prancis" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/Carbon_(%D7%A9%D7%A4%D7%AA_%D7%AA%D7%9B%D7%A0%D7%95%D7%AA)" title="Carbon (שפת תכנות) – Ibrani" lang="he" hreflang="he" data-title="Carbon (שפת תכנות)" data-language-autonym="עברית" data-language-local-name="Ibrani" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Carbon_(linguaggio_di_programmazione)" title="Carbon (linguaggio di programmazione) – Italia" lang="it" hreflang="it" data-title="Carbon (linguaggio di programmazione)" data-language-autonym="Italiano" data-language-local-name="Italia" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/Carbon_(%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E8%A8%80%E8%AA%9E)" title="Carbon (プログラミング言語) – Jepang" lang="ja" hreflang="ja" data-title="Carbon (プログラミング言語)" data-language-autonym="日本語" data-language-local-name="Jepang" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/Carbon_(%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D_%EC%96%B8%EC%96%B4)" title="Carbon (프로그래밍 언어) – Korea" lang="ko" hreflang="ko" data-title="Carbon (프로그래밍 언어)" data-language-autonym="한국어" data-language-local-name="Korea" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/Carbon_(%D1%8F%D0%B7%D1%8B%D0%BA_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F)" title="Carbon (язык программирования) – Rusia" lang="ru" hreflang="ru" data-title="Carbon (язык программирования)" data-language-autonym="Русский" data-language-local-name="Rusia" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Carbon_(programlama_dili)" title="Carbon (programlama dili) – Turki" lang="tr" hreflang="tr" data-title="Carbon (programlama dili)" data-language-autonym="Türkçe" data-language-local-name="Turki" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/Carbon%E8%AF%AD%E8%A8%80" title="Carbon语言 – Tionghoa" lang="zh" hreflang="zh" data-title="Carbon语言" data-language-autonym="中文" data-language-local-name="Tionghoa" class="interlanguage-link-target"><span>中文</span></a></li><li class="interlanguage-link interwiki-zh-min-nan mw-list-item"><a href="https://zh-min-nan.wikipedia.org/wiki/Carbon_(pian-t%C3%AAng_g%C3%BA-gi%C3%A2n)" title="Carbon (pian-têng gú-giân) – Minnan" lang="nan" hreflang="nan" data-title="Carbon (pian-têng gú-giân)" data-language-autonym="閩南語 / Bân-lâm-gú" data-language-local-name="Minnan" class="interlanguage-link-target"><span>閩南語 / Bân-lâm-gú</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/Carbon_(%E7%A8%8B%E5%BC%8F%E8%AA%9E%E8%A8%80)" title="Carbon (程式語言) – Kanton" lang="yue" hreflang="yue" data-title="Carbon (程式語言)" data-language-autonym="粵語" data-language-local-name="Kanton" class="interlanguage-link-target"><span>粵語</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q113157814#sitelinks-wikipedia" title="Sunting pranala interwiki" class="wbc-editpage">Sunting pranala</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Ruang nama"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Carbon_(bahasa_pemrograman)" title="Lihat halaman isi [c]" accesskey="c"><span>Halaman</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Pembicaraan:Carbon_(bahasa_pemrograman)" rel="discussion" title="Pembicaraan halaman isi [t]" accesskey="t"><span>Pembicaraan</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Ubah varian bahasa" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Bahasa Indonesia</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Tampilan"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Carbon_(bahasa_pemrograman)"><span>Baca</span></a></li><li id="ca-ve-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;veaction=edit" title="Sunting halaman ini [v]" accesskey="v"><span>Sunting</span></a></li><li id="ca-edit" class="collapsible vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;action=edit" title="Sunting kode sumber halaman ini [e]" accesskey="e"><span>Sunting sumber</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;action=history" title="Revisi sebelumnya dari halaman ini. [h]" accesskey="h"><span>Lihat riwayat</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Peralatan halaman"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Perkakas" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Perkakas</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Perkakas</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">pindah ke bilah sisi</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">sembunyikan</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Opsi lainnya" > <div class="vector-menu-heading"> Tindakan </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Carbon_(bahasa_pemrograman)"><span>Baca</span></a></li><li id="ca-more-ve-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;veaction=edit" title="Sunting halaman ini [v]" accesskey="v"><span>Sunting</span></a></li><li id="ca-more-edit" class="collapsible vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;action=edit" title="Sunting kode sumber halaman ini [e]" accesskey="e"><span>Sunting sumber</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;action=history"><span>Lihat riwayat</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Umum </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Istimewa:Pranala_balik/Carbon_(bahasa_pemrograman)" title="Daftar semua halaman wiki yang memiliki pranala ke halaman ini [j]" accesskey="j"><span>Pranala balik</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Istimewa:Perubahan_terkait/Carbon_(bahasa_pemrograman)" rel="nofollow" title="Perubahan terbaru halaman-halaman yang memiliki pranala ke halaman ini [k]" accesskey="k"><span>Perubahan terkait</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Istimewa:Halaman_istimewa" title="Daftar semua halaman istimewa [q]" accesskey="q"><span>Halaman istimewa</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;oldid=23265087" title="Pranala permanen untuk revisi halaman ini"><span>Pranala permanen</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;action=info" title="Informasi lanjut tentang halaman ini"><span>Informasi halaman</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Istimewa:Kutip&amp;page=Carbon_%28bahasa_pemrograman%29&amp;id=23265087&amp;wpFormIdentifier=titleform" title="Informasi tentang bagaimana mengutip halaman ini"><span>Kutip halaman ini</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Istimewa:UrlShortener&amp;url=https%3A%2F%2Fid.wikipedia.org%2Fwiki%2FCarbon_%28bahasa_pemrograman%29"><span>Lihat URL pendek</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Istimewa:QrCode&amp;url=https%3A%2F%2Fid.wikipedia.org%2Fwiki%2FCarbon_%28bahasa_pemrograman%29"><span>Unduh kode QR</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Cetak/ekspor </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Istimewa:Buku&amp;bookcmd=book_creator&amp;referer=Carbon+%28bahasa+pemrograman%29"><span>Buat buku</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Istimewa:DownloadAsPdf&amp;page=Carbon_%28bahasa_pemrograman%29&amp;action=show-download-screen"><span>Unduh versi PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;printable=yes" title="Versi cetak halaman ini [p]" accesskey="p"><span>Versi cetak</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> Dalam proyek lain </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q113157814" title="Pranala untuk menghubungkan butir pada ruang penyimpanan data [g]" accesskey="g"><span>Butir di Wikidata</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Peralatan halaman"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Tampilan"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Tampilan</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">pindah ke bilah sisi</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">sembunyikan</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">Dari Wikipedia bahasa Indonesia, ensiklopedia bebas</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="id" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r22657712">.mw-parser-output .infobox-subbox{padding:0;border:none;margin:-3px;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent}.mw-parser-output .infobox-3cols-child{margin:auto}.mw-parser-output .infobox .navbar{font-size:100%}body.skin-minerva .mw-parser-output .infobox-header,body.skin-minerva .mw-parser-output .infobox-subheader,body.skin-minerva .mw-parser-output .infobox-above,body.skin-minerva .mw-parser-output .infobox-title,body.skin-minerva .mw-parser-output .infobox-image,body.skin-minerva .mw-parser-output .infobox-full-data,body.skin-minerva .mw-parser-output .infobox-below{text-align:center}</style><style data-mw-deduplicate="TemplateStyles:r25990039">.mw-parser-output .ib-video-game .infobox-label{white-space:nowrap;padding-right:0.65em}.mw-parser-output .ib-video-game .infobox-above{font-style:italic}.mw-parser-output .vg{background:url("//upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png")no-repeat top right}.mw-parser-output .ib-country{border-collapse:collapse;line-height:1.2em}.mw-parser-output .ib-country td,.mw-parser-output .ib-country th{border-top:1px solid transparent;padding:0.4em 0.6em 0.4em 0.6em}.mw-parser-output .ib-country .mergedtoprow .infobox-header,.mw-parser-output .ib-country .mergedtoprow .infobox-label,.mw-parser-output .ib-country .mergedtoprow .infobox-data,.mw-parser-output .ib-country .mergedtoprow .infobox-full-data,.mw-parser-output .ib-country .mergedtoprow .infobox-below{border-top:1px solid #a2a9b1;padding:0.4em 0.6em 0.2em 0.6em}.mw-parser-output .ib-country .mergedrow .infobox-label,.mw-parser-output .ib-country .mergedrow .infobox-data,.mw-parser-output .ib-country .mergedrow .infobox-full-data{border:0;padding:0 0.6em 0.2em 0.6em}.mw-parser-output .ib-country .mergedbottomrow .infobox-label,.mw-parser-output .ib-country .mergedbottomrow .infobox-data,.mw-parser-output .ib-country .mergedbottomrow .infobox-full-data{border-top:0;border-bottom:1px solid #a2a9b1;padding:0 0.6em 0.4em 0.6em}.mw-parser-output .ib-country-b{background:url("//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png")no-repeat top right}.mw-parser-output .ib-country .infobox-header{text-align:center}.mw-parser-output .ib-country .infobox-above{font-size:125%;line-height:1.2}.mw-parser-output .ib-country-names{padding-top:0.25em;font-weight:normal}.mw-parser-output .ib-country-name-style{display:inline}.mw-parser-output .ib-country .infobox-image{padding:0.5em 0}.mw-parser-output .ib-country-anthem{border-top:1px solid #a2a9b1;padding-top:0.5em;margin-top:0.5em}.mw-parser-output .ib-country-map-caption{position:relative;top:0.3em}.mw-parser-output .ib-country-largest,.mw-parser-output .ib-country-lang{font-weight:normal}.mw-parser-output .ib-country-ethnic,.mw-parser-output .ib-country-religion,.mw-parser-output .ib-country-sovereignty{font-weight:normal;display:inline}.mw-parser-output .ib-country-fake-li{text-indent:-0.9em;margin-left:1.2em;font-weight:normal}.mw-parser-output .ib-country-fake-li2{text-indent:0.5em;margin-left:1em;font-weight:normal}.mw-parser-output .ib-country-website{line-height:11pt}.mw-parser-output .ib-country-map-caption3{position:relative;top:0.3em}.mw-parser-output .ib-country-fn{text-align:left;margin:0 auto}.mw-parser-output .ib-country-fn-alpha{list-style-type:lower-alpha;margin-left:1em}.mw-parser-output .ib-country-fn-num{margin-left:1em}</style><table class="infobox vevent" style="box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);border-radius: 2px;; line-height:1.2"><tbody><tr><th colspan="2" class="infobox-above above" style="background-color:#def0ff;border-top:2px solid gray; border-bottom:2px solid gray;font-size:130%; line-height: normal">Carbon (bahasa pemrograman)</th></tr><tr><td colspan="2" class="infobox-image"><center><span typeof="mw:File"><a href="/wiki/Berkas:Carbon_logo.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Carbon_logo.png/130px-Carbon_logo.png" decoding="async" width="130" height="130" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Carbon_logo.png/195px-Carbon_logo.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Carbon_logo.png/260px-Carbon_logo.png 2x" data-file-width="280" data-file-height="280" /></a></span></center></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%">Keluarga</th><td class="infobox-data"><a href="/wiki/C_(bahasa_pemrograman)" title="C (bahasa pemrograman)">C</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%"><a href="/w/index.php?title=Desain_Perangkat_Lunak&amp;action=edit&amp;redlink=1" class="new" title="Desain Perangkat Lunak (halaman belum tersedia)">Dirancang&#160;oleh</a></th><td class="infobox-data"><a href="/wiki/Google" title="Google">Google</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%">Implementasi dari</th><td class="infobox-data"><a href="/wiki/C%2B%2B" title="C++">C++</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%"><a href="/wiki/Lisensi_perangkat_lunak" title="Lisensi perangkat lunak">Lisensi</a></th><td class="infobox-data"><a href="/w/index.php?title=Apache-2.0-with-LLVM-Exception&amp;action=edit&amp;redlink=1" class="new" title="Apache-2.0-with-LLVM-Exception (halaman belum tersedia)">Apache-2.0-with-LLVM-Exception</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%"><a href="/w/index.php?title=Ekstensi_nama_berkas&amp;action=edit&amp;redlink=1" class="new" title="Ekstensi nama berkas (halaman belum tersedia)">Ekstensi nama berkas</a></th><td class="infobox-data"><code>.carbon</code></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%">Situs web</th><td class="infobox-data"><span class="url"><a rel="nofollow" class="external text" href="https://github.com/carbon-language/carbon-lang">github<wbr />.com<wbr />/carbon-language<wbr />/carbon-lang</a></span></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%">Repositori</th><td class="infobox-data"><span class="url"><a rel="nofollow" class="external text" href="https://github.com/carbon-language/carbon-lang">github<wbr />.com<wbr />/carbon-language<wbr />/carbon-lang</a></span></td></tr><tr><th colspan="2" class="infobox-header" style="background-color:#def0ff;font-size:100%; line-height: normal">Terpengaruh oleh</th></tr><tr><td colspan="2" class="infobox-full-data"><a href="/wiki/C%2B%2B" title="C++">C++</a>, <a href="/wiki/Rust_(bahasa_pemrograman)" title="Rust (bahasa pemrograman)">Rust</a></td></tr><tr><td colspan="2" class="infobox-below hlist" style="font-weight:normal;font-size:80%;text-align:left;height:20px;padding-top:0.2em;"><figure class="mw-halign-left" typeof="mw:File"><span><img alt="Sunting kotak info" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/10px-OOjs_UI_icon_edit-ltr-progressive.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/15px-OOjs_UI_icon_edit-ltr-progressive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/20px-OOjs_UI_icon_edit-ltr-progressive.svg.png 2x" data-file-width="20" data-file-height="20" /></span><figcaption></figcaption></figure><span class="plainlinks"><a class="external text" href="https://id.wikipedia.org/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;action=edit&amp;section=top&amp;editintro="><b>Sunting kotak info</b></a></span>&#160;• <a href="/wiki/Templat:Infobox_programming_language" title="Templat:Infobox programming language">L</a>&#160;• <a href="/w/index.php?title=Pembicaraan_Templat:Infobox_programming_language&amp;action=edit&amp;redlink=1" class="new" title="Pembicaraan Templat:Infobox programming language (halaman belum tersedia)">B</a><figure class="mw-halign-right" typeof="mw:File"><a href="/wiki/Templat:Infobox_programming_language/doc" title="Bantuan penggunaan templat ini"><img alt="Info templat" src="//upload.wikimedia.org/wikipedia/commons/thumb/3/38/Info_Simple.svg/10px-Info_Simple.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/3/38/Info_Simple.svg/15px-Info_Simple.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/3/38/Info_Simple.svg/20px-Info_Simple.svg.png 2x" data-file-width="512" data-file-height="512" /></a><figcaption>Bantuan penggunaan templat ini</figcaption></figure></td></tr></tbody></table> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r22657712"> <p><br /> <b>Carbon</b>, atau Carbon-Lang, merupakan sebuah <a href="/wiki/Bahasa_pemrograman" title="Bahasa pemrograman">bahasa pemrograman</a> bertujuan umum yang masih eksperimental. Proyek bahasa ini bersifat <a href="/wiki/Sumber_terbuka" title="Sumber terbuka">sumber terbuka</a> dan diinisiasi oleh <a href="/wiki/Google" title="Google">Google</a>, menyusul bahasa pemrograman buatan Google lainnya sebelum ini, <a href="/wiki/Go_(bahasa_pemrograman)" title="Go (bahasa pemrograman)">Go</a> dan <a href="/wiki/Dart_(bahasa_pemrograman)" title="Dart (bahasa pemrograman)">Dart</a>. Teknisi Google, Chandler Carruth, pertama kali memperkenalkan Carbon pada Konferensi CppNorth di <a href="/wiki/Toronto" title="Toronto">Toronto</a>, <a href="/wiki/Kanada" title="Kanada">Kanada</a> pada bulan Juli 2022. Ia menyatakan bahwa Carbon dibuat untuk menjadi sebuah penerus <a href="/wiki/C%2B%2B" title="C++">C++</a>.<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">&#91;</span>2<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">&#91;</span>3<span class="cite-bracket">&#93;</span></a></sup> Versi 1.0 bahasa ini direncanakan akan rilis pada tahun 2026 ke atas.<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">&#91;</span>4<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">&#91;</span>5<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Contoh">Contoh</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;veaction=edit&amp;section=1" title="Sunting bagian: Contoh" class="mw-editsection-visualeditor"><span>sunting</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;action=edit&amp;section=1" title="Sunting kode sumber bagian: Contoh"><span>sunting sumber</span></a><span class="mw-editsection-bracket">]</span></span></div><p> Berikut menunjukkan bagaimana cara menulis <i><a href="/wiki/Hello_world" title="Hello world">Hello, World!</a></i> menggunakan Carbon:</p><div class="mw-highlight mw-highlight-lang-rust mw-content-ltr mw-highlight-lines" dir="ltr"><pre><span></span><span class="linenos" data-line="1"></span><span class="n">package</span><span class="w"> </span><span class="n">Sample</span><span class="w"> </span><span class="n">api</span><span class="p">;</span> <span class="linenos" data-line="2"></span> <span class="linenos" data-line="3"></span><span class="k">fn</span> <span class="nf">Main</span><span class="p">()</span><span class="w"> </span>-&gt; <span class="kt">i32</span> <span class="p">{</span> <span class="linenos" data-line="4"></span><span class="w"> </span><span class="n">var</span><span class="w"> </span><span class="n">s</span>: <span class="nc">auto</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;Hello, World!&quot;</span><span class="p">;</span> <span class="linenos" data-line="5"></span><span class="w"> </span><span class="n">Print</span><span class="p">(</span><span class="n">s</span><span class="p">);</span> <span class="linenos" data-line="6"></span><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span> <span class="linenos" data-line="7"></span><span class="p">}</span> </pre></div><p>Berikut merupakan cara untuk menuliskan program yang sama menggunakan C++:</p><div class="mw-highlight mw-highlight-lang-c++ mw-content-ltr mw-highlight-lines" dir="ltr"><pre><span></span><span class="linenos" data-line="1"></span><span class="cp">#include</span><span class="w"> </span><span class="cpf">&lt;iostream&gt;</span> <span class="linenos" data-line="2"></span> <span class="linenos" data-line="3"></span><span class="k">using</span><span class="w"> </span><span class="k">namespace</span><span class="w"> </span><span class="nn">std</span><span class="p">;</span> <span class="linenos" data-line="4"></span><span class="kt">int</span><span class="w"> </span><span class="nf">main</span><span class="p">()</span><span class="w"> </span><span class="p">{</span> <span class="linenos" data-line="5"></span><span class="w"> </span><span class="k">auto</span><span class="w"> </span><span class="n">s</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;Hello, World!&quot;</span><span class="p">;</span> <span class="linenos" data-line="6"></span><span class="w"> </span><span class="n">cout</span><span class="w"> </span><span class="o">&lt;&lt;</span><span class="w"> </span><span class="n">s</span><span class="p">;</span> <span class="linenos" data-line="7"></span><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span> <span class="linenos" data-line="8"></span><span class="p">}</span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="Lihat_pula">Lihat pula</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;veaction=edit&amp;section=2" title="Sunting bagian: Lihat pula" class="mw-editsection-visualeditor"><span>sunting</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;action=edit&amp;section=2" title="Sunting kode sumber bagian: Lihat pula"><span>sunting sumber</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/C%2B%2B" title="C++">C++</a></li> <li><a href="/wiki/Rust_(bahasa_pemrograman)" title="Rust (bahasa pemrograman)">Rust</a></li> <li><a href="/wiki/Java" title="Java">Java</a></li> <li><a href="/wiki/HTML" title="HTML">HTML (Hypertext Markup Language)</a></li> <li><a href="/wiki/JavaScript" title="JavaScript">JavaScript</a></li> <li><a href="/wiki/Python_(bahasa_pemrograman)" title="Python (bahasa pemrograman)">Python (bahasa pemrograman)</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="Referensi">Referensi</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;veaction=edit&amp;section=3" title="Sunting bagian: Referensi" class="mw-editsection-visualeditor"><span>sunting</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;action=edit&amp;section=3" title="Sunting kode sumber bagian: Referensi"><span>sunting sumber</span></a><span class="mw-editsection-bracket">]</span></span></div> <ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://cppnorth2022.sched.com/event/140f8/keynote-chandler-carruth-nulbscience-experiment-timenulb?linkback=grid">"CppNorth2022: Keynote: Chandler Carruth ⚗️🧪Science exp..."</a> <i>cppnorth2022.sched.com</i><span class="reference-accessdate">. Diakses tanggal <span class="nowrap">2023-02-02</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=cppnorth2022.sched.com&amp;rft.atitle=CppNorth2022%3A+Keynote%3A+Chandler+Carruth+%E2%9A%97%EF%B8%8F%F0%9F%A7%AAScience+exp...&amp;rft_id=https%3A%2F%2Fcppnorth2022.sched.com%2Fevent%2F140f8%2Fkeynote-chandler-carruth-nulbscience-experiment-timenulb%3Flinkback%3Dgrid&amp;rfr_id=info%3Asid%2Fid.wikipedia.org%3ACarbon+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;">&#160;</span></span></span> </li> <li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text"><cite class="citation"><a rel="nofollow" class="external text" href="https://www.youtube.com/watch?v=omrY53kbVoA"><i>Carbon Language: An experimental successor to C++ - Chandler Carruth - CppNorth 2022</i></a><span class="reference-accessdate">, diakses tanggal <span class="nowrap">2023-02-02</span></span></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Carbon+Language%3A+An+experimental+successor+to+C%2B%2B+-+Chandler+Carruth+-+CppNorth+2022&amp;rft_id=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DomrY53kbVoA&amp;rfr_id=info%3Asid%2Fid.wikipedia.org%3ACarbon+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;">&#160;</span></span></span> </li> <li id="cite_note-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-3">^</a></b></span> <span class="reference-text"><cite class="citation web">Bradshaw, Kyle (2022-07-19). <a rel="nofollow" class="external text" href="https://9to5google.com/2022/07/19/carbon-programming-language-google-cpp/">"Carbon, a new programming language from Google, aims to be C++ successor"</a>. <i>9to5Google</i> (dalam bahasa Inggris)<span class="reference-accessdate">. Diakses tanggal <span class="nowrap">2023-02-02</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=9to5Google&amp;rft.atitle=Carbon%2C+a+new+programming+language+from+Google%2C+aims+to+be+C%2B%2B+successor&amp;rft.date=2022-07-19&amp;rft.aulast=Bradshaw&amp;rft.aufirst=Kyle&amp;rft_id=https%3A%2F%2F9to5google.com%2F2022%2F07%2F19%2Fcarbon-programming-language-google-cpp%2F&amp;rfr_id=info%3Asid%2Fid.wikipedia.org%3ACarbon+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;">&#160;</span></span></span> </li> <li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text"><cite class="citation"><a rel="nofollow" class="external text" href="https://github.com/carbon-language/carbon-lang/blob/9feff92f223e1a855abf2b343387d8460f63317b/docs/project/roadmap.md"><i>Carbon Language: An experimental successor to C++</i></a>, 2023-02-02<span class="reference-accessdate">, diakses tanggal <span class="nowrap">2023-02-02</span></span></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Carbon+Language%3A++An+experimental+successor+to+C%2B%2B&amp;rft.date=2023-02-02&amp;rft_id=https%3A%2F%2Fgithub.com%2Fcarbon-language%2Fcarbon-lang%2Fblob%2F9feff92f223e1a855abf2b343387d8460f63317b%2Fdocs%2Fproject%2Froadmap.md&amp;rfr_id=info%3Asid%2Fid.wikipedia.org%3ACarbon+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;">&#160;</span></span></span> </li> <li id="cite_note-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-5">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://github.com/carbon-language/carbon-lang/blob/trunk/docs/project/roadmap.md#potential-goals-beyond-2026-ship-10-language--organization">"carbon-lang/roadmap.md at trunk"</a>. <i>GitHub</i>. 16 Maret 2023<span class="reference-accessdate">. Diakses tanggal <span class="nowrap">16 April</span> 2023</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=GitHub&amp;rft.atitle=carbon-lang%2Froadmap.md+at+trunk&amp;rft.date=2023-03-16&amp;rft_id=https%3A%2F%2Fgithub.com%2Fcarbon-language%2Fcarbon-lang%2Fblob%2Ftrunk%2Fdocs%2Fproject%2Froadmap.md%23potential-goals-beyond-2026-ship-10-language--organization&amp;rfr_id=info%3Asid%2Fid.wikipedia.org%3ACarbon+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;">&#160;</span></span><span class="citation-comment" style="display:none; color:#33aa33; margin-left:0.3em">Pemeliharaan CS1: Tanggal dan tahun (<a href="/wiki/Kategori:Pemeliharaan_CS1:_Tanggal_dan_tahun" title="Kategori:Pemeliharaan CS1: Tanggal dan tahun">link</a>) </span></span> </li> </ol> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐57488d5c7d‐xdxld Cached time: 20241128011623 Cache expiry: 2592000 Reduced expiry: false Complications: [] CPU time usage: 0.171 seconds Real time usage: 0.468 seconds Preprocessor visited node count: 649/1000000 Post‐expand include size: 20205/2097152 bytes Template argument size: 1440/2097152 bytes Highest expansion depth: 13/100 Expensive parser function count: 4/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 13153/5000000 bytes Lua time usage: 0.086/10.000 seconds Lua memory usage: 2808889/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 344.516 1 -total 35.11% 120.972 1 Templat:Infobox_bahasa_pemrograman 32.74% 112.787 2 Templat:Infobox 11.18% 38.513 3 Templat:Cite_web 3.31% 11.406 2 Templat:URL 2.76% 9.519 2 Templat:Citation 1.82% 6.260 1 Templat:Infobox_software/simple 0.80% 2.742 2 Templat:* 0.53% 1.842 2 Templat:Infobox_software/colorline 0.51% 1.755 2 Templat:Template_other --> <!-- Saved in parser cache with key idwiki:pcache:3834504:|#|:idhash:canonical and timestamp 20241128011623 and revision id 23265087. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Diperoleh dari "<a dir="ltr" href="https://id.wikipedia.org/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;oldid=23265087">https://id.wikipedia.org/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;oldid=23265087</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Istimewa:Daftar_kategori" title="Istimewa:Daftar kategori">Kategori</a>: <ul><li><a href="/wiki/Kategori:Bahasa_pemrograman" title="Kategori:Bahasa pemrograman">Bahasa pemrograman</a></li><li><a href="/wiki/Kategori:Bahasa_pemrograman_tingkat_tinggi" title="Kategori:Bahasa pemrograman tingkat tinggi">Bahasa pemrograman tingkat tinggi</a></li><li><a href="/wiki/Kategori:Bahasa_pemrograman_berorientasi_objek" title="Kategori:Bahasa pemrograman berorientasi objek">Bahasa pemrograman berorientasi objek</a></li><li><a href="/wiki/Kategori:Proyek_Google" title="Kategori:Proyek Google">Proyek Google</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Kategori tersembunyi: <ul><li><a href="/wiki/Kategori:Halaman_dengan_argumen_ganda_di_pemanggilan_templat" title="Kategori:Halaman dengan argumen ganda di pemanggilan templat">Halaman dengan argumen ganda di pemanggilan templat</a></li><li><a href="/wiki/Kategori:CS1_sumber_berbahasa_Inggris_(en)" title="Kategori:CS1 sumber berbahasa Inggris (en)">CS1 sumber berbahasa Inggris (en)</a></li><li><a href="/wiki/Kategori:Pemeliharaan_CS1:_Tanggal_dan_tahun" title="Kategori:Pemeliharaan CS1: Tanggal dan tahun">Pemeliharaan CS1: Tanggal dan tahun</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> Halaman ini terakhir diubah pada 16 April 2023, pukul 08.35.</li> <li id="footer-info-copyright">Teks tersedia di bawah <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Lisensi Atribusi-BerbagiSerupa Creative Commons</a>; ketentuan tambahan mungkin berlaku. Lihat <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Ketentuan Penggunaan</a> untuk rincian lebih lanjut.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Kebijakan privasi</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:Tentang">Tentang Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:Penyangkalan_umum">Penyangkalan</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Kode Etik</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Pengembang</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/id.wikipedia.org">Statistik</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Pernyataan kuki</a></li> <li id="footer-places-mobileview"><a href="//id.m.wikipedia.org/w/index.php?title=Carbon_(bahasa_pemrograman)&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Tampilan seluler</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-57488d5c7d-xdxld","wgBackendResponseTime":660,"wgPageParseReport":{"limitreport":{"cputime":"0.171","walltime":"0.468","ppvisitednodes":{"value":649,"limit":1000000},"postexpandincludesize":{"value":20205,"limit":2097152},"templateargumentsize":{"value":1440,"limit":2097152},"expansiondepth":{"value":13,"limit":100},"expensivefunctioncount":{"value":4,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":13153,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 344.516 1 -total"," 35.11% 120.972 1 Templat:Infobox_bahasa_pemrograman"," 32.74% 112.787 2 Templat:Infobox"," 11.18% 38.513 3 Templat:Cite_web"," 3.31% 11.406 2 Templat:URL"," 2.76% 9.519 2 Templat:Citation"," 1.82% 6.260 1 Templat:Infobox_software/simple"," 0.80% 2.742 2 Templat:*"," 0.53% 1.842 2 Templat:Infobox_software/colorline"," 0.51% 1.755 2 Templat:Template_other"]},"scribunto":{"limitreport-timeusage":{"value":"0.086","limit":"10.000"},"limitreport-memusage":{"value":2808889,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-57488d5c7d-xdxld","timestamp":"20241128011623","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Carbon (bahasa pemrograman)","url":"https:\/\/id.wikipedia.org\/wiki\/Carbon_(bahasa_pemrograman)","sameAs":"http:\/\/www.wikidata.org\/entity\/Q113157814","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q113157814","author":{"@type":"Organization","name":"Kontributor dari proyek Wikimedia."},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2023-02-02T16:29:11Z","dateModified":"2023-04-16T08:35:15Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/e\/e1\/Carbon_logo.png","headline":"Carbon, atau Carbon-Lang, merupakan sebuah bahasa pemrograman bertujuan umum yang masih eksperimental. Proyek bahasa ini bersifat sumber terbuka dan diinisiasi oleh Google"}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10