Be Excellent To Each Other

And, you know, party on. Dude.

All times are UTC [ DST ]




Reply to topic  [ 2920 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 59  Next
Author Message
 Post subject: Re: Bits and Bobs 51
PostPosted: Thu Nov 26, 2020 22:09 
User avatar
chewbacca -future arc welder

Joined: 25th Oct, 2011
Posts: 2655
Location: Kashyyyk
BikNorton wrote:
Make sure you check an extra couple of layers below your normal decoy, just to be on the safe side.

I checked every last disc.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Thu Nov 26, 2020 22:52 
User avatar
Gogmagog

Joined: 30th Mar, 2008
Posts: 48607
Location: Cheshire
Coding question: When CleverDan gets a better offer and sods off to InfoFinTech for stock options and a fast trading bot, how much of a pain is it to pickup someone else's programming? Do you have to unpick it all, and work out why they did something and how?

Or is it fairly straightforward?

_________________
Mr Chris wrote:
MaliA isn't just the best thing on the internet - he's the best thing ever.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Thu Nov 26, 2020 23:07 
SupaMod
User avatar
Commander-in-Cheese

Joined: 30th Mar, 2008
Posts: 49232
MaliA wrote:
Coding question: When CleverDan gets a better offer and sods off to InfoFinTech for stock options and a fast trading bot, how much of a pain is it to pickup someone else's programming? Do you have to unpick it all, and work out why they did something and how?

Or is it fairly straightforward?


Depends how good their coding practices are. If they document well and comment their code, it's usually not that hard. Maintaining other people's code is fairly normal.

_________________
GoddessJasmine wrote:
Drunk, pulled Craster's pork, waiting for brdyime story,reading nuts. Xz


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Thu Nov 26, 2020 23:10 
User avatar
Decapodian

Joined: 15th Oct, 2010
Posts: 5134
Cras wrote:
MaliA wrote:
Coding question: When CleverDan gets a better offer and sods off to InfoFinTech for stock options and a fast trading bot, how much of a pain is it to pickup someone else's programming? Do you have to unpick it all, and work out why they did something and how?

Or is it fairly straightforward?


Depends how good their coding practices are. If they document well and comment their code, it's usually not that hard. Maintaining other people's code is fairly normal.


The actual Dan we had that fucked off left some fairly colourful comments in his code, some of which which happened to be seen by one of our customers. Not the best thing to have to explain.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Fri Nov 27, 2020 10:53 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 3991
Location: Broseley
God help anyone that ever has to pick up my coding. :S :DD

_________________
i make websites


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Fri Nov 27, 2020 10:55 
User avatar
UltraMod

Joined: 27th Mar, 2008
Posts: 55715
Location: California
Jem wrote:
God help anyone that ever has to pick up my coding. :S :DD

:S

_________________
I am currently under construction.
Thank you for your patience.


Image


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Fri Nov 27, 2020 10:57 
User avatar
ugvm'er at heart...

Joined: 4th Mar, 2010
Posts: 22256
My approach is to fuck around using random google results until something works, then hope it keeps working so I don't have to fix it.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Fri Nov 27, 2020 11:03 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 3991
Location: Broseley
That's how I've been coding for 20 years and it hasn't failed me so far.

_________________
i make websites


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Fri Nov 27, 2020 11:34 
User avatar
Comfortably Dumb

Joined: 30th Mar, 2008
Posts: 12034
Location: Sunny Stoke
Thankfully, the only code I really have to poke around with is the occasional bit of Javascript, but pretty much the only comments in the files are the name and company of who added each little snippet of code and maybe the date it was added. That's about it - nothing about what the code actually does.

_________________
Consolemad | Under Logic
Curse, the day is long
Realise you don't belong


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Fri Nov 27, 2020 11:40 
User avatar

Joined: 30th Mar, 2008
Posts: 14130
Location: Shropshire, UK
Cras wrote:
If they document well and comment their code

Giphy "hahahaha":
https://media1.giphy.com/media/3oEduPQqbpT1LqVOz6/giphy-loop.mp4


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Fri Nov 27, 2020 12:11 
SupaMod
User avatar
Commander-in-Cheese

Joined: 30th Mar, 2008
Posts: 49232
Two of my devs are incredibly good at explanatory documentation and useful comments. I do code reviews on their stuff which is like a waiter offering helpful feedback on the food to a Michelin starred chef.

_________________
GoddessJasmine wrote:
Drunk, pulled Craster's pork, waiting for brdyime story,reading nuts. Xz


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Fri Nov 27, 2020 12:13 
User avatar
Heavy Metal Tough Guy

Joined: 31st Mar, 2008
Posts: 6496
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live" is good practice.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Fri Nov 27, 2020 17:12 
User avatar

Joined: 30th Mar, 2008
Posts: 14130
Location: Shropshire, UK
Cras wrote:
Two of my devs are incredibly good at explanatory documentation and useful comments.

I am in my own stuff, but inevitably in the day job we've got so many plates spinning at the same time that there's very little time for actual future-proofing ;)


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Fri Nov 27, 2020 21:55 
User avatar

