#streamchat

1 messages · Page 246 of 1

nova bough
#

a plushie

brazen drift
#

remember its only an echo chamber if its protecting someone you dont like, if the echo chamber is to shit all over them then its perfectly fine /j

round cedar
lapis tartan
#

It can be a struggle to remain yourself and not let the data be your persona? When I step away from this stuff, I make dinner or watch it rain outside and hope it doesn't flood in this part of texas too.

wind hare
#

Go into a chat about sewing, "You all like sewing! Echo Chamber! Get an outside sewing opinion!"

nova bough
wind hare
#

"This ferret chat talks too much about ferrets and doesn't talk about the negatives to their existence! Rabble Rabble Rabble!"

rain widget
#

What happened to the stream? Stream ended early and VOD got deleted? been away for the past 4.5 hours

tacit hare
#

I saw that too and was perplexed why a C++ was talking about his code.

kindred axle
flint ember
lapis tartan
summer night
#

people commenting on how other people do code will never not be funny knowing how half the code in curtain areas are built

wispy plover
wind hare
tacit hare
#

I cant wait for July to be over for all this to end. The bashing is childish and pathetic.

kindred axle
nova bough
#

all ill say, is ill never comment on anyone elses code and how its set up. because mine .... well. mine is "special"

and being back end, and my things never see the light of day, so i dont get code reviewed

brazen drift
#

from what i can tell is that coding is a lot like Art in general. EVeryone codes a little bit differently, but to tell other people how you should and shouldn't code is gross just like i wouldnt tell someone else how to draw

lapis tartan
serene valley
toxic rampart
lapis tartan
#

I will say, he picked a hell of a name to be casting stones, right?

nova bough
#

mine is like "does it work? yes? cool, im done"

wind hare
wispy plover
summer night
wispy plover
#

Time for me to make a smoothie.

brazen drift
nova bough
#

oh! i once had an argument over a python enviornment var. i named it $ENVS - they complained that it shouldnt have a S at the end because that would make it plural.

kindred axle
#

well, with the stream gone I guess I'll just do it here then: !dishes KEKW

jolly sky
#

jeez

nova bough
#

it went over my head, beause my brain couldnt comprehend that was their actual problem. and then i understood, and it took all of my power to not just be like "are you kidding me"

#

but the "are you kidding me" woudl be more colorful. but automod doesnt like colorful

jolly sky
#

That's how you know someone's trying to look for the needle in the haystack

serene valley
#

like it's easy to confuse with ENV

#

or am I misunderstanding what it is

onyx gate
wet coral
umbral gazelle
#

i was bored and had to much time on my hands That nico guy. Hes part of the stormgate as am i. He thinks the third faction should be removed cause he doesnt know how to counter it. and complains people with lower MMR than him beats him.

#

its kinda scary how everything we ever write on discord exists

#

and is public

nova bough
#

in python, you can have different environments. you have to initialize the enviornment before you use it. the var is defined to standardize the initialization for a bunch of one off python scripts

umbral gazelle
#

and you can just go look it up

nova bough
umbral gazelle
#

why i brought it up if you think a third part of someones game deserves to be removed because you suck as a player i dont take someones programming take seriously

serene valley
#

twas fun

umbral gazelle
#

Anyway be careful what you write on the internet everyone! nothing is private!

flint ember
flint ember
#

BEIGE ALERT

jolly sky
#

Like who has the time or the care to do that

onyx gate
nova bough
#

we have a small tool that is a bunch of little scripts that automate our daily tasks. I also make a lot of reports, and scripts to check for misconfiguration

#

mostly in python, but theres some rexx mixed in (rexx is a programming language that ive only seen on the mainframe.)

flint ember
nova bough
#

the mainframe is a computer/server that predates modern PCs or servers - it runs on an OS called z/OS, made by IBM. It is a completely different architecture than x86.

you'll mostly see older and large companies using mainframes. mostly in finance, healthcare, and government.

umbral gazelle
#

Im not a coder but isnt self explained code bad cause you actively remove the teaching/learning moment for a new coder and it could just let Bosses fire devs without warning since they dont need them to train or explain the code to the new lower paid guy?

flint ember
umbral gazelle
#

i have always been told dont explain what your code does cause it takes away your job security

serene valley
flint ember
proper nacelle
nova bough
serene valley
#

we currently do not have the previous dev on board anymore and it sucks

umbral gazelle
proper nacelle
flint ember
umbral gazelle
#

hm good to know

#

as a i said i have no experience in the field

#

only been told things

hasty grail
#

think of it this way, can you remember how the code is suppose to work in 10 months after working on unrelated crap if you need to go back and bug fix it?

proper nacelle
#

Code should be self-explainable if possible. If it's not possible to do so, then thats where comments should step in to further clarify

hasty grail
#

by commenting on it you are also helping your future self

proper nacelle
#

You don't need to comment every single line of code

winged knoll
#

There's a thing called code reviews, there's usually a senior dev who's reviewing commits

proper nacelle
nova bough
#

i usually end up commenting blocks of code, unless im doing something extra weird on a single line.

hasty grail
#

also more than just "this is a for loop"
"the intent of this section is to do X Y and Z" "this sub section is suppose to do Q and U which then passes the variable back to Z"

gentle mortar
winged knoll
#

So usually these type of things doesn't get away in a normal settings, unless you are working in a start up and you are 1 solo dev whos working on every project

warm trench
#

Feeding from your own trough usually helps you strike a balance of writing a training manual/operational manual (should not be in code) and writing highly optimized code with no real indication of what the need was in the first place. As a senior developer, optimized doesn't always revolve around just programming priciples.

proper nacelle
umbral gazelle
#

I guess my line of work are just pretentious assholes then xD

proper nacelle
muted robin
#

i understand how SKG was named to be self-explanatory and eye catching but man is it annoying how simps online now use it as rhetorical shorthand to go "oh you have questions about stop killing games? why do you want to kill games?"

literally the same thing politicians do making pork barrel legislation type bills called "save the children act" and then go "why are you accusing me of corruption, do you hate children"

hasty grail
#

think of it this way, do YOU want to read someone's comments when you are trying to bug fix their code?

umbral gazelle
worthy ivy
umbral gazelle
#

i would more call it CAD/CAM user not programmer but eh what ever the title says

lapis tartan
#

I personally would, as I'd like to know what they were potentially thinking in that moment? If I'm bug fixing their code, I might as well help bug fix their thoughts too?

umbral gazelle
#

You can call me imposter programmer. xP

#

Although i do have a decent understanding of how code works and the different functions it does.

#

i cant code as such

muted robin
#

it's a no win scenario no matter what when you're this surrounded by a hate mob

worthy ivy
proper nacelle
umbral gazelle
#

i dont refer to myself as a programmer

#

unless my firm wants me to

#

cause you know

#

it sounds fancier

last knot
# muted robin i understand how SKG was named to be self-explanatory and eye catching but man i...

(dont want to derail the conversation but) for me "yknow im pro consumer rights" sounds the same as "im against poverty"... "very good here's your brownie points are you gonna help find a solution that doesnt ruin everything or its just moral grandstanding?"

literally the same level of arguing... emotional manipulation... they are so much the good people that they feel like they can attack everyone (im not talking about every SKG supporter just the insane ones lol)

umbral gazelle
#

"oh here is our CAM programmer"

umbral gazelle
nova bough
flint ember
flint ember
#

It's also important to remember that comments, like documentation, can very quickly become out-of-date. This is one of the main reasons people advocate for self-documenting code

nova bough
flint ember
proper nacelle
#

