These are chat archives for MontCode/GeneralChat

27th
Jun 2016
Mike
@dcpking
Jun 27 2016 00:22
@lantech19446 You're not writing in C now, Jonathan (C == "Write-Only Code")
David Castner
@davidjcastner
Jun 27 2016 00:25
@lantech19446 I appreciate the compliment, since if there's anything that I teach to people writing code, it would how to write clean & clear code
Robert Maylie
@rmaylie9560
Jun 27 2016 01:59
I definitely wouldn't of thought of writing that method recusively. Although I do try to keep variable scope as small as possible.
Lily Romano
@Lilyheart
Jun 27 2016 02:00
Whenever you don't know how deep you will need to go, it is pretty much needed.
Robert Maylie
@rmaylie9560
Jun 27 2016 02:54
Can you explain?
Lily Romano
@Lilyheart
Jun 27 2016 14:00
Sure! In steamroll, if you didn't have the test cases, you'd have no idea how far deep the arrays go. Maybe 2, Maybe 12. Like in factorial, you may only be doing ^6 or ^106. When writing the code, you don't know how deep you will need to go. Factorial you could for loop, but in steamroll not so much as in factorial you know from the onset how many. But in steamroll, until the code fully dissects the array, you'd never know how many dimensions the array has.
Hopefully that makes sense. Sleep was not so grand.
Robert Maylie
@rmaylie9560
Jun 27 2016 14:20
Perfect sense, thank you.
Lily Romano
@Lilyheart
Jun 27 2016 19:54
This won't stay running forever, but here is where I'm at in Colt Steele's bootcamp. Registration works (have to register before adding campgrounds or comments). Registration was just added so some things still need tweaking (e.g. author on comment add form). Other things don't work yet and just have placeholders, so no fussin' about that :p Overall really enjoying this. https://colt-steele-bootcamp-lilyheart.c9users.io/campgrounds
David Castner
@davidjcastner
Jun 27 2016 20:47
@Lilyheart what are you using for user accounts? I'm curious
You can see ALL the code in the github [Yes, I know even secrets are listed, I'm not really worried about it for this application... and regardless of that, the secret that is pushed isn't the same as the live one anyway :p )
can you create a user and poke around if you wish
David Castner
@davidjcastner
Jun 27 2016 21:25
nice, I'll have to look into it
Lily Romano
@Lilyheart
Jun 27 2016 22:53
When someone's Facebook account is 5 hours old, I am hesitant to approve...
David Castner
@davidjcastner
Jun 27 2016 22:59
@Lilyheart lol when was this?
Lily Romano
@Lilyheart
Jun 27 2016 23:34
@davidjcastner earlier today. I PMd you a link as I don't wanna call anyone out publicly.