Joined: 31st Mar, 2008
Posts: 8647
Jem wrote:
God help anyone that ever has to pick up my coding. :S :DD


:this: but it's usually just me again 6 months later.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sat Nov 28, 2020 2:12 
User avatar
Ready for action

Joined: 9th Mar, 2009
Posts: 8542
Location: Top Secret Bunker
I feel like the only beexer who doesn’t know how to code :S


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sat Nov 28, 2020 7:37 
User avatar
Noob as of 6/8/10

Joined: 6th Aug, 2010
Posts: 5296
Location: , Location, Location.
You’re not. I had to do coding for my BTEC, which must have been about 20 years ago, and I haven’t done any since. The nearest I got was writing batch files for deploying updates to our users.

I’ve occasionally been tempted to try some on-line coding training, but I don’t need it for work, and I don’t have enough spare time to do it anyway.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sat Nov 28, 2020 8:31 
User avatar
Decapodian

Joined: 15th Oct, 2010
Posts: 5134
sdg wrote:
I feel like the only beexer who doesn’t know how to code :S


I don’t either. I just manage some people who do.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sat Nov 28, 2020 11:08 
User avatar
Master of dodgy spelling....

Joined: 25th Sep, 2008
Posts: 22533
Location: shropshire, uk
I used to code PLC and ROM chips on my degree course. That was in Hex. That was great fun.

_________________
MetalAngel wrote:
Kovacs: From 'unresponsive' to 'kebab' in 3.5 seconds


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sat Nov 28, 2020 11:19 
SupaMod
User avatar
"Praisebot"

Joined: 30th Mar, 2008
Posts: 17013
Location: Parts unknown
I have somehow agreed to put the Christmas decorations up today...


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sat Nov 28, 2020 11:33 
User avatar

Joined: 30th Mar, 2008
Posts: 16552
TheVision wrote:
I have somehow agreed to put the Christmas decorations up today...

Same here, just got back from the garden centre, tree on the car, looking like Clark Griswold.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sat Nov 28, 2020 11:33 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49106
Location: Standing on your mother's Porsche
Heading out for tree soon!

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sat Nov 28, 2020 14:51 
User avatar

Joined: 27th Mar, 2008
Posts: 25550
I was thinking of putting ours up this weekend, also. Had planned to do it whilst Darwin was at school on Tuesday (get the trees in situ and put all of the lights on them), but as that’s not happening I guess we might as well put them up now.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sat Nov 28, 2020 15:21 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69502
Location: Your Mum
Don't we hate comments now? I can't keep up.

Seriously though, comments can mostly go away (apart from docblocks, obv). If you need more comments then you're almost certainly breaking the S in SOLID.

There are exceptions, of course: I'll grudgingly accept a comment explaining why something is happening, but if it's telling us how something is happening then the code needs refactoring. Other exceptions can be if you're really optimising something, or you're doing something that's naturally complex (some badass math, or something).

I guess it depends on the language, too.

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sat Nov 28, 2020 15:56 
User avatar
ugvm'er at heart...

Joined: 4th Mar, 2010
Posts: 22256
Of course, we all have a full test suite written in easy to understand code, that gives you all you need to know to understand how the code works and what the intentions are...right?


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sat Nov 28, 2020 17:16 
User avatar
Gogmagog

Joined: 30th Mar, 2008
Posts: 48607
Location: Cheshire
Mimi wrote:
I was thinking of putting ours up this weekend, also. Had planned to do it whilst Darwin was at school on Tuesday (get the trees in situ and put all of the lights on them), but as that’s not happening I guess we might as well put them up now.


I daresay we'll grab a tree midweek and let it settle and then aim to have it all done by next weekend (loadsof trees up around here in people's houses already). MrsA is desiring lights outside the house, so I see ladder work in my future.

Already smashed through two boxes of mince pies.

_________________
Mr Chris wrote:
MaliA isn't just the best thing on the internet - he's the best thing ever.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sun Nov 29, 2020 11:58 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 3991
Location: Broseley
Joans wrote:
Jem wrote:
God help anyone that ever has to pick up my coding. :S :DD


:this: but it's usually just me again 6 months later.

