|
that's cool. lol ie has had html5 storage since ie5.
|
# ? Dec 12, 2013 23:28 |
|
|
# ? Jun 6, 2024 07:45 |
|
this week's lesson: data-driven unit testing owns. in particular, autofixture + nsubstitute has done great things for the maintainability of my unit tests
|
# ? Dec 13, 2013 17:40 |
|
does anyone here have opinions about moq? any tips and tricks? i think my lack of exposure to unit testing qualifies me for this thread for this subject...
|
# ? Dec 17, 2013 04:13 |
|
its syntax can be a little janky to get used to be i've used it at work for years and find it really handy. what specific tips and tricks do you have in mind? i picked it up by reading the examples mostly.
|
# ? Dec 19, 2013 23:43 |
|
one thing to note it's not as powerful as, say, rhinomocks. it can only mock interfaces and virtual methods since it uses code emission to generate the mock classes. but i find that to be a useful restriction since it keeps you from slinging hard dependencies around your code like a goddamn college student.
|
# ? Dec 19, 2013 23:49 |
|
Morkai posted:does anyone here have opinions about moq? any tips and tricks? i think my lack of exposure to unit testing qualifies me for this thread for this subject... my personal preference is nsubstitute, but that's mostly aesthetic
|
# ? Dec 19, 2013 23:57 |
|
we're using DI like grown ups... its the tool i have to use for the job, but if anyone here had a really compelling reason to switch to something else i could build a case. ive picked it up ok in the few days ive been working with it, just looking for things like "the docs say x but in the real world y is what you really want to do" type of stuff. thanks
|
# ? Dec 20, 2013 00:22 |
|
Morkai posted:i think my lack of exposure to unit testing qualifies me for this thread for this subject... as an aside from mocking framework stuff, i discovered http://autofixture.codeplex.com/ a few weeks back and it's fantastic. especially when coupled with a compatible unit testing framework + a mocking framework so you can do data-driven unit tests but i know nothing so maybe its actually poo poo and i havent realised yet
|
# ? Dec 20, 2013 00:28 |
|
i'm going to need lots of data driven tests for sure, thanks.
|
# ? Dec 20, 2013 00:37 |
|
if i download "eclipse standard", will i be able to do things like c++ by just intalling plugins, or does that only work in the special editions?
|
# ? Jan 2, 2014 19:48 |
|
prefect posted:if i download "eclipse standard", will i be able to do things like c++ by just intalling plugins, or does that only work in the special editions? you can just install the plugins normally. the special editions just come with the plugins built in
|
# ? Jan 2, 2014 20:01 |
|
Posting Principle posted:you can just install the plugins normally. the special editions just come with the plugins built in thanks; that's what i was hoping to hear, but couldn't find spelled out anywhere
|
# ? Jan 2, 2014 20:04 |
|
prefect posted:if i download "eclipse standard", will i be able to do things like c++ by just intalling plugins, or does that only work in the special editions? yes, but the c++ plugin is awful garbage, don't expect anything decent for non-jvm langs
|
# ? Jan 2, 2014 20:05 |
|
Brain Candy posted:yes, but the c++ plugin is awful garbage, don't expect anything decent for non-jvm langs i'm not doing any development -- i just have to get an idea of what's going on in order to get this weird third-party-created application to build (i think i actually know most of what i need from reading the ant build.xml file, but i'm told eclipse is going to be required)
|
# ? Jan 2, 2014 20:16 |
just use vim and command line mate
|
|
# ? Jan 2, 2014 20:35 |
|
my friend who writes java 'professionally' and i are working on a java project and he had me do eclipse because that's what they use at his job. our first day working together, he spent 4 hours trying to get eclipse to read our project because it kept loving up for some reason now we're using sublime
|
# ? Jan 2, 2014 20:36 |
|
java is seems okay but the super high level stuff is frustrating if you're the kind of person who learns best by 'doing.' we're going a spring thing and i have to google every annotation because it's impossible to follow the code otherwise
|
# ? Jan 2, 2014 20:38 |
|
USSMICHELLEBACHMAN posted:my friend who writes java 'professionally' and i are working on a java project and he had me do eclipse because that's what they use at his job. doesn't the lack of freely available source concern you?
|
# ? Jan 2, 2014 20:39 |
|
git clone trooper posted:doesn't the lack of freely available source concern you? freedom isnt free
|
# ? Jan 2, 2014 20:43 |
|
that's okay, no one except the 1st person who initiated the project really knows how to setup the/a dev environment anyways, and god forbid they didn't write the instructions down on how to duplicate it. I like sublime but getting eclipse or intellij to work would be beneficial for your javaing. Sublime/VimLOL are only acceptable if your language is a piece of poo poo with a piece of poo poo debug environment.
|
# ? Jan 2, 2014 20:45 |
|
idk I used to work in a django project and when a new coworker started to commit to the repository he hosed up the whole thing in so many ways because of eclipse. no kidding, I think it took him 3 days to get eclipse to not gently caress things up. and that's why I feel like eclipse smells bad. but if you tell me that the coworker was just exceptionally retarded I'll believe you.
|
# ? Jan 2, 2014 20:53 |
|
I'm glad that it's impossible to use something like Vagrant to set up a standard dev environment, that would make things way too boring.
|
# ? Jan 2, 2014 20:54 |
|
Symbolic Butt posted:idk I used to work in a django project and when a new coworker started to commit to the repository he hosed up the whole thing in so many ways because of eclipse. Probably just a dumb coworker. At my last job we used IntelliJ idea for all our dev stuff and it was pretty solid; big thing was just filtering out the workspace stuff that shouldn't be committed, making sure certain defaults *were* committed, and having a setup guide. It also helped that in over a year only one New person joined that team.
|
# ? Jan 2, 2014 20:55 |
|
MeruFM posted:that's okay, no one except the 1st person who initiated the project really knows how to setup the/a dev environment anyways, and god forbid they didn't write the instructions down on how to duplicate it. USSMICHELLEBACHMAN posted:my friend who writes java 'professionally' and i are working on a java project and he had me do eclipse because that's what they use at his job. Symbolic Butt posted:idk I used to work in a django project and when a new coworker started to commit to the repository he hosed up the whole thing in so many ways because of eclipse. look at all these non-mvn havers if you are too dumb to to use eclipse (s. butt, this is exceptionally dense), a smarter person configuring maven will incidentally configure eclipse for you if you install a single plugin.
|
# ? Jan 3, 2014 00:03 |
|
USSMICHELLEBACHMAN posted:my friend who writes java 'professionally' and i are working on a java project and he had me do eclipse because that's what they use at his job. eclipse should read a pom just fine. you must have hosed it up pretty bad
|
# ? Jan 3, 2014 00:14 |
|
Brain Candy posted:look at all these non-mvn havers I never used eclipse. I'll probably try it when I decide to learn java.
|
# ? Jan 3, 2014 00:21 |
|
Symbolic Butt posted:I never used eclipse. I'll probably try it when I decide to learn java. intellij idea is pretty good; if you're going to do java, take a look
|
# ? Jan 3, 2014 00:24 |
|
in comparison, every other configuration/build system is a frustrating pile of barely working hacks. because it is use maven
|
# ? Jan 3, 2014 00:25 |
|
Shaggar posted:eclipse should read a pom just fine. you must have hosed it up pretty bad i think he just didnt understand how to use git we were building with gradle which from my 1 minute of looking at it seems to be like a wrapper for maven maybe? idk
|
# ? Jan 3, 2014 00:27 |
|
USSMICHELLEBACHMAN posted:i think he just didnt understand how to use git gradle's pretty cool. it gives you a lot of the same behaviors people have come to expect from maven, but it's a lot easier to customize when you need to do something out of the ordinary (but if you're not doing anything out of the ordinary, maven does just about everything automatically)
|
# ? Jan 3, 2014 00:28 |
|
prefect posted:(i think i actually know most of what i need from reading the ant build.xml file, but i'm told eclipse is going to be required) using ant & c++ & IDE-based configuration, soon you will long for death
|
# ? Jan 3, 2014 00:30 |
|
Brain Candy posted:using ant & c++ & IDE-based configuration, soon you will long for death i'm already there. been there for a good long time now
|
# ? Jan 3, 2014 00:32 |
|
gradle is neat because i can do easy "give me version x.x of this jar" and build artifacts really easily, but i can also just run arbitrary groovy code. i like scons for the same reason
|
# ? Jan 3, 2014 00:33 |
|
Posting Principle posted:gradle is neat because i can do easy "give me version x.x of this jar" and build artifacts really easily, but i can also just run arbitrary groovy code. i like scons for the same reason idk, i've had a meh experience with scons. some things that should already be there don't exist because "lol, just write ten lines of python". if i look up something, and there's a wiki page on it with some simple code, maybe they should just freaking do it for me
|
# ? Jan 3, 2014 00:44 |
|
running arbitrary code is the worst part of any build system the genius ant and mvn is specifically that they are not just code. they are documents parsed by a tool that in turn does things. you don't gotta solve the halting problem to understand the project structure in a maven file i get that gradle and scons and sbt are aesthetically nicer to look at but i really don't want to be in the position of running arbitrary code to infer things about the project
|
# ? Jan 3, 2014 00:50 |
|
Brain Candy posted:in comparison, every other configuration/build system is a frustrating pile of barely working hacks. because it is welcome to the grown-up programmer club you can sit next to shaggar
|
# ? Jan 3, 2014 00:52 |
|
Notorious b.s.d. posted:welcome to the grown-up programmer club it is on this day of triumph i can finally say it i hate computers
|
# ? Jan 3, 2014 01:05 |
|
i just got some pythontools guff for visual studio and its bloody brilliant it lets u intellisense and explore ur code properly for python oh and proper VS debugging works. in ur python this is great because i have to understand and fix and improve some loving terrible idiot scientists lovely python program made with a loving UI generator and also write a huge report on why its super lovely scientists shoudl not be allowed to write code and btw the open sores python IDEs they recommend are loving garbage too hth but microsoft products make this ok. oh and the best bit is theres even a free VS version that works with pythontools for sperglord autists who hate paying for proper tools!!!!
|
# ? Jan 3, 2014 01:06 |
|
Mr SuperAwesome posted:scientists shoudl not be allowed to write code I'm really glad academia is moving to python because most of the code I got to work with till now wasn't really mind-numbingly bad. it's mostly silly like "hey what's this about modules? let me put the whole project in this hugeass file"
|
# ? Jan 3, 2014 01:27 |
|
|
# ? Jun 6, 2024 07:45 |
|
this thing is great its all in gigantic monolithic classes doing a million retarded different things that make no sense coupled with god awful scientist notation variable names are optional as is use of the english language, if we call it K everyone will know what we mean!!!!!
|
# ? Jan 3, 2014 01:48 |