Whilst refactoring if a good thing to keep in mind, there are some edgecases where it's not entirely feasible to make things more simplistic; an example that comes to mind was one project where I made a newton fractal generator in C++ that allowed user input for polynomials (given that polynomials change how the fractal looks due to root positions/number of roots). That polynomial input needed to be derived, which... man... polynomial derivation in code form is not fun

worthy ivy
# nova bough how most companies do it (to my knowledge) is all the applications with a prett...

probly these days it would

I was in insurance a decade or so ago and it was following a merger, so our IT infrastructure was this horrific frankenstein creature of interface layers and exchange protocols (and a few bottlenecks where people were /manually/ transcribing stuff from one system to another because none of the respective underwriting departments wanted to touch the ancient mainframes because no-one knew how anything actually worked anymore

was like some real Tech Priest shit KEKW

good times

proper nacelle
#

that polynomial derivation function, i don't think i could ever refactor to be neater or more simplistic if i spent 30 years doing so

worthy ivy
wanton elm
#

Did something happen on stream that made them not keep the past broadcast in videos tab? A simple yes or no will suffice

hasty grail
brazen drift
#

yeno

wanton elm
nova bough
#

unrelated, im debating making a script that takes all my credit card transactions and compares it to my budget. im sure theres software that already does this... but even if its free i stil kinda want to do it myself

worthy ivy
#

maybe? sometimes deleted, sometimes it's just youtube shitting the bed and twitch deletes them after so-long anyway

wanton elm
#

@worthy ivy but today’s? That’s far earlier than usual for twitch to give up the ghost

worthy ivy
#

pass

subtle gate
subtle gate
#

budgeting apps exist but since I have no income at the moment I haven't touched mine 🫠

nova bough
#

i find it cool. but it is ugly. cause if you login through a 3270 emulator it looks like this:

#

though, surprisingly, you can use vscode to code on the mainframe - assuming the company with the mainframe put zowe on

#

if no zowe, winscp is ok. it just uses file transfer to upload when you save.

jade ermine
#

Why is there no vod for today's stream

dusky grove
#

As with other recent vod deletions. People with malicious intent will farm out of context clips to make him look bad. And theres been quite a lot of em the past few days

onyx gate
nova bough
#

they....might actually run on a mainframe. wouldnt surprise me.

late bane
nova bough
late bane
#

Oh sweet, that's definitely doable. Python and it's pandas library tends to be my default csv go to. But I'm sure there's some level of equivalent in w/e language you want

indigo wadi
#

Can a non-microsft USB headset work in an Xbox?

nova bough
#

yeah, thats why i thought it would be easy enough for me. i use pandas all the time to make reports

late bane
#

Real world tools are satisfying, finance tends to be an easy crossover. Good luck with it, may feature creep not burry you

subtle gate
#

feature creep is a real threat with finance for sure

late bane
worthy ivy
#

unless MS are super sneaky

indigo wadi
worthy ivy
worthy ivy
#

slap it in and see what it does? 🙂

robust galleon
worthy ivy
#

is always my go-to solution - plug it in and hope nothing explodes

#

nothing's exploded yet 🙂

indigo wadi
#

MY XBOX DIED, I CANT BELIEVE YOUVE DONE THIS @worthy ivy

idle hill
#

You should do that

robust galleon
#

I just know that the controller has a headset jack that generally works for most non-xbox headsets. Quality isn't as good as my Xbox headset though.

indigo wadi
robust galleon
#

Huh, weird

indigo wadi
#

Like it's okay, but my USB headset for my pc is better quality

robust galleon
#

Audio, or mic quality?

#

My husband has been using a Turtle Beach headset for his Xbox, and the quality is pretty good for the price point.

indigo wadi
robust galleon
#

Ah, ok

indigo wadi
#

I'll try the headset from pc to xbox later

#

I suspect the xbox won't recognize it

idle hill
#

I use a Turtle Beach Stealth 500X headset (XBOX), but there's no noise cancelling, so I can't say the audio quality is much better than a JBL Tune 700BT
I do enjoy not having that STUPID SWIVEL JOINT YarrRabid

robust galleon
#

Yeah, I think USB ports are just for data transfer, not anything else. Though let us know if it works for the headset.

idle hill
#

what for usb connection headset->xbox? It should work. If it's data transfer it'd absolutely work for sound.
Would need to check if the cable is for charging only tho

#

My headset, I don't think I can use it wired, but it stays connected wirelessly while charging

#

actually yeah thats a good point

robust galleon
#

I honestly haven't tried plugging in anything besides an external hard drive. I haven't plugged a USB charger into even. Just used my phone charger for my controller.

idle hill
#

I imagine it should work, if the headset supports wired use

indigo wadi
idle hill
#

If it's 100% wireless like the stealth 500x then all it'd do is charge, may stay connected maybe not

indigo wadi
#

And there's no pair button on this headset

tight bramble
#

Headsets? Im thinking of mega spending on a pair of abyss joals. Or dianas.

indigo wadi
idle hill
robust galleon
#

May have to look into documentation for the console then. But it should be under the audio settings somewhere.

idle hill
#

does it embed

indigo wadi
idle hill
robust galleon
#

Welp, I'm off to get my cats ready for the vet now. Still trying to find my kitten's collar.

indigo wadi
# idle hill <:ThumbsUp:1371821284979245136>
BarterPay Online Marketplace

New in open box Prepare to immerse yourself in blackweb. Our range of electronics and accessories are meticulously designed to take your experience to the next level.Get your game on with blackweb’s range of gaming accessories. Designed to enhance your gaming experience, each product combines the latest technology with

idle hill
#

hmm
well if the headset says it connected see if there's a setting to change the sound output on the xbox

indigo wadi
#

under devices, nothing shows up

#

Yeah, I don't think this one will work on the xbox series x.

#

Not that it's a big deal since I do have a wired one for it

zealous slate
#

Is there a reason you're against industry standards?
Also, isn't part of industry standard ~~is ~~to add comments where necessary, and not to define obvious steps?

Can you help me understand how this helps Gustave in the future? Why is it a dog shit practice?
I feel like if I asked any principal+ engineer they wouldn't agree with this, what makes your perspective correct here?

jolly sky
zealous slate
#

@jolly sky Can you help me understand who is qualified to speak on this? I see a lot of people giving perspectives, but IDK anyone here tbh.
Maybe 1-2 links giving the best takes from people who have completed a successful solo/group project? I will take your word for their credentials.

jolly sky
#

How is the guy who made the video reviewing Pirate Softwares code qualified when he didn't even realise he was looking at Game Maker code and not C++

hasty grail
#

qualified to speak? i think at its core is what are the standards of the organization that you are working for

zealous slate
#

I don't see how this is relevant to my question.

hasty grail
#

for a casual coder having comments help clarify things for others

zealous slate
#

Hmmmm

hasty grail
#

at its base level, if your organization NEEDS comments then you will comment according to what they want

zealous slate
#

Can you give an example?

hasty grail
#

in the case of an independent dev, they might do it for their own sanity

jolly sky
#

There's nothing wrong with leaving instructions or a notes to say what you've done for the next person who will be working on it, or even for yourself you can remember what code does what

lapis tartan
#

From my boring perspective, no one should really be picking on anyone else's code, as everyone's code is their own (messy) baby.

hasty grail
#

unless its Yandev

jolly sky
#

It's like a mechanic working on a car leaving notes saying what he's done when another mechanic is coming by

zealous slate
#

May I ask, have you guys worked on large teams and seen multiple examples of developers preferring more comments over high level comments?

#

@lapis tartan Unfortunately, that's just not realistic 😦

lapis tartan
jolly sky
#

You know what shouldn't be real? People picking apart someone elses code in a video just to hop on the drama train

hasty grail
#

i am a teacher and i encourage all my students to have rough drafts and to show their work.
i have taken coding classes in years prior and comments in coding are forced with that instructor

zealous slate
#

I don't see how I've given this impression.

fluid dome
hasty grail
lapis tartan
jolly sky
zealous slate
#

Fair enough.

hasty grail
#

Ape, how do YOU feel if you are trying to bugfix code with or without comments?

zealous slate
#

Has anyone here worked in multiple corporate teams and can attest to what they see in their repositories?

jolly sky
#

Might be worth looking at the code comments left by Valve in their games

#

That'll be a fun watch, there's videos of it

zealous slate
#

@jolly sky I've seen them, and while it's comedic... Valve is an exception I believe.
Using profanity your code in all of the jobs I worked with is an instant way to be out of a job.

hasty grail
zealous slate
#

I'd review posted documentation, typically the readme is a great start.

nova bough
#

so, i work with people who may or may not have a lot of coding experience. i prefer having comments so that they can read in normal english what it does. ideally, knowing what code does without any help would be best, and i try to make my calls so that it helps that along - but sometimes it isnt always obvious.

my .02 as someone who's main job function isnt coding, but making automation is massively helpful.

wary lotus
#

"Why comment your code? Just waste the next 30min trying to decipher what the function does."

lapis tartan
hasty grail
#

weird question for the actual coders, when do you comment your code? as you go or near the end?

zealous slate
#

Well. I think the argument is that you don't need comments if you have something like this:

 if (customer.eligible && customer.active) {  return true }
}```

Do you need comments to know what this function is doing?
scarlet pilot
zealous slate
#

If I gave you:

 a.orders.Foreach(order => {  ... })
}```