Same, but this is part of my problem tbh. Because I've only ever really worked alone - as the sole dev at a company, then later on as the lead dev but with juniors who didn't know their arse from their elbow, only to go on to freelance, I have a LOT of bad habits / things I do because it's unlikely anyone else will ever have to look at it.

That said, Gaz and I sometimes work together on stuff and he hasn't killed me yet. I think that says more about Gaz's patience and skill than it does about me though. :DD

_________________
i make websites


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sun Nov 29, 2020 16:58 
User avatar
Sitting balls-back folder

Joined: 30th Mar, 2008
Posts: 10065
Trooper wrote:
Of course, we all have a full test suite written in easy to understand code, that gives you all you need to know to understand how the code works and what the intentions are...right?

If you need a test suite (essentially acting as "another form of external documentation" here) to understand a class/method, you're still doing it wrong.

The only purpose for a test suite is to check you've done what you thought the requirements said you should do.

The only comments I insist on are xmldoc on public/protected methods and class headers, and that's company policy, not just mine. If code itself needs commenting it had better be "work around a quirk/bug in an underlying piece of code which you don't have access to or time to do a complete overhaul on" or because what you're doing is just really hard to code in an easily understandable fashion, and justifiable to your reviewer.

Beyond backlog items there's very little other documentation either - "I'm new to this nightmare, how do I get it/build it/run it?" and anything absolutely required by the wider R&d process, which is absurdly heavy.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sun Nov 29, 2020 17:24 
User avatar
ugvm'er at heart...

Joined: 4th Mar, 2010
Posts: 22256
BikNorton wrote:
Trooper wrote:
Of course, we all have a full test suite written in easy to understand code, that gives you all you need to know to understand how the code works and what the intentions are...right?


The only purpose for a test suite is to check you've done what you thought the requirements said you should do.



Gosh, no.
TDD, contract based APIs, continuous delivery etc...


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sun Nov 29, 2020 17:37 
User avatar
UltraMod

Joined: 27th Mar, 2008
Posts: 55715
Location: California
sdg wrote:
I feel like the only beexer who doesn’t know how to code :S

Hero of Excrement too, even though he’s very well suited to it

_________________
I am currently under construction.
Thank you for your patience.


Image


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sun Nov 29, 2020 17:43 
User avatar
ugvm'er at heart...

Joined: 4th Mar, 2010
Posts: 22256
Mr Chonks wrote:
sdg wrote:
I feel like the only beexer who doesn’t know how to code :S

Hero of Excrement too, even though he’s very well suited to it


I thought you were more dignified than that.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sun Nov 29, 2020 19:22 
Filthy Junkie Bitch

Joined: 17th Dec, 2008
Posts: 8293
Trooper wrote:
Mr Chonks wrote:
sdg wrote:
I feel like the only beexer who doesn’t know how to code :S

Hero of Excrement too, even though he’s very well suited to it


I thought you were more dignified than that.

I expected better.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sun Nov 29, 2020 20:28 
User avatar
chewbacca -future arc welder

Joined: 25th Oct, 2011
Posts: 2655
Location: Kashyyyk
ApplePieOfDestiny wrote:
Trooper wrote:
Mr Chonks wrote:
sdg wrote:
I feel like the only beexer who doesn’t know how to code :S

Hero of Excrement too, even though he’s very well suited to it


I thought you were more dignified than that.

I expected better.

A sneering elitist, clearly


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Sun Nov 29, 2020 21:41 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49106
Location: Standing on your mother's Porsche
sdg wrote:
I feel like the only beexer who doesn’t know how to code :S

10 PRINT “Myps boiler is pooh”
20 GOTO 10

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Mon Nov 30, 2020 1:11 
User avatar
Sitting balls-back folder

Joined: 30th Mar, 2008
Posts: 10065
Trooper wrote:
BikNorton wrote:
Trooper wrote:
Of course, we all have a full test suite written in easy to understand code, that gives you all you need to know to understand how the code works and what the intentions are...right?


The only purpose for a test suite is to check you've done what you thought the requirements said you should do.



Gosh, no.
TDD, contract based APIs, continuous delivery etc...

All of that is fancy words for "checking you've done what (you thought) the requirements said you should do."


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Mon Nov 30, 2020 9:20 
User avatar
ugvm'er at heart...

Joined: 4th Mar, 2010
Posts: 22256
BikNorton wrote:
Trooper wrote:
BikNorton wrote:
Trooper wrote:
Of course, we all have a full test suite written in easy to understand code, that gives you all you need to know to understand how the code works and what the intentions are...right?


The only purpose for a test suite is to check you've done what you thought the requirements said you should do.



