The Rule

The Rule

ThePrimeTime

55 лет назад

1,224,134 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@dukefleed9525
@dukefleed9525 - 20.05.2025 22:11

That's your projects, apparenty

Ответить
@gamersdirect3924
@gamersdirect3924 - 21.05.2025 00:58

The correct way to go about this for future proofing is properly modulating.

If you are not modulating your creating the biggest run on possible.

Just make modules of your code.
Break the code down for easy debugging and reuse purposes.

Not rocket science 😅

Ответить
@jamesrivettcarnac
@jamesrivettcarnac - 21.05.2025 05:25

Yeah. Truth.

Ответить
@hungothanh4913
@hungothanh4913 - 21.05.2025 16:30

same, lucky I refactored all before too late

Ответить
@Seilenthebun
@Seilenthebun - 21.05.2025 21:01

Building the foundation is hard thoughhhhh and then you get your footing and have a codebase to work off of and life is not burning around you anymore

Ответить
@Seilenthebun
@Seilenthebun - 21.05.2025 21:02

Building the foundation is hard thoughhhhh and then you get your footing and have a codebase to work off of and life is not burning around you anymore

Ответить
@Fuzzywooly
@Fuzzywooly - 21.05.2025 21:27

oh hey cool inverted whiteboard idea, where did you come up with this

Ответить
@4g5VrFC2
@4g5VrFC2 - 21.05.2025 22:11

The accuracy wtf 😂😂😂😂😂😂

Ответить
@Taz_Olson
@Taz_Olson - 22.05.2025 01:42

yeah, I'm awful at code, I'll screw up less than a hundred lines

Ответить
@pooshpoosh9232
@pooshpoosh9232 - 22.05.2025 02:02

Not for me

Ответить
@Adamskyization
@Adamskyization - 22.05.2025 08:30

Wow that makes me feel good. If i do something well with my projects, is thinking ahead and prepare for scale, code and deployment wise.

Ответить
@avneeshmahajan6168
@avneeshmahajan6168 - 22.05.2025 10:25

Why is he right 😭

Ответить
@quake3video
@quake3video - 22.05.2025 10:38

smart guy, that's why most of my projects are under 2,000 lines of code.

Ответить
@bimoverbohm6837
@bimoverbohm6837 - 22.05.2025 12:49

Dude. Tradeoffs and refactoring?

Ответить
@core36
@core36 - 22.05.2025 13:30

Oh no i startet regretting at 4000 lines already.
Then again had i used c++ those 4000 lines would’ve been more closer to 8000 lines or more.

Ответить
@ricarruk
@ricarruk - 22.05.2025 13:55

I think I would regretted more if I just vibe coded.

Ответить
@something-bitstudios831
@something-bitstudios831 - 22.05.2025 14:40

I have 12000 lines in one file. I don’t regret it, I am the regret

Ответить
@kasomoru6
@kasomoru6 - 22.05.2025 14:46

Nope I found the magic key to getting around that little piece of dread,
I'll share just because I want to make the world a better place.
Make your system modular so that way the initial core is always able to run on its own and everything else you add to your program will be like clothes - shoes, hats, pants, socks.........
You can take off any one of these things but it won't break you.

Ответить
@unformedvoid2223
@unformedvoid2223 - 22.05.2025 14:48

Not if you're using functional statically typed language

Ответить
@CALLMEJIMZ
@CALLMEJIMZ - 22.05.2025 18:45

this is why u start trying to think about minimising self input instead of minimising lines, such as python, use for loop for checking if something is valid, if ur using if statements for lets say a clicker game and u have 100 upgrades
use a dictionary, use a for loop to check
you dont want a if statement for every upgrade
4 lines vs 300 lines
which one u want

Ответить
@distrologic2925
@distrologic2925 - 22.05.2025 20:40

yet everyone is still using Python and Javascript and PHP and Go and C++ and Java where these issues are arguably the worst 😢

Ответить
@soundariitd1332
@soundariitd1332 - 23.05.2025 00:08

I leave the first 2k lines for later and start with 2k+1

Ответить
@DixieDaydreamer
@DixieDaydreamer - 23.05.2025 07:54

Funny 'cos in 35 years of work I only ever write up to about 2,500 lines on average per app/util. I never write more as I just find that seems to work for me. If I think I need more then I just code up modules and pull 'em in. 2,500 is where I start to loose track of the code and it gets too big to manage in my head, so I break it up and buidl re-usable mods.

Ответить
@smithystube
@smithystube - 23.05.2025 10:12

he a n008

Ответить
@vast634
@vast634 - 23.05.2025 11:37

When code starts to matter less, but architecture design takes the role.

Ответить
@gsgregory2022
@gsgregory2022 - 23.05.2025 11:50

I hate how true this is

Ответить
@akshitsachdeva8262
@akshitsachdeva8262 - 23.05.2025 15:47

I can feel that bc :(

Ответить
@cxarra
@cxarra - 24.05.2025 00:54

UNBELIEVABLY REAL

Ответить
@9iht6ihgt43rzhijj
@9iht6ihgt43rzhijj - 24.05.2025 03:06

Yeah... relatable..

Ответить
@Fer14512315
@Fer14512315 - 24.05.2025 13:59

its true if you don't have any experience, try building a house ))))

Ответить
@SmeekPeeky
@SmeekPeeky - 24.05.2025 15:18

I have a 3600 line program I made at work using chatgpt. It works, but I have no clue what i’m doing 😅

Ответить
@a-j.2002
@a-j.2002 - 24.05.2025 21:40

10.000?
Dude, I work in a codebase with probably a couple million lines... The CMake files only are way past the 10.000 line mark.

Ответить
@awet8453
@awet8453 - 24.05.2025 23:49

True 💯 😂😂😂

Ответить
@BuffetInvesting
@BuffetInvesting - 25.05.2025 04:54

🤣🤣🤣🤣🤣🤣

Ответить
@AsianVideoGamer
@AsianVideoGamer - 25.05.2025 06:52

This is why i like OOP

Ответить
@galaktic9823
@galaktic9823 - 25.05.2025 07:05

No

Ответить
@hezuikn
@hezuikn - 25.05.2025 08:19

"wow this does exactly what i want" i think to myself, almost like i wrote it myself

Ответить
@Shlooomth
@Shlooomth - 25.05.2025 17:56

This is just skill gatekeeping dressed in personal allegory

Ответить
@sarveshsakpal8241
@sarveshsakpal8241 - 25.05.2025 19:40

True

Ответить
@m.r.2066
@m.r.2066 - 25.05.2025 20:00

Don’t like this. This dude is biting Thor’s flavor, and it sucks.

Ответить
@GamerDevIND
@GamerDevIND - 25.05.2025 20:27

So true

Ответить
@saeedatenzi
@saeedatenzi - 25.05.2025 23:46

why axis tho

Ответить
@Gino12164
@Gino12164 - 26.05.2025 00:28

in sort term we call that FAFO

Ответить
@AlexPavy16
@AlexPavy16 - 26.05.2025 14:24

I never regretted my design choices. The code I produced is never perfect but is always properly designed more or less with reusable components and functions and can always be improved with some refactoring.
And the bad design choices are due to deadlines to meet so it’s not a regret it’s some hacky things under control that were added but to be consolidated later.

Overall what I don’t recognise these regrets on my projects

Ответить
@Belphagor13
@Belphagor13 - 26.05.2025 22:39

Yes, but how do I make it go away? It's consuming my life and making me miserable

Ответить
@larryd9577
@larryd9577 - 27.05.2025 02:38

TLDR: Technical dept

Ответить
@itisWhatitis12345
@itisWhatitis12345 - 27.05.2025 20:44

I worked at a company where every single file was a 10k lines of cluster fuck nested if, nested n^4 loops and nonesense circular dependencies. It was the biggest cluster fuck I ever saw. I quit soon after.

Ответить
@Zocress
@Zocress - 27.05.2025 21:02

All my projects are sub 2000 lines. Easy.

Ответить
@figloalds
@figloalds - 27.05.2025 21:37

I found that this is decreasingly so in more modern technologies, I have a Svelte 5 project with 50k lines going damn well and feels like I can continue to add more and more and it will never become shitty

Regret comes from "new feature requires something that the underlying architecture doesn't have"
It will reach a day where our base shared understanding of "what an underlying architecture actually needs" will include the things we need, when that time comes I think, we may reach programmer Nirvana

I've been looking at Convex recently and I think their hearts are in the right place, I love the project, but it's still very young, but they're walking the correct path, the path of the future I speak of

Ответить
@Mr.Laffin
@Mr.Laffin - 28.05.2025 08:28

Yep I can definitely relate to that😅😅😅

Ответить