Is this not more confusing?
hasty grail
#

Ape, so rely more on the clarity of the actual code rather than the comments for understanding?

scarlet pilot
#

yeah, i think thats what you should be striving for

zealous slate
#

Right... isn't this what self-documenting is though?

hasty grail
#

i think it really depends on the person

#

personal preference and all that

nova bough
worthy ivy
hasty grail
#

unless you are conforming to actual standards set by the company

hasty grail
gloomy forge
#

Why not both? Documenting your code for people diving right into it and make it elegant. So pretty much everyone can understand it from every angle and everyone "wins".

dusky grove
#

Look, i'll just say. If leaving comments isnt helpful, the feature wouldnt exist

hasty grail
#

the person in question didnt know about the ARG or how gamemaker is its own little coding language

worthy ivy
zealous slate
jolly sky
soft vector
#

Most of the people who write "Clean Code" don't actually Develop anything

zealous slate
worthy ivy
#

goddammit I really want a "super-kek"....

hasty grail
#

ideally you code well enough where people CAN understand the code reasonably well and fill in with comments as needed, based on what has been talked about thus far?

lapis tartan
worthy ivy
soft vector
worthy ivy
#

why not comment? no possible bad can come of it.

#

not commenting? it might not make sense later.

#

I don't get the logic of "I'll not comment it"

#

just doesn't make sense tome

scarlet pilot
#

my 2 cents are that comments that can be removed, and it would still be understandable, those comments are redundant
like

//character is angry
if(Char.angry)
  dialogsystem->showstring(angrytext);
//character is happy 
else if (Char.happy)
  dialogsystem->showstring(happytext);

if that makes any sense, you can remove the comments and still understand what the code does (obviously super simple psuedocode)

worthy ivy
#

maybe I'm weird?

hasty grail
zealous slate
nova bough
#

also, how much i comment as i code depends on how much i steal from other projects. like if i copy some code and paste it in, ill just go ahead and update the comment there if needed.

gloomy forge
#

I wonder how the self-documentation looks like on Transport Tycoon/RCT and Elite 2 Frontier. Beause Braben and Sawyer programmed it in ASM and reading through that while remembering 500k lines of code on top of your mind, even if you written them yourself, seems impossible. Normal documentation of course has its uses.

People write post-it notes and stick it on their monitor so they can resume work the next day.

@scarlet pilot I agree with you there but this is a super easy example. Sometimes, it requires a bit of context to understand things clearly, thats where good documentation shines. theres no need to document everything.

zealous slate
hasty grail
#

Ape, you are a fun person, i hope you stick around

gloomy forge
#

peepoHappy everyone should be allowed to stick around though.

#

As long as they abide to the rules monkaW

scarlet pilot
#

Which is what esentially not using magic numbers/self documenting code achieves. Instead of saying Char[0] for angry and char[1] for happy youd wanna enum that so you dont have to comment. To what level poeple do that is their own perogitive. I personally really like excelling in programming, so i try and write elegant code, its part of the fun for me, but i understand if people dont find that as a priority

hasty grail
#

i could grab some glue to make sure they stick

scarlet pilot
#

fair warning ive never used game maker most my shit is in ue5, unity and/or in scratch c++

soft vector
#

I also personally, don't really give a rip how you write your own Software

gloomy forge
#

game maker code is not really elegant but it is designed in a way so newbies in programming don't run into much trouble.

hasty grail
#

ive tried to program my own discord bot a few years ago.... fun idea and then i learned why i like puzzle programming rather than actual programming

worthy ivy
scarlet pilot
#

for sure, but I think you should strive for some level of consistency/best practices to avoid future tech debt and scope creep

hasty grail
#

breaking into HTML games to change crap is also fun

indigo wadi
nova bough
#

also, sometimes being fun with code makes it more memorable. like a call to catch an error(s) and safely exit can be boring, or you could name it CatchAndDie and be fun

zealous slate
worthy ivy
#

sorry I failed

hasty grail
#

//the person reading this needs to check their stove

split tulip
indigo wadi
# zealous slate I'm sorry I don't understand.

You asked Thor was he was against industry standards. This leads me to believe that you don't think that not explaining code is the industry standard, so I'm curious why you think not explaining code is the industry standard?

zealous slate
nova bough
scarlet pilot
# worthy ivy that's a perfect example of redundant comments - not everything needs commenting...

The issue i believe is that when you start commenting things, you start slowly going into like things which are extremely hard to fix.
Using our old example yes in one case using char[0] for happy char and char[1]f or sad char is okay and then commenting it there is fine, but as your codebase grows, and as your featurelist grows, you cant always consistently comment your code. And itll be harder not only for others but for yoruself.

gloomy forge
#

Overcommitting everything simply just adds bloat + it depends whether or not you're a beginner. Maybe Thor wanted to make his code readable by newbies and veterans alike? Just guessing here.

In order to bake bread you require a framework of understanding in order to understand how its made first. Saying "just look at the dough" wouldn't help a beginner, but someone with experience who wants to "optimize" their bread peepoHappy

split tulip
#

any time someone mentions industry standards and code, they suddenly find out there's 13 competing industry standards

jolly sky
split tulip
#

all depending on then when, where and who

jolly sky
#

Which would make the comments make complete sense

hasty grail
scarlet pilot
#

This isnt just a game dev issue btw, as a terminally online programmer, this arguement has had coders fighting for years

zealous slate
# indigo wadi Go ahead.

I don't see how this proves your point...?

The industry standard is:

  • Self documenting code - The code should inherently have descriptive qualities
  • Comment where the logic is not obvious as to why we're doing things:
indigo wadi
#

Can you show me where self-documenting code is the industry standard?

nova bough
#

doubly so if you're a solo dev making a project

indigo wadi
#

So sounds more like a belief than a standard

nova bough
#

cause tbh sometimes i just cant think of something self descriptive, so my var becomes temp1

zealous slate
gloomy forge
# jolly sky Infact IIRC something that Thor has said is that if he were to pass, he wants He...

Thats very sweet of him, I mean he is pretty much twitchs ambassador for beginners who wanna make games so it makes sense to document little thing and write code in a way a beginner can understand peepoHappy use his code to further learn and develop your skills. Its clear to me he intends this code for people to learn, one step of climbing the ladder of your skills basically.