Gosh, no.
TDD, contract based APIs, continuous delivery etc...

All of that is fancy words for "checking you've done what (you thought) the requirements said you should do."


It really, really isn't, but ok.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 1:34 
User avatar
Isn't that lovely?

Joined: 30th Mar, 2008
Posts: 10910
Location: Devon
Til that I was born 100 years and 110 days after Churchill. Shame he wasn't born 10 days later.

_________________
Where's the Kaboom? I was expecting an Earth shattering Kaboom!


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 1:35 
User avatar
Isn't that lovely?

Joined: 30th Mar, 2008
Posts: 10910
Location: Devon
I guess I technically learnt that yesterday, didn't notice how late it was as! YIL!

_________________
Where's the Kaboom? I was expecting an Earth shattering Kaboom!


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 7:31 
User avatar
Noob as of 6/8/10

Joined: 6th Aug, 2010
Posts: 5296
Location: , Location, Location.
This is the first time I’ve ever seen someone use “TIL” or “YIL.”

I guessed TIL correctly, but had to Google for YIL.

So WHYLT?


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 7:58 
User avatar

Joined: 27th Mar, 2008
Posts: 25550
Warhead wrote:
This is the first time I’ve ever seen someone use “TIL” or “YIL.”

Really? I’m sure it’s used on Beex pretty frequently!

_________________
Image


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 12:27 
User avatar
Noob as of 6/8/10

Joined: 6th Aug, 2010
Posts: 5296
Location: , Location, Location.
Mimi wrote:
Warhead wrote:
This is the first time I’ve ever seen someone use “TIL” or “YIL.”

Really? I’m sure it’s used on Beex pretty frequently!

I suppose it's possible that I've seen them before but just ignored them on the assumption they were typos.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 13:10 
User avatar
Master of dodgy spelling....

Joined: 25th Sep, 2008
Posts: 22533
Location: shropshire, uk
i had to google them too..

_________________
MetalAngel wrote:
Kovacs: From 'unresponsive' to 'kebab' in 3.5 seconds


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 13:16 
User avatar
Unpossible!

Joined: 27th Jun, 2008
Posts: 38439
TIL that some people don't know what TIL means


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 13:24 
User avatar
Ready for action

Joined: 9th Mar, 2009
Posts: 8542
Location: Top Secret Bunker
DavPaz wrote:
TIL that some people don't know what TIL means

ELI5 ;)


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 13:33 
User avatar
UltraMod

Joined: 27th Mar, 2008
Posts: 55715
Location: California
Sal and I argue over what IMHO stands for.

_________________
I am currently under construction.
Thank you for your patience.


Image


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 13:38 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 3991
Location: Broseley
In my humble opinion?

_________________
i make websites


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 13:46 
User avatar
UltraMod

Joined: 27th Mar, 2008
Posts: 55715
Location: California
Jem wrote:
In my humble opinion?

Correct

_________________
I am currently under construction.
Thank you for your patience.


Image


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 13:47 
SupaMod
User avatar
Commander-in-Cheese

Joined: 30th Mar, 2008
Posts: 49232
IIRC it context drifted to honest over the years

_________________
GoddessJasmine wrote:
Drunk, pulled Craster's pork, waiting for brdyime story,reading nuts. Xz


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 13:58 
User avatar

Joined: 27th Mar, 2008
Posts: 25550
Mr Chonks wrote:
Sal and I argue over what IMHO stands for.

This is an odd one for me. If I was answering in a quiz I’d say the H stood for ‘humble’, but when I read it, I read it as ‘in my honest opinion’.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 16:22 
User avatar

Joined: 30th Mar, 2008
Posts: 14130
Location: Shropshire, UK
Jem and I have argued for ages about what IANAL means. She thinks it's something to do with lawyers, but whenever I say it she chases after me with a turkey twizzler.


Top
 Profile  
 
 Post subject: Re: Bits and Bobs 51
PostPosted: Tue Dec 01, 2020 16:31 
SupaMod
User avatar
Commander-in-Cheese

Joined: 30th Mar, 2008
Posts: 49232
:DD

_________________
GoddessJasmine wrote:
Drunk, pulled Craster's pork, waiting for brdyime story,reading nuts. Xz


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 2920 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 59  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: The Greys and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search within this thread:
You are using the 'Ted' forum. Bill doesn't really exist any more. Bogus!
Want to help out with the hosting / advertising costs? That's very nice of you.
Are you on a mobile phone? Try http://beex.co.uk/m/
RIP, Owen. RIP, MrC.

Powered by a very Grim... version of phpBB © 2000, 2002, 2005, 2007 phpBB Group.