How To Structure Your Programming Projects

  Рет қаралды 266,573

Hallden

Hallden

Күн бұрын

Пікірлер: 272
@Speykious
@Speykious 3 жыл бұрын
The first and most important step to be an efficient programmer is to have a sleep schedule.
@tyengineer0
@tyengineer0 3 жыл бұрын
Facts 🙌🏼💯
@bhumika1060
@bhumika1060 3 жыл бұрын
Not sure bout that :×
@Speykious
@Speykious 3 жыл бұрын
@@bhumika1060 You should, it's a serious thing. It's bad for your health, your brain and especially your ability to focus and solve problems if you don't sleep enough.
@andrewkariuki
@andrewkariuki 3 жыл бұрын
Never seen something so true
@-XArchLinuxEnjoyerX-
@-XArchLinuxEnjoyerX- 3 жыл бұрын
PROPAGANDA!!! THE MORE TIMES YOU HAVE TO READ A FUNCTION TO UNDERSTAND WHAT IT DOES, THE MORE L337 OF A PROGRAMMER YOU ARE!
@JusticeNDOU
@JusticeNDOU 3 жыл бұрын
if you use a combination of pycharm and github actions you can configure your projects such that your TODO comments in your code ends up in your Issues, this is super helpful especially on a very large project
@edhead76
@edhead76 2 жыл бұрын
this has been such a struggle for me. thank you for the honest and straightforward approach at tackling code. Your naming convention section of the video parallels recommendations from a book i'm actively reading, "Clean Code." awesome video. i've subscribed and liked!
@Caliber632
@Caliber632 3 жыл бұрын
"You should use standing desks!, Ergonomic chairs!, here's a great company where you can get all that stuff from!" "Sits on the sofa, lies on the bed, laptop always on... his lap...." Me too Kalle, me too.
@Gigusx
@Gigusx 3 жыл бұрын
Since a part of it is not about structuring a project but also being more productive in general, I'd also add learning and using basic terminal commands to the list. It's way faster, especially in new projects, to create all the files and folders using a CLI. Small thing but definitely adds to the comfort.
@1anre
@1anre 3 жыл бұрын
This was one useful video, little things like this have a huge impact on your general developer productivity, & no matter how many languages you are proficient in, if you’re not meticulously organized, you might lose your mind when something breaks during your development process & you don’t know if it’s the actual code base or how you’ve structured the files & code to work that’s causing it.
@MogelBoom
@MogelBoom 2 жыл бұрын
I know it's an old video but i just want to point out that structuring your code in directories based on the technology-layer might not be the best idea because you are forced to create dependencies from package to package. It's a way cleaner architecture to structure your code based on topic (german word "Fachbereich") improves the cohesion in these packages
@atlantic_love
@atlantic_love 2 жыл бұрын
No one should ever consider a video that's a year old to be an "old video". Accountability, people!
@andiuptown1711
@andiuptown1711 6 ай бұрын
So package by feature not by layer?
@lilalomoslama
@lilalomoslama 3 жыл бұрын
Nice Video, BUT: Please don’t refactor code just to make it more readable or efficient. Ensure that your Feature branch will only be merged when you are satisfied with the readability and efficiency of the changes. The reason ist quite simple: Refactoring comes with the cost of either removing important code (that you might forgot it was ever important) or introducing new bugs. You will be stuck fixing your refactorings. Only touch your code if you have to and keep your PRs small. This will improve your readability more than refactoring once a week.
@charonder
@charonder Жыл бұрын
I'm a couple years into my PhD and this is going to be a massive help for my next project. Thank you!
@ZubairMohammadRayhan
@ZubairMohammadRayhan 8 ай бұрын
what si your phd research about
@DoctorCode9
@DoctorCode9 3 жыл бұрын
Finally someone spoke about the subject, this is one of the most important video for a programmer
@engageintellect
@engageintellect 3 жыл бұрын
Kalle hits another one out of the park. Providing the information people need in a friendly and straightforward way. Thanks for the awesome content.
@adpadillar
@adpadillar 3 жыл бұрын
I manage all of my GitHub workflow in the Source Control Feature of Vscode and i feel 1000 times more productive. I also set up verified commits as an added bonus
@oskarthaeter63
@oskarthaeter63 3 жыл бұрын
Regarding the MVC pattern: I find it best to choose a design pattern when modeling the project as a class diagram. If I am unsure about what design pattern to use or just don’t want to be constraint by one, I find it best to decompose the project into subsystems and create folders for each. This helps achieve low coupling and high cohesion, which is useful for when one does not need to change something in every file just because one object was restructured. A class diagram and a short list of functional and non-functional requirements goes a long way, helping to keep focused on what you want to do with your project.
@GraphicGamingHQ
@GraphicGamingHQ 3 жыл бұрын
Great comment, do you have some examples of these class diagrams? Maybe one you've recently made yourself? My biggest struggle is planning/designing data structures/project logic/structures and I'd love to find a good system that works for me to being able to tackle getting better at it!
@oskarthaeter63
@oskarthaeter63 3 жыл бұрын
@@GraphicGamingHQ well, I can recommend the book “Object-Oriented Software Engineering: Using UML, Patterns and Java” by Bernd Bruegge and Allen H. Dutoit. The chapters Modeling with UML, Analysis and System Design should be quite interesting! The class diagram should just be an overview of all your most important components and how they work together (i.e. class hierarchy, interfaces, aggregations etc). It can be detailed, but doesn’t have to be. In the end just go with your gut ;)
@edgarmuradyan6881
@edgarmuradyan6881 3 жыл бұрын
I just got my first real project and it is large enough. I didn't know how to structure that, opened KZbin and this video!😂👌
@sapperjaeger
@sapperjaeger Жыл бұрын
possibly the most useful vid I've seen on workflow! well done!
@riclerico
@riclerico 3 жыл бұрын
Kal sounds like a pro pro pro 👨‍💻. Clear and concise in his videos. #fanfromfromghana
@mohammedsaad3801
@mohammedsaad3801 3 жыл бұрын
Happy that i am here from when u had 50k u have come a long way gl for the future
@codingisamazing
@codingisamazing Жыл бұрын
In the backend, the View component in the MVC architecture does not necessarily refer to a graphical user interface (UI) as it does in frontend development. Instead, the View in the backend can be thought of as the representation of the data that is sent back to the client or consumer of the backend services. In a backend application, the View component is responsible for formatting and presenting the data in a suitable format for the client. This can be in the form of JSON, XML, or any other data format that the client expects. The View component does not handle user interactions or have a graphical interface like in frontend development.
@andrean40
@andrean40 6 ай бұрын
Thanks for this
@FlutterMapp
@FlutterMapp 3 жыл бұрын
The Lifting table is a must for sure! Thanks for the video man ✌️
@ThaitopYT
@ThaitopYT 3 жыл бұрын
I need to be more seriously about the readme file and to-do list.
@TheSharkbeast
@TheSharkbeast 3 жыл бұрын
Okay by the title I really didn't thought it'll be that useful but mann this is gold 🙌,
@awsm1680
@awsm1680 3 жыл бұрын
Kalle be reading my mind and making videos on it to make my life easier
@muhammadrasikh
@muhammadrasikh 3 жыл бұрын
Kalle, i think you should use timestamps for your videos... It helps me a lot sometimes
@theencryptedpartition4633
@theencryptedpartition4633 3 жыл бұрын
When something kind of happens to me I usually say that I have a friend of mine and that happened to him. And I usually mistakenly say ‘them’😅
@dhruvajindal4932
@dhruvajindal4932 3 жыл бұрын
Who wants dedicated video on MVC?
@mnation694
@mnation694 3 жыл бұрын
Kalle keep doing this great videos, I like the vlogs and productivity ones the most!
@harshthosar8600
@harshthosar8600 3 жыл бұрын
Exactly the video I needed to see. Thanks Kalle.
@KyrosNox
@KyrosNox 2 жыл бұрын
This really helped me get my mind right regarding my work. Thanks much.
@nihalrahman9503
@nihalrahman9503 2 жыл бұрын
the first 2 minutes could be cut out. this is very useful information, love ur content. notification bell turned on.
@TN-cx4qi
@TN-cx4qi 3 жыл бұрын
Best practice dictates cramming as much code as you can into one file. That way you know where all the code is 🤓
@gr8tbigtreehugger
@gr8tbigtreehugger 3 жыл бұрын
Was exactly in the opening scenario, even knowing that I should be doing exactly what this video prescribes, twas just bouncing around.
@phillylifer
@phillylifer 2 жыл бұрын
Vim??? Why. Except for this question. Brilliant advice!
@ryannathanwilson
@ryannathanwilson 3 жыл бұрын
I learned how to use VIM for editing individual files, but I’ve had a hell of a time figuring out how to use it officially for a larger code base. Any tips? New video?
@gogatorsfoster1
@gogatorsfoster1 3 жыл бұрын
I'm also interested in seeing this
@luisdario1493
@luisdario1493 3 жыл бұрын
You need a plugin for file managment and configure your vimrc to open quickly
@clinton5708
@clinton5708 3 жыл бұрын
I use vim(neovim) on two fairly large projects. For file management I use nnn and fzf.
@exinr6930
@exinr6930 3 жыл бұрын
The main tip I've heard from my vim user friends is to use VS Code with the vim extension since it has all the power user shortcuts that make it so you don't have to leave the home row to do anything, but there's still a GUI if you need it. Maybe that can help a bit.
@akshajgotimukul204
@akshajgotimukul204 3 жыл бұрын
Use VS code instead
@prathampatel6357
@prathampatel6357 Жыл бұрын
0:00 - 0:45 bro defined devs's nightmare too accurately 💀
@paulfrischknecht3999
@paulfrischknecht3999 Жыл бұрын
Creating a model, view & controller submodule or directory will usually introduce bad cohesion, meaning things that change together will not be kept together.
@peachesurf
@peachesurf 2 жыл бұрын
watching this video while procrastinating programming
@U_Geek
@U_Geek Жыл бұрын
OK 40 seconds in and he just described my problem, shocking if you ignore maintainability your project won't last long
@aymenbm1966
@aymenbm1966 3 жыл бұрын
In ly entire life i never heard any one says MVC PROTOCOL please dont say that its MVC ARCHITECTURE or MVC DESIGN PATTERN its not a PROTOCOL and i see many people in the comment have picked up the word. Great content any ways
@MohamedAnsari_H
@MohamedAnsari_H 3 жыл бұрын
my first comment Kalle, gotta give it to ya, the opening was hilarious. LOVE IT!!!!!!!!!!!!!
@specialjeffy333
@specialjeffy333 3 жыл бұрын
Another great video! Super helpful. Although I think my favourite part was Kalle explaining he was busy buying a tshirt so he couldnt help his friend lol
@martiananomaly
@martiananomaly 3 жыл бұрын
LOL true.
@ishanchoudhary4179
@ishanchoudhary4179 3 жыл бұрын
I got an ad of Kalle on tab nine. For a sec, I thout it was the beginning of the video 😂
@willgonzy
@willgonzy 3 жыл бұрын
You are changing my life
@arianpiano
@arianpiano 3 жыл бұрын
Why is no one talking about the brilliant skit in the beginning
@couple.gamernauts
@couple.gamernauts 3 жыл бұрын
Awesome. Keep up the good work! Always a pleasure to watch a video of yours.
@blazi_0
@blazi_0 9 ай бұрын
Fuck didn't expect I'll be here after 8 months of coding the project
@farsinkp169
@farsinkp169 3 жыл бұрын
The production quality 👌❤️
@darrenmew3928
@darrenmew3928 3 жыл бұрын
If you use Django and python it will automatically set all this up, better yet if you wanted you could use their MVC style and copy it to your other projects
@redsun5826
@redsun5826 3 жыл бұрын
extremely helpful video. thank you! saving it to a playlist to refer to again in the near future.
@AbyssRein
@AbyssRein 2 ай бұрын
If you start off with github, would the github desktop app be a better fit? Like always create a repository through the github app instead of logging on your browser and running that stuff in the terminal?
@alexisraels1437
@alexisraels1437 3 жыл бұрын
Didn't know about github project boards. I use Jira for work, but this will be really nice for personal projects. Thanks!
@Francefire
@Francefire 3 жыл бұрын
The intro 🤣🤣 you are a gold content creator
@aghrajhsayin5698
@aghrajhsayin5698 3 жыл бұрын
your videos are just mind blowing for real they are just great
@saam4312
@saam4312 Жыл бұрын
Bro. Erling Haaland is really good at programming. The G.O.A.T for a reason.
@m1k3thirteen81
@m1k3thirteen81 2 жыл бұрын
This is a great best practice video. Amazing work! Thank you.
@Manan_K
@Manan_K 3 жыл бұрын
This video is so helpful. Thanks Kalle! :)
@bmejia220
@bmejia220 3 жыл бұрын
Awesome video Kalle. I will be watching this one on repeat until I do these great habits repeatedly.
@marcello4258
@marcello4258 3 жыл бұрын
people saying src folders are redundant only use scripting languages. otherwise they would be aware that machines only run binaries.
@ryeviz
@ryeviz 3 жыл бұрын
Hey, your thumbnail looks pretty awesome 👍
@shyamgurunath5876
@shyamgurunath5876 3 жыл бұрын
Cookie cutter project frame work is my favourite.
@ncadre9048
@ncadre9048 Жыл бұрын
This video is one-of-a-kind, great content! Do you have a video of how to navigate Git Hub? I have code saved on my computer but do not understand how to prepare my page in a way that would be helpful in future opportunities. Also, what is the best way to decide on the language and coding project? Do you have a guide on that? Since we have multiple options in where to go early in our career. Thank you.
@ric.e214
@ric.e214 3 жыл бұрын
He's wearing a shirt! Wasn't him! Proof 😆 you're hilarious and extremely helpful, thanks for the video!! Keep up the great work!!
@avinash-dhumal
@avinash-dhumal 3 жыл бұрын
I follow your videos quite badly... and I love them.
@matiaspardini3758
@matiaspardini3758 3 жыл бұрын
Nice video kalle
@optimus_cruz
@optimus_cruz 3 жыл бұрын
Great tips bro.
@georgiostsobys7926
@georgiostsobys7926 3 жыл бұрын
You have to admit that you too were watching that plant on the bottom left corner :)
@paulfrischknecht3999
@paulfrischknecht3999 Жыл бұрын
+1 for the suggestion to rewrite code fairly often; this is actually not that hard (compared with coming up with the ideas and code in the first place) and very helpful for refactoring, maintainability, readability etc. I wonder how to best convince product owners, management and the rest of the team of that...
@zulucharlie5244
@zulucharlie5244 Жыл бұрын
Outstanding content.
@taylorzeller3415
@taylorzeller3415 3 жыл бұрын
I like the idea of the Every Other Day system, but, in my head, that conflicts with the idea of creating an MVP for a project before refactoring and starting UI/UX design. Am I thinking about this wrong?
@itzthehxnry_
@itzthehxnry_ 3 жыл бұрын
3:35 how did you made that dynamic prompt? In vanilla settings there is only option to display full path. How do you display only current directory?
@nvis9804
@nvis9804 3 жыл бұрын
Your live is my dream life 🤞🏻
@badhonbarman216
@badhonbarman216 3 жыл бұрын
great advice for my future project . Thanks @Kalle Hallden
@obsidian-gravel
@obsidian-gravel 4 ай бұрын
Can you suggest any suitable application/template to document detailed workflow and business logics implemented in a project?
@Simoelfakkak
@Simoelfakkak Жыл бұрын
Thank you Haaland
@mooNylou
@mooNylou 3 жыл бұрын
Love your videos - despite not being a programmer (but wish i would be one) greetings from north germany
@myhealthobs5290
@myhealthobs5290 Жыл бұрын
You've been watching me code ?
@carlosjeria1541
@carlosjeria1541 3 жыл бұрын
Curious about your keyboard. Where did you get it?
@sanskargupta1870
@sanskargupta1870 3 жыл бұрын
You always give, great advice, I really love your videos!!!! Always keep going like this......
@Otonium
@Otonium 2 жыл бұрын
How about flow diagrams, and things like that? Thanks!
@jisrite
@jisrite 2 жыл бұрын
that joke in the beginning got me laughing out loud 😂
@zygimantasjasiunas5240
@zygimantasjasiunas5240 3 жыл бұрын
There are some nice take aways from this video, but I am not sure if I can agree with using Vim for larger projects
@ashokkushwaha9939
@ashokkushwaha9939 3 жыл бұрын
1:31 No need to go to this time lapse I just marked where i left the video to watch later😅😁
@endlessVoiid
@endlessVoiid 3 жыл бұрын
Nice one kalle
@txrangerkidd222
@txrangerkidd222 3 жыл бұрын
did you change the title of this video?
@waydenrd4539
@waydenrd4539 Жыл бұрын
lmao those 20 sec in intro to try to justify why he wasn't here
@danmfigueroa
@danmfigueroa 3 жыл бұрын
That's really useful!
@haremprotagonist1118
@haremprotagonist1118 3 жыл бұрын
Make ur setup tour 2021 version!!!!
@ngoako
@ngoako 3 жыл бұрын
I did enjoy this video :)
@lipr12
@lipr12 3 жыл бұрын
I am front end developer and I'm thinking of learning Kotlin! Do u think that a good idea?
@eishkay
@eishkay 2 жыл бұрын
I'm not suure if the whole github reposit set up I did on my mac is working or not, how do I check? Thanks :)
@mcferrill
@mcferrill 3 жыл бұрын
Have you tried the neovim integration for vscode? I'm a longtime VIM user, but directly importing my vimrc into vscode was too hard to resist.
@mcferrill
@mcferrill 3 жыл бұрын
@@depression_isnt_real neovim is a fork of the original vim project, and the "VSCode Neovim" plugin lets you run neovim inside vscode along with your vim plugins/settings. With some work you can have a single vimrc & plugin folder that works in OG Vim, neovim, and VS Code. I have mine in a git repo with an installer script.
@adl9566
@adl9566 3 жыл бұрын
Hi. I was wondering how can I display a phone on the screen when i build the app like you when you was making an eletrician app for some guy?
@simhachalamkalyanam1888
@simhachalamkalyanam1888 3 жыл бұрын
Basically 😊
@mikeoxlong4043
@mikeoxlong4043 3 жыл бұрын
Love ur content !
@ThiagoMedina
@ThiagoMedina 3 жыл бұрын
what keyboard is this?
@sharavnadan5617
@sharavnadan5617 3 жыл бұрын
needed this😅
@thehood0279
@thehood0279 3 жыл бұрын
fr 😅
@rockymarquiss8327
@rockymarquiss8327 3 жыл бұрын
I like your every other day idea... :)
@guilhermecarvalho4453
@guilhermecarvalho4453 Жыл бұрын
ahahah straight away this happened to you not your friend xD but great video and thank you!! keep it up! :)
@itsmelody333
@itsmelody333 3 жыл бұрын
Make next vedio on how to get job just after your graduation 😅
@__lalisa
@__lalisa 2 жыл бұрын
Can you recommend some projects for absolute beginners that can be submitted to the college and is easy to make documentation of it?
@abdulrahmanaboluhom8474
@abdulrahmanaboluhom8474 2 ай бұрын
why didn't you help your friend?
How To Structure A Programming Project…
19:00
Tech With Tim
Рет қаралды 107 М.
Why Linux Is Better For Programming
13:32
Hallden
Рет қаралды 2,8 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 133 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,7 МЛН
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 14 МЛН
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,8 МЛН
This Is The BEST Way To Structure Your GO Projects
11:08
Melkey
Рет қаралды 80 М.
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,6 МЛН
How I Plan My Coding Projects
7:39
Jacob Sucks At Code
Рет қаралды 27 М.
7 Tips To Structure Your Python Data Science Projects
14:49
ArjanCodes
Рет қаралды 117 М.
How To Master Python
14:47
Hallden
Рет қаралды 1 МЛН
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
Python HOW TO structure a Beginner OR Advanced Projects ?
37:50
JimShapedCoding
Рет қаралды 136 М.
20 Programming Projects That Will Make You A God At Coding
14:27
The Coding Sloth
Рет қаралды 1,4 МЛН
How To Become Invisible Online
24:06
Hallden
Рет қаралды 2,8 МЛН