Only because how Thor writes GML like he does doesn't mean people who learn it from him are stuck in limbo too. Obviously people adress documentation libraries and documentation and read up on how others do things as well.

worthy ivy
#

jump into the programming section and ask "yo, programming goblins, you like working with a codebase that's commented or a codebase that's "self-explaining?" I think I know the common answer you'll get

indigo wadi
worthy ivy
#

was ages ago I was coding, but the main reason they were there was so that 6-months-in-the-future me would know why it was as janky as it was

nova bough
indigo wadi
worthy ivy
#

what's obvious to me isn't always obvious to me tomorrow!

scarlet pilot
zealous slate
gloomy forge
winged knoll
nova bough
winged knoll
indigo wadi
#

delay in response, feeding son

gloomy forge
jolly sky
zealous slate
winged knoll
indigo wadi
#

not old enough

nova bough
winged knoll
indigo wadi
worthy ivy
scarlet pilot
#

Again, no skin in the game/controversy but, if Thor wants beginners to learn from him, wouldn't he be more encouraged to try and follow best case practices?

gloomy forge
# jolly sky Again to me this feels like it's coming from a "I don't understand why they've d...

Yeah I also hope people have tolerance again. I've heard and read arguments where people say that certain art (like abstract and expressionistic art, including entire art movements) should be abolished simply because "I don't see the use of them". Its a very dangerous slippery slope but you obviously know.

I mean theres a reason why its called "language" and everyone uses it differently. Only because someone phrases things with a different term or explanation doesn't mean their explanation and phrasing is automatically invalidated.

scarlet pilot
#

But ive been programming for a while so i dont know how it is for beginners

split tulip
#

I find that beginners generally get caught worrying over if the code is "clean" or if it's "the right way", which prevents them from actually finishing projects and learning. the best thing for a beginner is telling them they are allowed to try

jolly sky
nova bough
worthy ivy
#

without comments we wouldn't know that the bithack was evil

split tulip
#

best practice is something you pick up over time, usually by running head first into all the bad ones

#

you don't really appreciate version control until after you've accidentally deleted your project one day before submission

winged knoll
gloomy forge
winged knoll
#

Never had the impression that it’s dev stuffs like ThePrimeAgen or Dougdoug

gloomy forge
#

Writing a novel is art just like how writing code to make your game run is an art. Doesn't seem to be a controversal take.

nova bough
winged knoll
#

Even dougdoug code is kind of shitty but it works and funny

scarlet pilot
#

i dont think game maker is obsecure but fair and real

nova bough
#

unless unreal engine is cheap. im not a game dev

zealous slate
# winged knoll <@184099251926728704> ^ check myth 3

I don't fully comprehend what point we're trying to make here. The video talks about an over-adherance to clean code, while admitting in the preface that some of the advice is good. It sounds akin to overengineering where it's not needed.
But I don't see how this relates to self-documenting code? Maybe I'm just missing the obvious.

worthy ivy
scarlet pilot
#

Either or, I think its only helpful to clean up your code for your own self imo

indigo plover
#

Since you all are talking about best practice in coding and I don't know anything about using gamemaker, I was curious why Thor didn't use a for loop here (unless it was specifically so he could leave comments):

nova bough
#

maybe to doc which room is which?

split tulip
#

generally speaking, it is not good practice. it's just what works for his use case

gloomy pelican
#

the primary criticism was more about magic numbers, not a loop... the loop part was for the alarms

worthy ivy
scarlet pilot
winged knoll
zealous slate
worthy ivy
#

I always thought best practice was "don't comment everything, but if you think you might need one then put it in anyway just in case"

#

but that was 90s best practice

am not exactly current

scarlet pilot
split tulip
#

also, I dislike this attitude of someone reading the code for a project they know nothing about and immediately assuming the dev is an idiot

scarlet pilot
#

which then makes it self documenting

winged knoll
scarlet pilot
#

smile

#

structs are explicitly meant for this purpose, for data passing when theres no need for an instance of the object (again, grain of salt im not god)

gloomy pelican
split tulip
#

especially if the code has been making the company money for years

jolly sky
scarlet pilot
#

I dont think you can equate it to that. When you put your work out for everyone to see, its bound to get criticized

gloomy forge
# scarlet pilot Yes, i agree, but this specific "best case" (not leaving too many comments) isnt...

Yeah and I agree with you but I want to add that the balance is important and I say that you can certainly have both. You can document your code in specific ways but you can leave many things out of the explanations since they're are self-evident within the code. Which I think has been pretty much the norm for ages.

Maybe I'm very wrong though considering I'm no expert nor really knowledgeable with years of programmign experience, just what I've seen when I looked into plugins and same open sourced game code.

gloomy pelican
soft vector
#

I would also say, talk about arrogance.... To call yourself Coding Jesus

vivid maple
toxic rampart
zealous slate
scarlet pilot
soft vector
toxic rampart
#

I'm just calling them all that at this point idgaf anymore lol

scarlet pilot
#

without critique youre going to be stuck at the level you were on before

jolly sky
#

So, absolutely worthless and slop drama cash grab bait

vivid maple
#

oh no wonder

split tulip
scarlet pilot
scarlet pilot
#

arrays are like so dangerous

gloomy forge
#

Man, I wish people stop doing the YouTube thing where "oh, this code is bad, obviously that means everything the person did is a fraud".

@scarlet pilot Sorry, I didn't meant to imply that there is only one approach. Obviously it depends on the person and how they learned to code peepoHappy! Not all teaching books are the same.

split tulip
gloomy pelican
#

I think at a positive note, senior developers really care to see good practice and they tend to be savage... used to be like that as well but I learned that I need to build good arguments and help people move

gloomy forge
#

And teachers also have different approaches to that sort of topic.

scarlet pilot
winged knoll
#

Do be agree that the coding jeebus guy is drama baiting

gloomy pelican
jolly sky
winged knoll
#

Do think Thor isn’t ze best as coding, no one with a sane brain would say that, i don’t think Thor claimed to be the best either

soft vector
jolly sky
#

We're literally talking about critique'ing here on all fronts. You don't even know what the word Echo Chamber means

winged knoll
#

It’s up to the guy to take critics and up his game or not

zealous slate
split tulip
#

if you legitimately wanted to critique the code, you would need the full project. otherwise it's close to useless

scarlet pilot
soft vector
#

Almost every time I have had to review code, I remind myself whoever wrote this at the time it was written had specific requirements and time constraints, etc

winged knoll
split tulip
scarlet pilot
soft vector
jolly sky
#

Alright man, back to reddit with you

split tulip
winged knoll
scarlet pilot
split tulip
indigo wadi
#

Babyboy has been fed

scarlet pilot
#

all that is like basic cs, you can do it in any engine

winged knoll
split tulip
scarlet pilot
split tulip
scarlet pilot
#

only thing that changes is how its stored in disk memory, which is in machine code which ARGers cannot read because its different depending on what machine

indigo wadi
#

can ppl stop being unhinged

toxic rampart
#

I was having fun reading and learning before some felt the need to reddit all over the chat.

scarlet pilot
#

but if you dont care, you dont have to

toxic rampart
#

Danke mods

#

🍞

gloomy forge
#

Yeah, it happens when people stir up things. But this discussion has been a great read peepoHappy

This is unrelated to anything here but I feel that constructive criticism is one of the best things you can do to a person.

soft vector
#

Seems Most of Coding Jesus Videos are about making fun of people, so time to ignore his Videos

toxic rampart
#

Yeah that's gross

last patrol
#

fwiw he did put out a video about 5 hours ago talking on a lot of the points ive seen here

