Formatting Your Code is For Losers

  Рет қаралды 18,640

ByteBlox

ByteBlox

Күн бұрын

Пікірлер: 103
@byteblox100
@byteblox100 6 ай бұрын
Buy now to get bonus future units for free :) linktr.ee/ByteBlox
@creeperplayzz
@creeperplayzz 6 ай бұрын
Nobodys buying your courses lil bro 😭
@crcade3059
@crcade3059 6 ай бұрын
bought it a few hours ago. just finished unit 7
@killertanter1000
@killertanter1000 6 ай бұрын
i dont have money tho >:
@slavsit7600
@slavsit7600 6 ай бұрын
this reply section right here contains the trinity of men
@shutlap
@shutlap 6 ай бұрын
"the only purpose is to make code more readable" python breaking the fuck down and sobbing when i add 1 extra space by accident:
@19kicks
@19kicks 6 ай бұрын
🙏
@microwaveson
@microwaveson 6 ай бұрын
python is an exception
@robuxyyyyyyyyyy4708
@robuxyyyyyyyyyy4708 6 ай бұрын
Fun
@user-hk4mn3nv5r
@user-hk4mn3nv5r 6 ай бұрын
Python is special
@boblox_studio_dev
@boblox_studio_dev 6 ай бұрын
@@user-hk4mn3nv5r in the mean or normal way 😩
@chord890
@chord890 6 ай бұрын
i literally just started learning scripting like a week ago and if i did this i think i would get brain damage trying to understand what anything is
@c00leztPieB3
@c00leztPieB3 6 ай бұрын
FR
@imnotapartygoer
@imnotapartygoer 6 ай бұрын
no shit
@DanialDEcool
@DanialDEcool 6 ай бұрын
@@imnotapartygoerwhat do you mean? how is that obvious in anyway?
@toolifystudios
@toolifystudios 6 ай бұрын
@@DanialDEcoolhe just started learning scripting, of course he would get brain damage
@Default_gg
@Default_gg 6 ай бұрын
Uhh don't, use bunch of free model and uhh edit them (so you won't get brain damage)
@Itz_Voxel_
@Itz_Voxel_ 6 ай бұрын
This is just me coding on the "Run A Command" terminal thing when debuging
@callummcclure2186
@callummcclure2186 6 ай бұрын
This concept is called minification. Takes what is readable code and translates that to only what the compiler/interpreter needs to see. And a bonus is it usually runs faster.
@MiniBinguss
@MiniBinguss 6 ай бұрын
The only difference is a couple extra characters and I highly doubt a few new line characters or space characters would have any relevant impact on performance.
@callummcclure2186
@callummcclure2186 6 ай бұрын
@@MiniBingussthat's what I never understood tho, is how does it impact performance in any way???? But it is true, it for some reason runs faster.... Maybe I can research exactly why it runs faster.
@oJezler
@oJezler 6 ай бұрын
@@callummcclure2186minifying code -> reduces file size -> faster download (less data transfer, therefore load times) -> more can be cached
@KashTheKingYT
@KashTheKingYT 5 ай бұрын
It makes no difference to performance as on runtime roblox compiles all lua files, and if you didn’t know this is an extremely fast process
@ctleans6326
@ctleans6326 5 ай бұрын
@@callummcclure2186 Minified javascript typically runs faster because it uses a JIT (just in time) compiler. This means that the code is scanned and then interpreted when it is executed. Notice that longer code will take longer to scan. This is the source of the small speed boost that happens to minified javascript. Lua is different. In roblox, it is converted to bytecode before reaching the client. In bytecode, code with no or extra whitespace are equivalent. So, no, minified lua will not create any speed boost. In fact, minification is a bad idea when writing quality code. It makes it harder for you to read, and others if you are working in a group.
@CringeDev
@CringeDev 6 ай бұрын
POV free model scripts:
@Selever69420
@Selever69420 6 ай бұрын
Fr bro ☠️
@EktoAnim
@EktoAnim 5 ай бұрын
most likely a virus lmao
@untitled_goosey
@untitled_goosey 3 ай бұрын
frrr dude they always so old and never do optimised spacing
@SuperPlayz
@SuperPlayz 6 ай бұрын
The command bar is an unrated feature it can legit automate long tasks in Studio.
@GuestyDays
@GuestyDays 5 ай бұрын
true, and why this guy got no comments, lemme fix that
@jacobbrown1407
@jacobbrown1407 6 ай бұрын
This reminds me of writing excel formulas, I would have lots of functions nested inside eachother and didn't know until recently that you could add lines with Alt+Enter
@Scratchy__The_cat
@Scratchy__The_cat 6 ай бұрын
Minor mistake (I think) near the 10:40s, this symbol represents the remainder of the left mumber being divided by the right one, not the decimal
@QuiteCringe
@QuiteCringe 6 ай бұрын
not divided, but subtracted
@QuiteCringe
@QuiteCringe 6 ай бұрын
but yeah
@Scratchy__The_cat
@Scratchy__The_cat 6 ай бұрын
@@QuiteCringe how so? you can't get a remainder out of subtracting something, only dividing
@QuiteCringe
@QuiteCringe 6 ай бұрын
@@Scratchy__The_cat you mean the -= sign right?
@QuiteCringe
@QuiteCringe 6 ай бұрын
@@Scratchy__The_cat += is to add something to an integer, so i'm guessing -= is minus
@not_eagleye
@not_eagleye 6 ай бұрын
How it feels typing in console:
@kilex3471
@kilex3471 6 ай бұрын
LOL true
@IndraKurniawan
@IndraKurniawan 6 ай бұрын
mf just learned what is a functional programming language
@ARandomEliatrope
@ARandomEliatrope 6 ай бұрын
frfr
@Iegend_27
@Iegend_27 6 ай бұрын
fym functional lmao this is not functional since it has iterative methods and functional doesn't have to do anything with one line code
@stavros222
@stavros222 5 ай бұрын
What are you yapping about mr failed programmer. You are making the code hard to read i dont like to scroll horizontally to see the code. Do you even know what personal opinion is or what the word "easy to the eye" really mean?
@iownyoupathetickid
@iownyoupathetickid 5 ай бұрын
bruh chill out you are just too new to understand his humour
@stavros222
@stavros222 2 ай бұрын
@AstroKepler09 why jokes evolved so much that now i cant understand if its a joke or not? Wait, because we are devolving and there are guys who could actually say that
@CriticalJP
@CriticalJP Ай бұрын
@@stavros222 you're just a little slow, we get it
@stavros222
@stavros222 Ай бұрын
@@CriticalJP your comment is useless
@bananasauceee5736
@bananasauceee5736 6 ай бұрын
Can you please teach me how to make a thing where you can buy weapons in a shop with in game cash
@horrorclips3234
@horrorclips3234 6 ай бұрын
can you actually use ur skills and make a game and advertise it
@KashTheKingYT
@KashTheKingYT 5 ай бұрын
Code readability doesn't effect performance as it will always be compiled to machine code. Always name your functions and variables with full names so you or someone else can come back to it later. ByteBlox please stop spreading misinformation 😭
@EktoAnim
@EktoAnim 5 ай бұрын
I don't really know anything about how machines compile code and even then I could still tell this video was BS lol Why would a machine need to even read white space? Isn't it just ignored?
@KashTheKingYT
@KashTheKingYT 5 ай бұрын
@@EktoAnim Yeah exactly, some languages read whitespace such as python but for lua it doesn’t make a difference. It will compile to byte code which is purely commands and then execute that
@theraccoon1246
@theraccoon1246 2 ай бұрын
is a joke
@ButterFromDiscord
@ButterFromDiscord 6 ай бұрын
I’ve done this a lot with the developer console (F9), which I use a lot
@visualizerbx
@visualizerbx 5 ай бұрын
You could’ve used semicolons instead of using a bunch of spaces
@papkamachine4608
@papkamachine4608 3 ай бұрын
imagine every script in jailbreak be just one line of code
@kyle16122
@kyle16122 5 ай бұрын
7:03 i guess we're just not using multiline comments xD 😱 anyways nice video byteblox! looking forward to more
@Still_Nickk
@Still_Nickk 6 ай бұрын
Just got banned from your server for no reason???
@finixdevaerbakk
@finixdevaerbakk 4 ай бұрын
this is basically obfuscation basic, theres more to this that yall might not know. ever heard of luraph?
@alocker
@alocker 5 ай бұрын
After this video, you can safely unsubscribe from this teacher and never watch his video again. For one line of code they will literally break your hands on any serious project. Nobody ever writes code the way this dude writes. The first place should always be the performance and readability of the code, it should be easy to understand, one-line code is simply inconvenient to read, God, even in the video he has to scroll the code to the side to write it. Just score it.
@Morktin
@Morktin 2 ай бұрын
Lol
@mousi9736
@mousi9736 2 ай бұрын
r/whoosh
@killertanter1000
@killertanter1000 6 ай бұрын
keep up the good work ur the goat btw
@nito8066
@nito8066 6 ай бұрын
about the longest line of code challenge is unity acceptable too?
@creeperplayzz
@creeperplayzz 6 ай бұрын
Day 57 of edging to your videos
@truarrogancex
@truarrogancex 6 ай бұрын
Tf, fr?
@lacky19
@lacky19 6 ай бұрын
I burnt calories watching this
@SpinningSpheres
@SpinningSpheres 4 ай бұрын
Pairs is... outdated?!?
@theraccoon1246
@theraccoon1246 2 ай бұрын
luau allows you to omit pairs() and ipairs()
@robloxlover1540
@robloxlover1540 6 ай бұрын
Cool video
@GeneralPurpose3
@GeneralPurpose3 6 ай бұрын
this seems very familiar
@probablyjaden
@probablyjaden 6 ай бұрын
the fact that 3 spaces were used instead of ; made me genuinely so mad just do while task.wait(1) do; instead of adding 2 extra spaces
@RealPuFl
@RealPuFl 6 ай бұрын
what does ; do?
@toolifystudios
@toolifystudios 6 ай бұрын
@@RealPuFlreread the comment
@probablyjaden
@probablyjaden 6 ай бұрын
@@RealPuFl it doesn’t do anything it’s just for looks, it’s a purely cosmetic separator
@OfficialCrossfire
@OfficialCrossfire 5 ай бұрын
@@RealPuFl ";" is like "," in a way: Example: local table = { t = tick(); n = 30; s = "txt"; f = function() end; v = Instance.new("NumberValue"); } In my opinion, I don't use ";" I only use "," to separate. You can also use "," for locals in a single line: (not ";") local ok, ok2 = "new", "old"
@edcz_builds
@edcz_builds 6 ай бұрын
,, Yes, I use only one line B) "
@springtrap2585
@springtrap2585 6 ай бұрын
Ok now make all your scripts in one line
@KashTheKingYT
@KashTheKingYT 5 ай бұрын
ByteBlox pls stop making videos like this 😭
@timondemonpro1
@timondemonpro1 6 ай бұрын
Hi
@voidiling
@voidiling 6 ай бұрын
stop renaming the video
@ARandomEliatrope
@ARandomEliatrope 6 ай бұрын
huh
@ReeeMonke
@ReeeMonke 6 ай бұрын
32 338
@JeLeff.
@JeLeff. 6 ай бұрын
T
@ProSureString
@ProSureString 6 ай бұрын
A lot…
@ProSureString
@ProSureString 6 ай бұрын
The old title was “how much code can you write in one line?” Or something like that
@JoJiX
@JoJiX 6 ай бұрын
Hi
Torturing My Roblox Character For Views
12:32
ByteBlox
Рет қаралды 21 М.
Why I Hate Roblox Simulators
16:42
ByteBlox
Рет қаралды 64 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 81 МЛН
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 37 МЛН
Why Roblox Studio is Confusing For Beginners
15:22
ByteBlox
Рет қаралды 132 М.
you SUCK at organizing scripts... Let's fix that!
13:12
Crusherfire
Рет қаралды 21 М.
How “Impossible” Features Are Actually Coded
20:47
ByteBlox
Рет қаралды 70 М.
If you’re a new Roblox dev, watch this
35:23
ByteBlox
Рет қаралды 26 М.
This Roblox Screenshot RUINED HIS CAREER
10:19
Laughability
Рет қаралды 3,3 МЛН
What is The Objective Best Variable Name?
24:45
ByteBlox
Рет қаралды 2,2 М.
How Does Roblox Actually Create a Player?
15:13
ByteBlox
Рет қаралды 30 М.
Classic Roblox Games: How Are They Doing?
17:09
Chappy
Рет қаралды 414 М.
discord's dumbest update...
10:37
No Text To Speech
Рет қаралды 316 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН