Pointers – Go Lang Practical Programming Tutorial p.4

Welcome to part 4 of the Go programming tutorial series. In the previous tutorial, we covered some function basics. Now, we’re going to cover the last basic concept before creating a simple web app, which is pointers. Pointers allow you to reference from memory, which lets you do some interesting things. Let’s do a basic run-through.

Text tutorials and sample code: https://pythonprogramming.net/go/


Sébastien De Craene says:

nice tutorial

Julien Grave says:

Hey sentdex have a look at hyper.js with git-bash as a replacement of the Windows console. And thank you for your videos :)

Lilololol Lipoppopo says:

Is go good for software, or machine learning and is there a ide where you can run though with out having to use cmd

rypiv says:

learned a lot from this one. thanks

krishna prasad says:

isn’t there any exponent operator in GO?

Conor says:

Why windows?

raj says:

on the multiple function you specified (string,string) because returning 2 strings but why on the add function you dont specify (float,float) sorry if it sounds stupid

FuZZbaLLbee says:

What about memory management, I guess go does not use a garbidge collector, right?

iErcan says:

merci beaucoup

Fredrik Christenson says:

Great explanation of pointers.

I would suggest that there could be a value in explaining why someone would use them, in this video we got a great example of how they work but knowing the how without the why is only half of the story.

I am not an expert but I am pretty sure pointers most common use case is for when you want to avoid creating copies of a value in memory and simply always reference the same address of a value, this makes a lot of sense if you for example want to keep down your programs memory usage or if you create a struct where you want to change value on a specific instance without recreating the struct in memory?

Darron Pressley says:

I never found a use for pointers, can someone give a real world application if possible??…I mean I would just access the original variable

Plucky Playz says:

Stop dude !!! Don’t post all the videos at once!!! Make it systematic!!

Filip Andersson says:


Aayush Gogia says:

hey @sentdex what are your future projects?

Write a comment


Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles▷ Show Cars▷ Motorbikes▷ Scooters▷ Bicycles▷ Rims & Tires▷ Luxury BoatsFashion▷ Sunglasses▷ Luxury Watches▷ Luxury Purses▷ Jeans Wear▷ High Heels▷ Kinis Swimwear▷ Perfumes▷ Jewellery▷ Cosmetics▷ Shaving Helpers▷ Fashion HatsFooding▷ Chef Club▷ Fooding Helpers▷ Coktails & LiquorsSports▷ Sport Shoes▷ Fitness & Detox▷ Golf Gear▷ Racquets▷ Hiking & Trek Gear▷ Diving Equipment▷ Ski Gear▷ Snowboards▷ Surf Boards▷ Rollers & SkatesEntertainment▷ DIY Guides▷ Zik Instruments▷ Published Books▷ Music Albums▷ Cine Movies▷ Trading Helpers▷ Make Money▷ Fishing Equipment▷ Paintball Supplies▷ Trading Card Games▷ Telescopes▷ Knives▷ VapesHigh Tech▷ Flat Screens▷ Tech Devices▷ Camera Lenses▷ Audio HiFi▷ Printers▷ USB Devices▷ PC Hardware▷ Network Gear▷ Cloud Servers▷ Software Helpers▷ Programmer Helpers▷ Mobile Apps▷ Hearing AidsHome▷ Home Furniture▷ Home Appliances▷ Tools Workshop▷ Beddings▷ Floor Layings▷ Barbecues▷ Aquarium Gear▷ Safe Boxes▷ Office Supplies▷ Security Locks▷ Cleaning ProductsKids▷ Baby Strollers▷ Child Car Seats▷ Remote ControlledTravel▷ Luggages & Bags▷ Airlines Seats▷ Hotel Rooms▷ Fun Trips▷ Cruise Ships▷ Mexico Tours