toxic rampart
#

Bullies are bullies no matter the content.

soft vector
#

It feeds the algo

soft vector
#

Making a Video to give critical feedback to help Others improve, nothing wrong with that. Making a Video to criticize and call someone a fake, entirely different

jolly sky
#

Some rare sense in Youtube comments

toxic rampart
#

The post mortem on this entire event will be something for sure.
A study on the speed of anger and brain worms will be interesting.

gloomy pelican
strange ember
# scarlet pilot sure. But its not good code. or to put it another way, it can be better

To be fair?
Basically ANY code can be improved. Sometimes by a lot. There's usually multiple ways to do anything with code, all of which come with pros and cons
https://www.youtube.com/watch?v=c33AZBnRHks

YES, the improvement should be 40,832,277,770%, not what I say in the video. The "408,322,778" multiple was correct and I did the percentage the wrong way. There will not be a follow-up video to correct that.

The improvement was to my code from this video: https://www.youtube.com/watch?v=_-AfhLQfb6w

This is episode 038 of the A Problem Squared...

▶ Play video
scarlet pilot
#

yeah i mean

#

idk what that link is supposed to be ive always agreed to that notion

strange ember
#

If it does the job, it does the job
basically

scarlet pilot
#

sure, but the original topic was if its best practices or not/ if there are better alternatives

#

i even said "people can code how they want to"

soft vector
#

"Better" is also sometimes in the eye of the beholder

split tulip
#

how many of you have had this experience:
you've been working at a company and things work pretty smoothly. a new manager gets hired and immediately starts changing things to "optimize" things. they don't take the time to sit down and understand what you do and just says "this way is better"

that's how a lot of this comes across to me. people show up, say "just use x" and never ask you've been doing y

strange ember
# toxic rampart The post mortem on this entire event will be something for sure. A study on the...

https://www.youtube.com/watch?v=rE3j_RHkqJc
Been done. More could be done for verification though. Probably have been honestly, studying why algorithmic engagement is usually anger-inducing is probably something people have done... trick is more if it got published

CGP Grey on Patreon: https://www.patreon.com/cgpgrey

"What Makes Online Content Viral?" By Jonah A. Berger & Katherine L. Milkman http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1528077

Special Thank You to My Bonnie Bees:

Tyler Morris, Marvin Sponaugle, Rolf Røsand, PervertedThomas, rictic, Ian, Saki Comandao, Edward DeLany, Jake Stolh...

▶ Play video
bright condor
#

Did anything happen to today's stream on twitch?

nova bough
#

also, a note... sometimes people will say "code is self documenting" as a joke.

bright condor
strange ember
split tulip
scarlet pilot
#

While that situation makes sense, the person who is talking about changing things, does understand what is happening because they understand programming/understand core cs concepts

jolly sky
#

Even worse when the Company's goals change in a completely ass-backwards way and makes egregious changes, while bringing in a new manager to implement those changes

gloomy forge
#

I feel this whole discussion, not whats happening here right now but on the internet in general is very similar to the "expressionism" vs "impressionism" talk back 80 years ago. If we've really learned from the art movements from yesteryear its known that you can have both.

split tulip
strange ember
#

Change for the sake of change introduces possibility for the introduction of flaws. If you don't have something that's actually wrong you are trying to fix? Why risk it?

scarlet pilot
zealous slate
nova bough
earnest mirage
# soft vector "Better" is also sometimes in the eye of the beholder

in this case better wouldn't even matter.
the game runs on a smart watch and a smart fridge or with other words it runs on a potato. No one will ever notice a difference if you put more effort into this and optimize stuff because it's already done processing within 1 frame.

last patrol
scarlet pilot
#

yeah, thats the reason why spagetti code is a real term

nova bough
last patrol
scarlet pilot
#

