This commit is contained in:
2023-04-30 15:50:51 -04:00
parent a18e714f48
commit fce0f59cee
2 changed files with 20 additions and 0 deletions
+7
View File
@@ -208,6 +208,13 @@ declare module 'astro:content' {
collection: "blog",
data: InferEntrySchema<"blog">
} & { render(): Render[".md"] },
"on-using-chat-gpt.md": {
id: "on-using-chat-gpt.md",
slug: "on-using-chat-gpt",
body: string,
collection: "blog",
data: InferEntrySchema<"blog">
} & { render(): Render[".md"] },
"reflecting-on-building-my-first-app.md": {
id: "reflecting-on-building-my-first-app.md",
slug: "reflecting-on-building-my-first-app",
+13
View File
@@ -0,0 +1,13 @@
---
title: 'Quick Thoughts On Using Chat GPT as a Coding Assistant'
pubDate: '4/30/23'
tags: ['Learning', 'Programming']
---
When I was learning to code, the line my tutor kept repeating was, “Half of programming is knowing how to use Google.” That can be pretty much boiled down to half of programming is knowing how to look things up, whether thats in a book, online, or with a language model. You cant know everything there is to know about programming, so you have to be good at looking things up when you dont have the answer to a problem, and you have to be able to do it effectively with whatever tool
For the last several weeks Ive been using ChatGPT in lieu of Google for looking up code examples when Im stuck on a problem at work, or when working on side-projects. Its been hugely beneficial to my productivity and workflow, but its not perfect.
Going in you need to have enough knowledge to be able to call it on its BS. Ive found ChatGPT will get things wrong, give you code that maybe doesnt quite do what youre looking for, or sometimes try to get you to use non-existent or deprecated packages or language features.
Especially when Im going in trying to learn something new, whether its a web technology Im not experienced in, or trying to [learn Swift from scratch](/posts/reflecting-on-building-my-first-app/), Ive found it helpful to go in at least knowing what Im looking for. That means reading documentation, and trying a few things out on my own. If Im stuck, or if the documentation has poor or non-existent sample code (looking at you Apple), Ill use ChatGPT to generate some generic starter code I can use as a jumping off point.