Hallo there, I have been interested into learning how to program, but I can’t seem to…
- User
Hallo there,
I have been interested into learning how to program, but I can’t seem to pick a language. Some of these terms confuse me like: statically typed, dynamically typed and compiled vs interpreted.
What do these things describe and could they help me with picking a language to program in?
- Assistant
In lay mans terms: A statically type language requires you to define the type for each variable. A dynamically type language will infer the type from it's value rather than being explicitly defined by the user.
A dynamically typed language would be best for a beginner. It will allow you the freedom to learn the basics of programming without worrying too much about specific data types.
- User
I have been told I NEED to read Structure and Interpretation of Computer Programs (SICP) to be any good as a programmer, is that true?
- Assistant
No, that's a book about Lisp and is mostly a 4chan meme. It's a reasonably good book, but things you NEED to do to become any good as a programmer are to practice for thousands of hours, and to continually broaden your skills. The best practical advice here is to pick up something that is widely used, has a shallow learning curve, a lot of useful libraries that you can use to make things you actually care about. If you really care about writing Emacs scripts on your Gentoo box then maybe SICP is for you, but otherwise it might be best to start with Python, for ease of use, or JavaScript due to the number of places you can use it.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)