Skip to Content
Go for Java Programmers: Learn the Google Go Programming Language
book

Go for Java Programmers: Learn the Google Go Programming Language

by Barry Feigenbaum, Ph.D.
October 2021
Beginner
596 pages
9h 56m
English
Apress
Content preview from Go for Java Programmers: Learn the Google Go Programming Language
© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
B. Feigenbaum, Ph.D.Go for Java Programmershttps://doi.org/10.1007/978-1-4842-7199-5_4

4. Key Go Aspects

Barry Feigenbaum, Ph.D.1  
(1)
Austin, TX, USA
 

Like in Java, at the most basic level Go source is a stream of characters often viewed as a sequence of lines. Go files are written (as is typically true in Java) in UTF-8 encoding. Go does not have a preprocessor like Java has to process Unicode escapes into raw characters; all Unicode characters are treated the same, and escapes can only appear inside of string or character literals, not in identifiers or elsewhere.

Like in Java, the characters are grouped into constructs called whitespace (sequences of spaces, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Getting started with Go Programming Language

Getting started with Go Programming Language

Matthew Spaulding
Get Programming with Go

Get Programming with Go

Nathan Youngman, Roger Peppe
Go Web Programming

Go Web Programming

Sau Sheong Chang

Publisher Resources

ISBN: 9781484271995Purchase LinkPublisher Website