► Exclusive tutorials, Mini Courses and projects, Resume and project reviews 👉 thetotalcoder.com ► My amazing Golang course 👉 fulltimegodev.com ► Join my Discord community for free education 👉 discord.com/invite/Ac7CWREe58
I watch all these videors over and over and I still hate that a type is first (before var name). Okay. Second thing is name of model methods. I mean, update*, save*, set* is many cases is just non-sense in context of domain. You probably register(), registerDraft(), commitChanges() in a book. But what is "to save a book" in real life? It's when you fight some nazi who wants to burn it.
runs a command, it fails 2 of 3 times... says: i swear to god it works 99% of time. rofl are you kidding me? it obiously does not work in 66% of the time...
Question:- what if my go routine is sending data and i want to manipulate the same in main function . This seems to be sync behavior as we are collecting response in channel and then closing it and later we are manipulating the same. Can you suggest some approach how it can be done in my scenario as it keeps throwing error. Thanks in Advance.
just think about Two different Databases, like MySQL and MongoDB, and you are programming a Form app, and you want to Insert/Update/Delete that object User, Every DB has this methods, BUT each one made it in a different way, and every them needs to receive a User Object to make the action, so, Program your MySQL structure and yout MongoDB structure, then, bind them in a Database Interface, and you can call your MySQL.Add(user) or MongoDB.Add(user) based on which one you want to use each time, or in same time, for parallel data saving
For the completions to not interfere with Enter behavior, you need to change de “accept” completion key of the cmp plugin: ['<CR>'] = cmp.mapping.confirm({ select = true } For example I have <C-n> for next completion, <C-p> for previous and <C-y> instead of <CR> Minute: 1:06:00
Thanks, as allways perfectly clever explanation. I have question about DI, like here - where and how should be resolved this abstraction? What the most rigth place in project and what style should we use to get balance on clean code, short code, testability etc. ?
Not all Faang devs are specialists. They are DSA average of all trade guys. Very few of them are spevialists. And those DSA guys gets laid out and they become RU-vidr. That's it
Hey sir can you please make a beginner level video for templ it's vs code extension creates probelm :) please teach how to make it work and also teach about using tailwind with it
Anthony, just stumbled upon a video with Johnny Sins on the thumb and it's about go lang. There is someone trying to steal your title of Jhonny sins of go lang 😮. The channel is Martin Baun.
It's only youtubers and "content creators" who use the term "meta" in this way. Might have been useful to explain what you are referring to. Maybe Paradigm or Trend would have better words for it?
Taking a step back when it's getting too much! That is one of the most important things in life, especially when you get older. Anthony here with the real advice
probably looks like to php frameworks like laravel or symfony, but i can tell you for frontend js destroy every thing on this side, so i don't think a good idea using go lang in client side
Curious how would you clean up the errors in the following scenario: 1. User enters data in the Name field only and posts the form. 2. The server returns the form with errors on other mandatory fields. 3. User types something into the field with an error markup. I assume that the error just stays in the form, but from UX standpoint it would be nice to remove the error once the user populated the field.
you could also get errors from a different templ endpoint that executes with a delay after using input, right? though I believe that's a far stretch to not use js
I really likes your videos and tips and thanks for try to explain in a more relax an calm way. To me is really hard to follow because english is not my language. I am from Panama. I want to buy your courses but the speed how you talk its a stop for me
8 spaces indent is crazy. And for some reason none of my editors like it. Goland and Intellij both failed at figuring out the indentation with auto detection they both added an extra 2 spaces on line jumps. I gave up on those and opened the project on Neovim. Neovim said fuck it, I will display 2 spaces indent and write 2 spaces without removing the 8 originals spaces from untouched lines. I thought the the whole time while working with Neovim that the indentation was correct until I went on Github to look at the commit 😂 Can we get something in the make file that will format the code automatically to the project formatting standards? I would love to write 2, 8, 50 spaces/tabs and not care about touching any editor settings to format to the project preferences.