i feel ilke thats smiley emoji needs to be (:

#

also are u looking for an intern i hear that has some good money /j

zealous slate
jolly sky
split tulip
strange ember
nova bough
gloomy forge
#

I read many times that your average car contains code that has 100 million lines of code, which honestly seems crazy to me.

scarlet pilot
gloomy forge
#

It probably stems from the whole "if it ain't broke" philosophy. sometimes things require a lil bit of reinterpretation and updating.

jolly sky
strange ember
toxic rampart
dreamy dagger
#

Did the vod of today get taken down?

zealous slate
jolly sky
scarlet pilot
#

Anyways, thor aside, please for the love of god use true and false instead of 1 and 0

dreamy dagger
gloomy pelican
nova bough
strange ember
zealous slate
last patrol
#

I mean the whole recent RCE debacle due to gamepass using a older build of codww2 arose from a it works so why change things attitude afaik, albeit thats probably more to do with Activision not wanting to spend money rather than thinking it was "fine".

gloomy forge
#

Cmon folks, don't assume bad things from others. People are just here to voice opinions and have a talk.

scarlet pilot
earnest mirage
split tulip
strange ember
#

A ceramics teacher announced on opening day that he was dividing the class into two groups. All those on the left side of the studio, he said, would be graded solely on the quantity of work they produced, all those on the right solely on its quality. His procedure was simple: on the final day of class he would bring in his bathroom scales and weigh the work of the “quantity” group: fifty pound of pots rated an “A”, forty pounds a “B”, and so on. Those being graded on “quality”, however, needed to produce only one pot — albeit a perfect one — to get an “A”. Well, came grading time and a curious fact emerged: the works of highest quality were all produced by the group being graded for quantity. It seems that while the “quantity” group was busily churning out piles of work – and learning from their mistakes — the “quality” group had sat theorizing about perfection, and in the end had little more to show for their efforts than grandiose theories and a pile of dead clay.
David Bayles and Ted Orland — Art & Fear

scarlet pilot
gloomy forge
#

I guess this channel now became "the war room" KEKW

split tulip
zealous slate
worthy ivy
#

and low effort memes 🙂

split tulip
worthy ivy
#

love me a low effort meme

jolly sky
ocean agate
gloomy pelican
jolly sky
midnight shale
#

I don't understand, the guy reads Thor's msg "Can't define bool in GML,"
Opens docu, finds out that yes in fact you can't define bools and there are built-in's instead, then somehow says that like a gotcha???
Done with Internet today...

flat moat
#

remember, if they can capitalise on your lack of knowledge, they will use it to further their influence

strange ember
zealous slate
strange ember
scarlet pilot
#

its still ass

#

Not like any of this matters anyway its all green text on screen anyway

nova bough
#

im 15 years into my career, every time ive been yelled at someone lost their cool and later apologized. its not ok to yell at someone. take a break and come back to the subject if you ever get that angry.

strange ember
indigo wadi
scarlet pilot
nova bough
ocean agate
#

less than 9 days https://itch.io/jam/pirate

itch.io

A game jam from 2025-07-17 to 2025-08-14 hosted by Pirate Software. What is a GameJam? A Game Jam is a short event where you and others work together to create a small game. Most Jams have some kind of restriction on t...

strange ember
zealous slate
#

Yall casually saying stuff where I'd be 100% fired if I did something like that.
Maybe I'm just lucky.

gloomy pelican
strange ember
strange ember
#

and where

zealous slate
soft vector
#

Good grief.... The Response Video. Thor takes being called the Bob Ross of programming as an honor, not because he's God's Gift to programming, but because his channel has inspired others to go and make things....

zealous slate
gloomy forge
nova bough
#

i have also heard very frusterating interesting things about government and how they operate, from previous coworkers who took a government contract

jolly sky
indigo wadi
worthy ivy
gloomy forge
#

Some oeople probably don't even know that Bob Ross was itself one of twitchs most beloved creators (Way after his death, his family hostes the twitch Bob Ross channel AFAIK)

soft vector
#

It missed the entire Point. Bob Ross inspired people to go Out and try and Paint, to make mistakes and to make things. Which is exactly what Thor does

nova bough
#

"happy little mistakes"

worthy ivy
split tulip
#

I bet you can see a noticeable bump on the number of painters in the world, just after bob ross' show was made

strange ember
nova bough
#

HR is there to keep the company from being sued. if you want to involve it, jt has to be something that could negatively impact the company

indigo wadi
nova bough
#

i try not to involve HR.

gloomy forge
indigo wadi
#

Bob Ross was also in the military

midnight shale
#

To be fair HR depends a lot on company, I usually don't like HR but where I'm at I'm very satisfied - no bloated headcount, one interview into offer/denial, no harassment with menial or non-sensical tasks etc

nova bough
#

youtube howtos before youtube

indigo wadi
strange ember
gloomy forge
#

peepoHappy thats so nice

strange ember
#

Style relevant to conversation 🙂

midnight shale
bright condor
gritty tartan
tribal canyon
strange ember
# indigo wadi Bob Ross was also in the military

I'm reminded of the rumor that he was a drill sergeant... which is why he was so even-keeled and soft-spoken... but I can't remember if it's true. I do know he was a Master Sergeant in the Air Force though

indigo wadi
bright condor
ocean agate
bright condor
#

Well probably much off it will be malware written by chatgpt somehow that won't work but who knows

bright condor
ocean agate
ocean agate
strange ember
tribal canyon
strange ember
#

Oh that's a very good thing to be wrong about

jolly sky
#

DAMN.

tribal canyon
strange ember
#

Way to go Thor!

jolly sky
#

That's pretty good numbers but uh, holy shit

#

RIP to the Mods free time looking through all those submissions

tribal canyon
#

thou i am praying its not spammers/ghosters

ocean agate
jolly sky
#

(not that all of those 2500 signups will get to be individual games of course)

hazy storm
jolly sky
#

Ohhhhh

ocean agate
#

we had over 16k sign up last jam

indigo wadi
#

I'd look towards submissions more than joins

hazy storm
#

Reading

tribal canyon
#

ah yea didnt realise it was joined/submissions,

ocean agate
#

this is my 3rd join....i have gotten bettr but still never finished a project

vivid maple
#

i think the issue this time is the drama is still fresh on peoples minds

#

thats just my observation

tribal canyon
#

tbf 16 was during the WoW stuff

ocean agate
bright condor
#

I just can't find it does anyone know how to see all the pirate game jams in itch.it like from 17-10 or further

#

?

strange ember
tribal canyon
bright condor
ocean agate
tribal canyon
ocean agate
#

i am hyped to find out what we get to vote the theme will be

earnest mirage
tribal canyon
#

i should learn cobol

strange ember
#

huh... they're not all on itch

#

nevermind

worthy ivy
#

oh yeah, shit'll really hit the fan when the last person that knows cobol dies

gritty tartan
ocean agate
#

yeah it only shows the 3

tribal canyon
#

game jam 18 theme, only cobol

worthy ivy
#

we need it - is about to get all tech priest

vivid maple
ocean agate
worthy ivy
#

"sorry, we can't fix it, we don't know how"

earnest mirage
tribal canyon
#

my computer science A-level was using VB6 on windown XP running on a iMac

#

and that was 2015.....

worthy ivy
strange ember
gritty tartan
bright condor
bright condor
#

Well that helps

#

Lol

strange ember
tribal canyon
strange ember
# gritty tartan But nobody wants to be a collateral damage.

I get it, but also if you're getting flak for MAKING A GAME you should honestly tell the <censored> to go <censored>.
Letting someone control your actions because they MIGHT be mean is the ultimate chilling effect, and lets them win without any effort on their part

gritty tartan
#

the numbers are fine

strange ember
#

that's submissions not joins

#

We had that convo earlier 🙂

gritty tartan
#

anyway, look what I found on the 15th Jam page

tribal canyon
#

actually would love to see a game you need an entire #it-homelab to even play KEKW kubernetes and all

gritty tartan
ocean agate
#

HENRY

bright condor
#

I would appreciate it

ocean agate
strange ember
jolly sky
#

Would love to see a troll game that uninstalls itself after a playthrough Goblins

earnest mirage
bright condor
jolly sky
#

"It's my code, stay mad"

strange ember
bright condor
#

I can bet there will be a Thor game on that jam

bright condor
earnest mirage
bright condor
#

But that will not stop anyone

hard jackal
strange ember
#

I mean someone will make one, but you know someone will make one for Thor's jam too

gritty tartan
# strange ember

Well... that's a good rule. I wish them luck with their Jam tbh.

bright condor
hard jackal
bright condor
#

Yeah

strange ember
bright condor
#

It's community run so I don't really see it be well enforced

strange ember
#

presuming someone's a jerk before they've done a thing is kinda bad faith, IMO ¯_(ツ)_/¯

bright condor
#

But yeah

strange ember
#

Personally I'm glad they're trying to make games too

ocean agate
#

i am so glad i have a back up battery, i know i should not be so addicted to tech.....but i would lose my mind without at least music to listen to

strange ember
#

I'm hoping that most of the jam entries for Thor's will be designed in a way that doesn't rely on external services as well. Just seems sensible to me.
Don't tie your car's ignition coil into the headlights, kind of thing.

bright condor
ocean agate
bright condor
toxic rampart
hard jackal
# strange ember I'm hoping that most of the jam entries for Thor's will be designed in a way tha...

https://itch.io/jam/pirate

  • Your submission must run in the browser.
  • No AI-Generated Content.
  • You can only use assets you have the commercial license for.
    Some asset packs only allow non-commercial use.
    Make sure you know the licensing limits for anything you use.
    The intention is for you to build your own stuff and learn from it.
    Don't overthink this and try to find a way around it, just make things.
    The game jam is a flex of personal skill not personal wallet.
bright condor
strange ember
#

Ah right, forgot the "must be browser based"

strange ember
#

If someone manages to make one that authenticates to a self-hosted server... I will be impressed and severely disappointed at the jerk-ery

bright condor
#

Anyways I hope the theme is good

#

I may or may not have not liked the last one

strange ember
#

What was the last one?

ocean agate
#

alchemy, shadow?

bright condor
strange ember
#

I'm getting a 404 in my memory bank for it

ocean agate
#

yeah yeah "you are the weapon"

bright condor
bright condor
bright condor
#

98% air baby

strange ember
#

Hey, at least it's fireproof

bright condor
#

The other 2% is those memories you want to forget and every single Minecraft command for some reason

bright condor
earnest mirage
strange ember
hard jackal
shy pawn
#

Are you a developer?

bright condor
jolly sky
ocean agate
strange ember
#

I got linked back here from the future.
Probably been addressed since.
"self-explaining code" is dogshit. YOU WILL FORGET WHAT SOMETHING DOES.
Unless it's actually 101-level simple. Like the imports at the beginning of a python script or something.

tribal canyon
#

The closest you will ever get to self documents code is Cisco IOS, change my mind

strange ember
#

But 99% of the time what you THINK is obvious now will NOT be obvious in the future. Everyone that looks at the code, including Future You will appreciate your comments later

bright condor
ocean agate
#

as someone who can walk into a room and forget why i am there i will always comment my code (when i remember)

shy pawn
#

so that makes no sense.. the point of the code is to be human readable

#

its written for humans not computers..

strange ember
shy pawn
#

computers only understand machine code technically

shy pawn
bright condor
jolly sky
#

Well it seems you didn't read from the linked point downwards

brazen drift
#

i need to start commenting my art so i can remember what setings i used to get certain filters orz i even forget my own brushes half the time. i couldnt imagine trying to code and forgetting what something important does

tribal canyon
jolly sky
#

Using comment in code isn't a good or bad thing

strange ember
jolly sky
#

It is just something that can be chosen to do

ocean agate
#

i remember hearing about some case involving theft of code, the key indicator that showed it was stolen was that they left the comments that had stolen dudes name all over it

nova bough
shy pawn
#

Comments are good for example in real life where do you use comments? Here is a good usecase:

/**
 * Solves equations of the form a * x = b
 * @example
 * // returns 2
 * globalNS.method1(5, 10);
 * @example
 * // returns 3
 * globalNS.method(5, 15);
 * @returns {Number} Returns the value of x for the equation.
 */
globalNS.method1 = function (a, b) {
    return b / a;
};
#

this gives you documentation

strange ember
shy pawn
#
  • explains what the function does
bright condor
brazen drift
tribal canyon
#

'''++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
''' hope that works on mobile

shy pawn
ocean agate
shy pawn
#

after you write a lot of code you kinda dont see code

#

you see the data flow

#

you see patterns

flat moat
# shy pawn Are you a developer?

I work in DevOps, specializing in server hosting, deployments and software integration. I generally integrate IT infrastructure and code in order to maximize up time, scalability and reduce time wasted through automation

bright condor
shy pawn
tribal canyon
nova bough
#

back end infra does have some coding

brazen drift
shy pawn
#

Yeah but writing Terraform or Kubernetes configs is no the same as writing code

flat moat
shy pawn
#

11 years - Working with Web + Cloud

bright condor
shy pawn
#

Devos, backend, frontend

#

have my own gig

#

now working as a consultant for IBM, Bosch

#

im from europe

shy pawn
#

so automotive + cloud is a big thing

bright condor
#

I will let these two argue over nothing honestly bye yall

shy pawn
flat moat
shy pawn
# brazen drift that example post up there reads like latin to me and i cant for the life of me ...
/**
 * Calculates the final price of an order including tax and optional discount.
 * 
 * @param {number} basePrice - The base price before tax or discounts.
 * @param {number} taxRate - The tax rate as a percentage (e.g., 20 for 20%).
 * @param {number} [discount=0] - Optional discount as a percentage (e.g., 10 for 10%).
 * @returns {number} The final price after applying tax and discount.
 */
function calculateFinalPrice(basePrice, taxRate, discount = 0) {
....

This is maybe a better example from one of the production systems I have

#

you can understand what this does even without the comment but in this case the comments are used to give me documentation in my IDE

#

which is a good feature thats why I have the @param

brazen drift
#

i can certainly read that this time

shy pawn
#

so this is how it looks like and I now know

#

in 20 years

#

what this code does

#

I need a base price and a tax rater with a optional discount.. I don't even need the comment per se, but its a nice to have in JS since I can get this popup

strange ember
shy pawn
bright condor
ocean agate
brazen drift
shy pawn
# brazen drift I use CSP

function decideNextAction(status) {
  if (status.isParked && !status.isLocked) {
    sendCommand('lock');
    return;
  }

  if (
    status.isLocked &&
    status.isParked &&
    status.batteryLevel > 30 &&
    !status.isRunning
  ) {
    sendCommand('startEngine');
    return;
  }

  if (status.isRunning) {
    return;
  }


  if (status.batteryLevel <= 30) {
    console.log('🔋 Battery too low to start engine.');
    return;
  }
}

here is another example from a POC im working on

#

would you sayu this is readable?

#

If you read this code, is this understandable?

brazen drift
#

uh

indigo wadi
brazen drift
#

yeah im with chaz orz

flat moat
# shy pawn No ?

Cool, then it's just coming off as sanctimonious given I've spent the last 2 years of my life writing PS scripts, backends and the likes for work.

brazen drift
#

i can't decipher code to save my life

ocean agate
#

i find it funny because it has a console log, isnt that the same as having comments?

shy pawn
indigo wadi
flat moat
ocean agate
# shy pawn no

the point is to quickly understand the code. the console log explains that code shows battery level is to low to start engine. comments would break down each part but show the same thing

gritty tartan
shy pawn
#

thats it

#

I could change the log to be a MQTT message which is sent later to a car

#

or to a Phone

#

In this cases, as its a POC i want to see if the log is triggered at all

#

one thing to improve with this code would be definint what a status is

#

in Typescript or JS i could do this:

type CarStatus = {
  isLocked: boolean;
  isRunning: boolean;
  isParked: boolean;
  batteryLevel: number;
};
#

and then refactor the function: function decideNextAction(status: CarStatus) {

#

then we know that we have pre-defined status-es for the car

#

and then we know that in the function - depending on the status of the car we do something

#

so no comments needed

ocean agate
#

if not for the console log i feel it would be a bit to gibberish and could reference anything so for me it acts the same as having a comment placed on it

shy pawn
#

I would argue a comment is useless

ocean agate
#

but you coded it

jolly sky
#

Doesn't mean it can't be used. It literally doesn't matter if comments are used.

ocean agate
#

so for you, you might not needed it, but comments are for people who come after

shy pawn
#

sure, but even if I would see this code in the wild it would be easy to understand, what kind of comment would give more clarity in this case?

#

can you give an example?

#

what comment would you like me to add to make it better

shy pawn
#

you can use use comments - but usually in this case I would even draw a diagram

#

Since its a "service communication"

jolly sky
#

So, whats the problem

#

Accept comments can be used, you don't have to use them

#

Move on

shy pawn
#

Problem is that saying you NEED comments to understand code is a bit stupid

strange ember
# brazen drift I use CSP

Yeah, I'm utterly unfamiliar with that one... you might want to do a kind of... "example" or "palette"... kinda like you see for colors on some digital art?
Only a separate file that you use to show what your standard settings are for various things you do.
Like... your standard outline brush and its settings, your standard font, your usual offsets for highlights and shadows, what smudge settings you use for blending, etc...

Kinda like... uh... this, only ya know, with real values and in a way that makes sense to your brain instead of something I whipped up in MS Paint in 2 minutes

ocean agate
#

i would have to have an idea of the whole project to understand how to add comments, the fact that i cannot is why comments are needed. so anyone can quickly identify a possible problem without fully understanding all the code to be able to apply a possible fix and test alternatives for a solution

flat moat
jolly sky
#

So perhaps understanding why comments are used is a better way of thinking about it

ocean agate
#

"its obvious" apply that logic when watching people play DnD and get stumped by a door knob

#

you turn it....thats the answer

strange ember
#

one person's obvious can be another person's Moon Logic

subtle gate
#

leaving notes for myself feels like it should be applicable in other areas in life 🤔

strange ember
#

Me too

ocean agate
#

moon logic

shy pawn
# flat moat You could improve it by having the battery check condition come first as an init...

I've worked with teams of 2 up to 10 people, and we never had comments explaining everything. Like I said, you would usually comment on some weird behaviour or a "hack" you did in the code and write to other programmers something like "used a hack here since X technology does not allow Y feature" or I would leave comments on some logic which is something like "I did this so the message is being sent multiple times.. " so writting comments is to explain the WHY not the WHAT.

also some pitfalls, its nice to add comments for a function that has weird behaviour or side effects. But yeah like everything in programming.. it depends

#

and you are correct the check could be moved but would not change much in the logic since all code paths return after the check is thru

strange ember
#

I forgot to check my deadbolt/latch status and locked myself out of the house the other day.
I have legit stood in front of the oven I've had for 20 years and gone "Wait, which knob goes to which burner again?"

brazen drift
ocean agate
#

in the end its all personal preference, since as long as it works, it works

shy pawn
#

there is also a whole science called Clean Code - where the toppic of this is discussed

#

how to write clean and readable code

strange ember
shy pawn
#

it will change your life

subtle gate
#

could we make a #debate_room ?

idle hill
#

NO

#

no

ocean agate
idle hill
#

we already had one of those

strange ember
subtle gate
#

or would that be redundant?

jolly sky
#

You could ask in a mod ticket but uh, yea thats gonna get shot down I imagine

ocean agate
#

the only thing that would be posted in a debate room is who is the master

shy pawn
#

This is a pita where im from

late bane
#

So what's the discussion today

strange ember
#

(Obviously "pain in the A")

jolly sky
#

This should just be the header for almost everything in life

flat moat
# shy pawn I've worked with teams of 2 up to 10 people, and we never had comments explainin...

Yeah, I'm not arguing for commenting on everything, only where it's reasonable and makes senses. I often leave comments in yml configs so that other teams know where to input entries for their change request, makes documentation and troubleshooting much easier on me lol
I also put in comments on things with reqs that would or could be prone to change.

If they want to know how code works, the documentation attached will have a description of it's overall purpose😃

shy pawn
#

I mean its a good practice to write readable code

#

thats my whole argument

#

it will make you a better engineer

strange ember
#

I'm in the "comment by default, overexplaining has saved my caboose before" camp.

Though I will say the examples like "I did this so the message is being sent multiple times.. " or "if you set this to anything but 2 the project won't compile" are in the more mandatory side

shy pawn
#

and it will make the life easier

#

of you and others

flat moat
#

100%

shy pawn
#

ofc add comments where needed

strange ember
#

So much

shy pawn
#

but also challange yourself in making nice and clean code - my prof at uni alwasys said, you write code for people not for computers

#

and I still love this

jolly sky
#

Alternatively

shy pawn
#

I take pride in my work

#

I want to be the best dev I can be

#

I love what im doing

#

and I want to improve and I want to make good software

#

and not slop like discord 😄

strange ember
#

I've ran into so much terrible documentation over the years that I just don't trust anyone to do it anymore. I'll check it, but holy goddess, I don't think doc writing is a skill most coders have

shy pawn
#

( hate on discord since it has a lot of issues on linux )

ocean agate
#

"best" is subjective and evershifting goal post

jolly sky
#

Then make it work for you, do all you can be, but bare in mind the moment where you try to make others do it, or rate them based on your own practices, is where you're going wrong

strange ember
#

Discord is a good idea wrapped in a series of half-baked implementations

shy pawn
late bane
#

The hotpocket of apps

idle hill
#

ah shoot game's gotta work on browser thats right

shy pawn
#

You get rated on the knowledge you have

#

Im not making anyone do anything Im just sharing my knowledge and experience

#

and like I did with @flat moat we kinda agree on the topics

#

we came to a understanding

strange ember
#

School and industry are misaligned more often than you'd think

shy pawn
#

ofc I learned sh** in school

#

99% of the knowledge i use is due to me working on my own on the skills, however, school tought me to learn..

#

and to understand

#

but the point is you can't be ignorant to all oponions or advice you get

#

99% of the time its BS

idle hill
#

I learned about rocks and how to read a map with a compass peepoHappy

shy pawn
#

but 1% of the time its something that makes you better

outer cobalt
shy pawn
flat moat
# shy pawn and I still love this

As you should! I often find when I'm working with devs at my work, we can't always make a clean code break so we have a 4-5 page document describing why we've set things up the way it has been and we work on setting up a time in future to look at and possibly remake it for optimization purposes. Clean code is the goal, especially when it comes to automation because things can break really quickly in my experience

strange ember
shy pawn
#

but also I worked on a angular 1.x project - and tbh I never read more beutiful code in my life

outer cobalt
strange ember
shy pawn
#

I mean I do POC all the time, since I present some solutions to clients like the car battery thing on top

#

and POC is something like ap rototype

outer cobalt
#

The process of productionising code usually leaves no time to clear tech debt

shy pawn
#

just a one off you show

strange ember
#

tech debt sucks

shy pawn
#

but still I try to make it as readable as possible since thats a "skeleton" I can orient myself

#

in my exp tech debt is the outcome of bad management sadly

outer cobalt
#

you can say bad management makes this worse, yes

shy pawn
#

time constraings = bad management

outer cobalt
shy pawn
#

I mean true, Im talking more from a general software perspective

outer cobalt
#

Its complicated and made worse by bad management

#

ig, since most software doesn’t really have time constraints

#

As in its artificial

shy pawn
#

Anyway good talk, see ya gotta go sleep damn

#

its 2 in the mornign

flat moat
#

Have a good rest, Neo!

strange ember
#

Time constraints are the result of reality. They're worsened by external pressures from other aspects of a project, but they're not JUST from management/publisher.

If I make a piece of software in a decade and someone else makes a similar thing in a year... I wasted 9 years

#

(usually)

ocean agate
strange ember
#

Perspective. To me that's salvage

#

That's an amusing this to glance down and see

muted robin
#

yeah that one YT short is one of my favorite shorts to randomly remember and giggle over

late bane
#

Lol

muted robin
#

but i didn't think the mods would appreciate me having tats with an i as my nickname

#

honestly i don't see what the problem is even if thor has "bad code" bc he made a short once pointing out how undertale is coded, not to go "haha toby fox sucks" but to say "one of the most legendary games of all time is written with what's considered bad code, it doesn't matter if your code is bad it matters if you make games"

late bane
#

Long as it works

muted robin
#

and i feel like that fits with thor's overall ethos that he's stated over and over again which is "it doesn't have to be perfect, it just needs to exist, make games"

proper phoenix
#

Where is the latest vod
I was waiting to rewatch the streams

muted robin
#

i don't think he's ever advertised himself as "i am the god programmer who teaches best practices of coding, do what i say" so for me it's not realy realevant

proper phoenix
muted robin
proper phoenix
late bane
muted robin
# strange ember Drama Farming "Gotchas"

but why would you farm someone over something that can easily be disproven through looking at easily accessible very popular clips by thor-- i'm using logic again

strange ember
proper phoenix
#

Another drama ? Really

#

Buh

ocean agate
strange ember
proper phoenix
#

I was hoping to lurk man sad_yellowemoji
Why are there another drama not even 1 day after skg chat was nuke

ocean agate
#

he wants belly rubs

subtle gate
#

I was hoping to go without mentioning that acronym

strange ember
subtle gate
#

one day is all I ask

jolly sky
#

And as it always has been, manufactured drama

#

Youtube has become a cesspit of it, thank goodness for "Don't recommend channel"

#

Been using that heavily for the past week

late bane
#

I thankfully haven't seen any videos on him in my feed other than his

hazy storm
raw condor
# strange ember Yup, you're treating humans as rational actors again.

Dr. K says internet users aren't "human" at all-- They're human adjacent.

A human has a face, a voice, you can talk to them and read their emotions through communication. People on the internet can so quickly communicate through harassment and bad faith and then just go about their normal lives afterwards without any real consequences

A lot of these dicks are demonstrably less than human

proper phoenix
#

So what is this new drama ab

jolly sky
strange ember
jolly sky
#

Just amped up to 100 quadrillion

jolly sky
#

God I still love that

late bane
#

Aged well

jolly sky
#

I've got it saved in my meme folder too

strange ember
#

Oh that does have cursing on it... whoops

jolly sky
#

It's just so apt

proper phoenix
#

Found it
Gonna check later when i finish class

strange ember
hazy storm
#

We just have to do our part in making sure Thor still feels appreciated and loved and that making content is still worth it

jolly sky
#

mine is the, censored version lmao

#

The only people that I previously watched before they covered the SKG stuff that I'm still remotely interested in watching is Josh Strife Hayes and Louis Rossman

strange ember