|
Shaggar posted:my variables are properly named cause I use java conventions instead of p-lang conventions the funny thing is this is the best way to do things in p-langs too, if anything it's more important because you don't have the type system to at least give you a hint for what that variable is but it's not done every time because p-langers are dum
|
# ¿ Oct 10, 2013 21:23 |
|
|
# ¿ May 2, 2024 14:54 |
|
I like static typing too but c'mon dudes, if you pass the wrong type to a method by accident in python your unit tests will catch it anyway it's not that big a deal
|
# ¿ Oct 10, 2013 21:28 |
|
they can both be true tbc can genuinely like and appreciate php as a language and still troll all you about 2d9++++ welcome to yospos, everyone either has a gimmick or is fuckin boring and worthless
|
# ¿ Oct 15, 2013 04:43 |
|
Shaggar posted:guice is google which means it died in beta. don't use it. also you shouldn't have annotations related to spring in ur code. what guice is fine and will live on forever a mysterious ghost, haunting your constructors with spooky objects you can't find
|
# ¿ Oct 17, 2013 16:51 |
|
prefect posted:Just one reason why I get hives at the thought of letting developers touch production boxes. Doesn't Visual Studio have remote debugging built in anyway? My last job was at a windows shop and I seem to recall something like that existing.
|
# ¿ Nov 19, 2013 18:21 |
|
FamDav posted:its good for dumb langs that do it but the problem is nullable should never be the default. to be fair this is more depressing in a statically typed language than in a dynamically typed one in like python, the thing you expect to be a string might also be a Cheeseburger object, so the fact that it might also be None is not as big a deal but in java, I mean, poo poo dudes, if I wanted my inputs to be random things I didn't recognize I'd be writing python
|
# ¿ Jan 25, 2014 02:22 |
|
tbc was right, you want very broad booleans in a dynamically typed languagecode:
code:
|
# ¿ Jan 25, 2014 02:46 |
|
Jonny 290 posted:testing is hugely important and nobody wants to do it because you can't add those LOC counts to the finished project and bill the customer for them isn't this the whole point of unit tests? if you put the tests right next to the code, you can trick the developers into writing them, plus count them as part of the codebase! plus you feel really robust when you have to change 1000 tests that mock out your db when you change a bool into an enum
|
# ¿ Apr 23, 2014 01:43 |
|
there's a weird vibe going on that you write unit tests so that your code doesn't explode the golden gate bridge and kill hundreds you write unit tests because it's faster in the medium term than not writing them. "management" doesn't care about best practices, but what they do care about is three years down the line, Fuckface unit has happy customers and more rapid development, and Bitchass team can't find their rear end with both their hands, and guess why? unit tests this is especially true in dynamically typed languages, I have no clue how you'd write python without tests. unless you love seeing TypeError in your production logs I guess? note: I dunno if this applies to scrappy startups with two developers and it probably doesn't apply to games unless you're blizzard. but if you care at all about v2 you gotta write tests bro nrook fucked around with this message at 03:55 on Apr 24, 2014 |
# ¿ Apr 24, 2014 03:48 |
|
Spime Wrangler posted:nrook: unit tests are a different from big-E Engineering risk assessment and mitigation processes like FMEA yeah, that's what I wanted to make explicit, though it sounds like I failed unit tests (and integration tests too) are just something you do when writing good code. "engineering" is something different and more expansive
|
# ¿ Apr 24, 2014 04:22 |
|
Mr Dog posted:I bet that integrates terrificaly with your source control system (as long as it is Microsoft Visual Studio Team Foundation Server Professional 2013 for Cloud Application Architects Professional Edition (probably not even then)) or with unit testing or with continuous integration or with anything automated whatsoever. google is going in this direction standard conflict-of-interest disclaimer
|
# ¿ May 6, 2014 04:19 |
|
I dunno as someone who had no idea what git push origin :branch did it doesn't bother me either I mean, it's not like you would do that accidentally or even have it in your mental model, right? you'd just read about it somewhere and think "huh, that's weird. I guess it kind of makes sense but that's weird." but it's not going to limit anybody's comprehension of git
|
# ¿ May 8, 2014 03:10 |
|
yeah, actually that sounds cool, and helpful for basically any language
|
# ¿ May 25, 2014 04:07 |
|
qntm posted:shrinking empty lines is a cool and useful thing no matter what your brace style is yeah, I was going to make a smug python comment before I realized this helps python too, just to a lesser degree than it helps languages with braces really it just owns a whole lot next up: make parentheses real big, so they can literally encompass the relevant code? actually I'm not sure that one is a good idea also. p-langs are unbearable without unit tests to catch dumb errors (lol that that's necessary, but it's true). you have good unit tests right?
|
# ¿ May 25, 2014 22:24 |
|
fidel sarcastro posted:nope. no staging environment either. deploy and pray (for death). I wonder how many small modern/startup shops have unit tests I feel like the answer to this question would be really depressing or maybe unit tests are gonna become cool real soon! I gotta believe
|
# ¿ May 25, 2014 23:01 |
|
it’s terrible for chess analysis, since engines written in it only seem to find sharp lines
|
# ¿ Dec 15, 2021 21:02 |
|
I work on a medium sized production Python code base at work, and let me tell you: I lust for death.
|
# ¿ Jan 4, 2022 06:20 |
|
I got to tell a friend about for else recently
|
# ¿ Feb 22, 2022 02:02 |
|
in b2b the user whose experience you care about is the cto, and the department whose job it is to improve their experience is called sales. there are exceptions to this model (slack spread a lot through subaltern word of mouth) but they are rare
|
# ¿ Jun 15, 2022 14:39 |
|
Sapozhnik posted:https://lwn.net/Articles/900739/ - July 2022 - Native Python support for units? I read the first article and it seems like they didn’t do anything to the language as a result of the discussion? I’m not sure what you’re so mad about here
|
# ¿ Nov 18, 2022 18:28 |
|
my team at work used to use python for developer tools. we’re switching to go for new things (I lost the argument for java and tbh java is a dubious fit anyway because of start up latency). one guy thinks we should have picked c++ but while I really hate go, I don’t think I hate it that much
|
# ¿ Apr 18, 2024 20:34 |
|
|
# ¿ May 2, 2024 14:54 |
|
minidracula posted:Please do let me know how this... goes. ironically the thing I hate most about go isn’t actually a real problem with the language. rather, the house style for unit tests is this insufferable table-based approach, which creates irritatingly long and verbose parameterized tests. I do think the language is well-suited to devtools just insofar as it’s very straightforward, fast, but has garbage collection. But even so I’d rather be writing something else
|
# ¿ Apr 19, 2024 01:36 |