|
motorola was actually a relatively agile shop but the paperwork was 110% waterfall so what we would do is sneak out deploys every other week and then every quarter we had to collude with walmart and lie on our reports to make it look like big waterfall projects
|
# ? Feb 27, 2015 19:48 |
|
|
# ? May 10, 2024 07:31 |
|
Jonny 290 posted:motorola was actually a relatively agile shop but the paperwork was 110% waterfall so what we would do is sneak out deploys every other week and then every quarter we had to collude with walmart and lie on our reports to make it look like big waterfall projects also known as the 'college' methodology
|
# ? Feb 27, 2015 20:51 |
|
tef posted:comments are the things you would say in a code review, they are there as apologies to your future self. this is good, this is how i use them. // lmao i determined this constant experimentally, hopefully it doesnt vary from board to board // i have no fuckin idea what this does, sorry if it ever matters // there was a bunch of poo poo here but it was commented out and looked old so i deleted it???
|
# ? Feb 27, 2015 20:56 |
|
fart simpson posted:i dont actually like it, we're just institutionally incapable of doing anything else so it's easier to go with the flow it's easier to leave the institution.
|
# ? Feb 27, 2015 21:07 |
|
fritz posted:seriously? I'm using it in a project I'm working on now, that'll be something to keep in mind from looking through it while trying to figure out how to port over random functionality the slowdown seems to be because a big chunk of the template functions do something like this for every single variable: code:
e2 : i wonder if the slowdown is a vc compiler thing and other better compilers would optimize Number out due to it being a init-from-const whose value never changes bucketmouse fucked around with this message at 04:21 on Feb 28, 2015 |
# ? Feb 27, 2015 22:28 |
|
protip entering MY poo poo IS hosed FIX MY poo poo tickets every 20 minutes and sending me MY poo poo IS hosed FIX MY poo poo emails every 20 minutes and posting MY poo poo IS hosed IS ANYONE ELSE'S poo poo hosed? on our forums every 20 minutes doesn't help me unfuck your poo poo any faster
|
# ? Feb 27, 2015 22:48 |
|
I have to force myself to comment more because I never got me into the habit (heh self-documenting code amirite? ) but recently I noticed that I really got into sprinkling TODO comments everywhere. I'm not sure if this is good or irritating for someone else reading the code
|
# ? Feb 27, 2015 22:55 |
|
do you ever get to the DO part? I see it in some code and I just wonder why the person didn't just do them.
|
# ? Feb 27, 2015 23:11 |
|
Symbolic Butt posted:I have to force myself to comment more because I never got me into the habit (heh self-documenting code amirite? ) i love going through old company code and seeing TODO comments that are five years old. guess they never got around to it! another good one is seeing //BUG BUG BUG!!! sprinkled throughout
|
# ? Feb 27, 2015 23:19 |
|
MeruFM posted:do you ever get to the DO part? usually its because they wanted to do the essential part while it was clear in their head and then cover the corner cases later. then you go home for the weekend, and you come in monday and theres some crisis that requires your immediate attention, and ...
|
# ? Feb 27, 2015 23:21 |
|
MeruFM posted:do you ever get to the DO part? I'd say that I never do 30% of them. at the time it seemed like an important thing but then later it's like "eeeh this is not really important, but I'll leave it here anyway because I like to hoard poo poo"
|
# ? Feb 27, 2015 23:27 |
|
Bloody posted:// there was a bunch of poo poo here but it was commented out and looked old so i deleted it??? why do people still leave that kind of poo poo lying around even though the project is in version control? we've got one at work, I call him the code hoarder.
|
# ? Feb 28, 2015 00:04 |
|
Stringent posted:why do people still leave that kind of poo poo lying around even though the project is in version control? i do it all the time because I think if i go searching through my copies in version control that I wont find it/remember where it is
|
# ? Feb 28, 2015 00:33 |
|
Stringent posted:why do people still leave that kind of poo poo lying around even though the project is in version control? i leave in log statements commented out cause im lazy as poo poo and its easy to uncomment them when something is being weird actual code though, never checked in commented logic or i hope i havent anyway
|
# ? Feb 28, 2015 02:04 |
|
sometimes my version control is copyin and pastin poo poo around.
|
# ? Feb 28, 2015 02:19 |
|
Bloody posted:sometimes my version control is copyin and pastin poo poo around. src src_new src_newer src_useme
|
# ? Feb 28, 2015 02:20 |
|
Luigi Thirty posted:src
|
# ? Feb 28, 2015 02:26 |
|
Luigi Thirty posted:src old/old/oldold/src version control circa 1997
|
# ? Feb 28, 2015 03:27 |
|
bucketmouse posted:old/old/oldold/src quote:36. According to Mr. Spearritt, on two occasions (one in late 1996 or early 1997 and the other in August 1997) he requested Mr. Hinkley to backup all source code on Redrock's A2BNT1 UAM server. This occurred after Mr. Hinkley was unable to make a change to SPFS because he was unable to locate all the source code. In his witness statement dated 16 July 2000 (Exhibit H 16) Mr. Spearritt said:
|
# ? Feb 28, 2015 03:42 |
|
that language is impenetrable, what the hell actually happened, i'm not going to spend precious minutes deciphering it without context
|
# ? Feb 28, 2015 04:28 |
|
like what the gently caress, at least link to it, now i'm curious and i can't find what you're quoting from
|
# ? Feb 28, 2015 04:29 |
|
Snapchat A Titty posted:i leave in log statements commented out cause im lazy as poo poo and its easy to uncomment them when something is being weird that's different I'm talking like dozen line blocks just sitting there commented out
|
# ? Feb 28, 2015 04:31 |
|
Snapchat A Titty posted:This evidence demonstrates the confusion caused by Mr. Hinkley's failure properly to clarify his understanding of the status of the library notwithstanding that he was specifically directed to back up all source code in circumstances where the inability to access it had meant that changes could not be made to SPFS. Here was the perfect opportunity for Mr. Hinkley to explain to Redrock, if his position was then as he now contends, that in requiring him to back up the library or (which, as Mr. Hinkley must have realised, Redrock necessarily assumed was the same thing) to back up "each piece of production software", Redrock was requiring him to back up something copyright in which resided with Mr. Hinkley. is that english?
|
# ? Feb 28, 2015 04:47 |
|
if you have some poo poo you worked on in more than one sitting and it's not source controlled then welp
|
# ? Feb 28, 2015 05:39 |
|
Jonny 290 posted:motorola was actually a relatively agile shop but the paperwork was 110% waterfall so what we would do is sneak out deploys every other week and then every quarter we had to collude with walmart and lie on our reports to make it look like big waterfall projects i love it when a plan comes together
|
# ? Feb 28, 2015 05:44 |
|
lots of poo poo in so many broken places gets done through a conspiracy, and it is fun to do nice one jonny
|
# ? Feb 28, 2015 05:44 |
|
prefect posted:is spring mvc something that could be considered "ruby on rails", but for java? it's just as much a wannabe WebObjects as Ruby on Rails or ASP.NET MVC is
|
# ? Feb 28, 2015 08:46 |
|
jony ive aces posted:but i like how it helps if you use a language like Smalltalk, Objective-C, or Swift, or even Common Lisp or Python, where the language actually supports keyword arguments at some level so you can have "syntactically significant" comments.
|
# ? Feb 28, 2015 08:48 |
|
Dessert Rose posted:that language is impenetrable, what the hell actually happened, i'm not going to spend precious minutes deciphering it without context its from the hotline (the 90s mac bbs/piracy app) case i bolded relevant lines but yoscss makes that virtually impossible to see quote:Mr. Hinkley was unable to make a change to SPFS because he was unable to locate all the source code so pretty much literally source19950204new.zip
|
# ? Feb 28, 2015 09:55 |
|
Snapchat A Titty posted:i leave in log statements commented out cause im lazy as poo poo and its easy to uncomment them when something is being weird your log statements are supposed to stay in period, not commented out at all. then you just configure the logger according to how much detail you need at the time and it enables/disables them for you without you having to touch the source code.
|
# ? Feb 28, 2015 14:01 |
|
the only thing wrt logging is that you have to be careful about avoiding things that cost resources even when a logging statement is for a lower level than configured. ex: C# code:
C# code:
Even if your project is small getting into the habit of using string format style logging (or just string formatting in general) is a good idea cause it becomes second nature and you just avoid the problem entirely. Similarly if you have some expensive operation involved in debugging you can surround it with a filter to prevent its use when it should be filtered ex: C# code:
C# code:
|
# ? Feb 28, 2015 17:37 |
|
Shaggar posted:the only thing wrt logging is that you have to be careful about avoiding things that cost resources even when a logging statement is for a lower level than configured. thank u Shaggar for this informative post. as a fledgling c# programmer this is v good to know. Shaggar is also in my autocorrect dictionary now
|
# ? Feb 28, 2015 17:45 |
|
Shaggar posted:Similarly if you have some expensive operation involved in debugging you can surround it with a filter to prevent its use when it should be filtered Why couldn't you do C# code:
Does C# execute calculateHash() and then passes the result to logger.debug or does it pass the unexecuted function?
|
# ? Feb 28, 2015 21:41 |
|
'agile' means a million different things and is almost a meaningless word now but developing software iteratively and in a bunch of prioritized small steps of actually working software w/ a feedback loop is generally a better idea than a giant bike-shedding big design up front with little feedback during a long period of development
|
# ? Feb 28, 2015 22:45 |
|
A better method for debug logs of expensive operations in c#:code:
|
# ? Feb 28, 2015 22:48 |
|
this is great until some gently caress puts a side effect in a log statement
|
# ? Feb 28, 2015 22:52 |
|
Note that the above would require something like:code:
code:
code:
comedyblissoption fucked around with this message at 23:37 on Feb 28, 2015 |
# ? Feb 28, 2015 22:54 |
|
tef posted:this is great until some gently caress puts a side effect in a log statement Note that since C# has overloading, you can always provide an ILogger.Debug that takes actual strings and not lazy strings. Using a lazy string as an overload of the ILogger.Debug for expensive computations is a better approach than requiring everyone to always remember to wrap their logger.debug in an if conditional.
|
# ? Feb 28, 2015 22:58 |
|
bikeshedding megathread
|
# ? Feb 28, 2015 23:01 |
|
|
# ? May 10, 2024 07:31 |
|
comedyblissoption posted:Note that the above would require something like: this is what i was thinking. forgot about the Func type
|
# ? Feb 28, 2015 23:05 |