Ask coding questions

← Back to all posts
Trying to Learn GoLang
h
JordanDixon1 (324)

I have been trying to learn Go because of it's speed and the fact that some if not most of repl.it has been made from it and I am having trouble.

First of all, I come from python and this is very different to me. I like the idea that you can make executable binary packages for all platforms and I like all the modules but I don't know where to start or what I want to do. I don't know what project I should start on. Should I start on a game, a website, a blog, etc. The options are literally endless and I don't know where to start.

Answered by CodeLongAndPros (1247) [earned 5 cycles]
View Answer
Commentshotnewtop
CodeLongAndPros (1247)

I would say, as a general rule of thumb:

  • Hello World
  • Command line output
  • Command-line converters (C to F)
  • GUI apps (Tkinter)
  • 2D games (PyGame)
  • Websites (Flask)
  • Actual utilites (Try making clones of GNU coreutils)
JordanDixon1 (324)

@CodeLongAndPros I mean't for GoLang not Python.

CodeLongAndPros (1247)

@JordanDixon1 I was giving the package examples in Python, since I don't know Go equivalents (or Go).

Tkinter is the default Python GUI framework, and since you said you came from Python, I was giving examples of Python packages that do what you want.

JordanDixon1 (324)

@CodeLongAndPros Okay... I'm thinking of sticking with Python for now and slowly working onto GoLang. Atleast, until I can figure out modules like TKinter and can code it with ease.

CodeLongAndPros (1247)

@JordanDixon1 Try converting your Python projects into GoLang.