ગો (પ્રોગ્રામિંગ ભાષા): આવૃત્તિઓ વચ્ચેનો તફાવત

Content deleted Content added
છબીનું કદ ઘટાડ્યું.
નાનું સંદર્ભ પરિમાણ સુધાર્યું.
લીટી ૬૪:
 
== નામ દ્રશ્યતા==
સ્ટ્રક્ચર્સ, સ્ટ્રક્ચર ફીલ્ડ્સ , ચલો, સ્થિરાંકો, પદ્ધતિઓ,ટોચના સ્તરના પ્રકારોની દૃશ્યતા તેમના ઓળખકર્તા ના કેપીટલાયસેશન મુજબ નિર્વિવાદરૂપે વ્યાખ્યાયિત હોય છે.<ref>{{cite web|url=http://golang.org/doc/go_tutorial.html|title=A Tutorial for the Go Programming Language|work=The Go Programming Language|publisher=Google|accessdateaccess-date=10 March 2010|quote=In Go the rule about visibility of information is simple: if a name (of a top-level type, function, method, constant or variable, or of a structure field or method) is capitalized, users of the package may see it. Otherwise, the name and hence the thing being named is visible only inside the package in which it is declared.}}</ref>
 
==સમાંતરણ==
લીટી ૭૩:
હાલમાં બે(૨) ગો કમ્પાઇલરો છે:<br />
*6g/8g/5g (અનુક્રમે AMD64, x86, અને ARM માટેના કમ્પાઇલરો) તેમના સહાયક સાધનો (સામૂહિક તરીકે "gc" તરીકે ઓળખાય છે) જે કેન થોમ્પસનના પુર્વ કામ "પ્લાન ૯(બેલ પ્રયોગશાળા)ના C ટૂલચેન" પર અધારિત છે.<br />
*gccgo,એક GCC ફ્રન્ટએન્ડ [[C++(પ્રોગ્રામિંગ ભાષા)|C++]]<ref>{{cite web|url=http://golang.org/doc/go_faq.html#Implementation|title=FAQ: Implementation|date=16 January 2010|work=golang.org|accessdateaccess-date=18 January 2010}}</ref> માં લખાયેલ છે.<br />
બંને કમ્પાઇલરોનો યુનિક્સ જેવી સિસ્ટમો પર કામ કરે છે અને તેની મોટા ભાગની લાઈબ્રેરીઓ વિન્ડોઝ પર પણ કામ કરે છે.
 
લીટી ૮૮:
}
</syntaxhighlight>
"ગો"ના સ્વયંસંચાલિત અર્ધવિરામ નિવેશ લક્ષણના કારણે પ્રારંભિક કૌંસ પોતાની લીટીમાં હોવા જરૂરી નથી,એટલા માટે આ કૌંસ શૈલી વાપરવામાં આવે છે.<ref>{{cite web|url=http://golang.org/doc/go_tutorial.html|title=A Tutorial for the Go Programming Language|work=The Go Programming Language|publisher=Google|accessdateaccess-date=10 March 2010|quote=The one surprise is that it's important to put the opening brace of a construct such as an if statement on the same line as the if; however, if you don't, there are situations that may not compile or may give the wrong result. The language forces the brace style to some extent.}}</ref>
 
===ઇકો===
નીચેનો ઉદાહરણ , ગોમાં યુનિક્સનો "ઇકો કમાન્ડ" કઇ રીતે લખવો તે દર્શાવે છે:<ref>{{cite web|url=http://golang.org/doc/go_tutorial.html|title=A Tutorial for the Go Programming Language|date=16 January 2010|work=golang.org|accessdateaccess-date=18 January 2010}}</ref>
<syntaxhighlight lang="go">
package main
લીટી ૧૨૪:
 
==નામકરણ વિવાદ==
ભાષાના સામાન્ય પ્રકાશન દિવસે,ફ્રાન્સિસ મેકકેબે, [[ગો! પ્રોગ્રામિંગ ભાષા|ગો!]](આ ઉદ્ગારવાચક બિંદુની નોંધ કરો)ના વિકાસકર્તાએ ગૂગલની ભાષાનું નામ બદલવા માટે વિનંતી કરી જેથી મૂંઝવણ ઊભી ના થાય.<ref name="infoweek">{{cite news|url=http://www.informationweek.com/news/software/web_services/showArticle.jhtml?articleID=221601351|title=Google 'Go' Name Brings Accusations Of Evil'|last=Claburn|first=Thomas|date=11 November 2009|publisher=InformationWeek|accessdateaccess-date=18 January 2010}}</ref>.આ મુદ્દાને ગૂગલ વિકાસકર્તા દ્વારા ૧૨ ઓક્ટોબર ૨૦૧૦ ના રોજ, "ઘણા કમ્પ્યુટિંગ ઉત્પાદનો અને સેવાઓને "ગો" નામ આપવામાં આવ્યું છે, અમારા પ્રકાશનના ૧૧ મહિના પછી , આ બે ભાષાઓ વચ્ચે ન્યૂનતમ મૂંઝવણ રહી છે"<ref>{{cite web|url=http://code.google.com/p/go/issues/detail?id=9|title=Issue 9 - go - I have already used the name for *MY* programming language|work=Google Code|publisher=[[Google Inc.]]|accessdateaccess-date=12 October 2010}}</ref>
આ ટિપ્પણી સાથે બંધ કરવામાં આવ્યો હતો.