|
Do at home programming tests are the worst unless they're textbook ones like codility just as a basic screener. Anything more than that and it's a great way for them to waste your free time while rejecting you for some minor thing that they may never even get back to you on. Shruges - what's your opinion on something like jooq instead of an orm?
|
# ? Sep 3, 2015 15:05 |
|
|
# ? Jun 5, 2024 20:15 |
|
if an interview doesn't go well, it just means that you're a bad fit for that company. it doesn't necessarily mean that you aren't competent. i overheard some rear end in a top hat at my company talking about how an interviewee didn't argue enough. apparently the guy thoughtfully considered alternate solutions rather than obstinately stuck to his own idea, and this was a bad quality to have in that group. (that group is toxic and i would hate to be in it)
|
# ? Sep 3, 2015 15:08 |
|
Come to think it s homework assignment for a job application wouldn't be that bad if it started small and had stages of code review for you to improve your solution to their discretion -- that never happens though, the whole thing is kinda dumb.
|
# ? Sep 3, 2015 15:12 |
|
Oh I'm not worried about being made fun of - my confidence as a developer is already shattered utterly by this along with the rest of the past year. There is not much lower to go and I'm starting to consider a career switch after I move back to the States. Anyway here's the code, original first (removing the boilerplate): code:
code:
|
# ? Sep 3, 2015 15:12 |
|
IMO the best answer is "oh, threading code, i'm not the right person to maintain this code. concurrency is a specialization that i don't have. concurrency should be handled by specialists". the first step to doing a bad job is to do a job that isn't yours.
|
# ? Sep 3, 2015 15:27 |
|
code:
Barnyard Protein posted:IMO the best answer is "oh, threading code, i'm not the right person to maintain this code. concurrency is a specialization that i don't have. concurrency should be handled by specialists". what about faking it 'til you make it?
|
# ? Sep 3, 2015 15:29 |
|
honestly though there is so much code stink in what they gave you, i don't know what they expected you to do. its either a stress-test to which there is no "right" answer, only degrees of failure, or an example of their code that you might have to work on. either way consider it a bullet dodged
|
# ? Sep 3, 2015 15:32 |
|
Barnyard Protein posted:honestly though there is so much code stink in what they gave you, i don't know what they expected you to do. its either a stress-test to which there is no "right" answer, only degrees of failure, or an example of their code that you might have to work on. either way consider it a bullet dodged
|
# ? Sep 3, 2015 15:33 |
|
Maybe they didn't like that you changed the indentation style? Or they felt package-private scope was good enough and felt insulted that you changed stuff to be private (like it should be). Or they really like the syntactic sugar of string concatenation and didn't like your fancy-pants use of a StringBuilder. Maybe they felt their use of a simple Runnnable was plenty and it didn't need the ExecutorService stuff. Or the logging stuff. I can see how some of that, if they didn't already know about it, could look out of the blue an unnecessary. Maybe they should be part of this thread!
|
# ? Sep 3, 2015 15:34 |
|
i'd say the most likely reason is that the startup programmer is an arrogant idiot (but i repeat myself...) for example, if I had severe dunning-kruger syndrome and wasn't aware of try-with-resources, I might think that you'd introduced a bug with not cleaning up the file writers. I also might get offended when you fixed parts of my lovely code that weren't intentionally lovely for the sake of the assignment. your rewrite is overall much improved and the criticism you actually received doesn't make much sense. -- as for my personal criticism of your code, that wacky indentation you used for fields is really bad (it looks kind of cool, but literally nobody wants to spend time maintaining that spacing...), and you should use a FutureTask or something else explicitly cancelable instead of wrangling interrupts yourself.
|
# ? Sep 3, 2015 15:35 |
|
Symbolic Butt posted:what about faking it 'til you make it? a good strategy iff you can make it before faking it causes a problem
|
# ? Sep 3, 2015 15:42 |
|
Jabor posted:as for my personal criticism of your code, that wacky indentation you used for fields is really bad (it looks kind of cool, but literally nobody wants to spend time maintaining that spacing...), and you should use a FutureTask or something else explicitly cancelable instead of wrangling interrupts yourself.
|
# ? Sep 3, 2015 15:48 |
|
you're doing fine, gently caress those guys.
|
# ? Sep 3, 2015 16:29 |
|
fleshweasel posted:you're doing fine, gently caress those guys. yeah, they handed you a pile of garbage and you cleaned it up a bunch. you're better off anyway, that's probably representative of what you would have been working with had they hired you.
|
# ? Sep 3, 2015 16:31 |
|
https://www.jetbrains.com/toolbox/
|
# ? Sep 3, 2015 17:27 |
|
upgrade discounts i guess. still, pretty cool for polyglots who can now use any of the tools for one price.
|
# ? Sep 3, 2015 17:36 |
|
fleshweasel posted:you're doing fine, gently caress those guys.
|
# ? Sep 3, 2015 18:48 |
|
java layman here, any reason whycode:
code:
|
# ? Sep 3, 2015 19:38 |
|
Those two methods are equivalent and they're both wrong. They should have put parentheses around the (result + whatever) part. Otherwise, the multiplication gets evaluated first and is always (31 * 1).
|
# ? Sep 3, 2015 20:17 |
|
quote:
|
# ? Sep 3, 2015 20:22 |
|
Kilroy posted:Oh I'm not worried about being made fun of - my confidence as a developer is already shattered utterly by this along with the rest of the past year. There is not much lower to go and I'm starting to consider a career switch after I move back to the States. i'm not sure that i would have used the CopyOnWriteArraySet, even just 10,000 - 100,000 members will probably start getting really slow but documenting your assumptions are good and i wouldn't have held it against you more like an interview question, "what happens if we have a million members?" you could probably just use memberId.hashCode() directly, multiplying it by a prime doesn't do much unless you're storing it in a hash set together with strings (i'm not sure if CopyOnWriteArraySet even uses hashCode(), but eh.) imo it would have been an improvement to make sure writer0 and writer1 logged the same string null checks should be in addMember and the Member constructor (throw an error), not in getMembersAsStringWith10xAge and hashCode. that's just some small nits i see, i don't think they played any part in your rejection
|
# ? Sep 3, 2015 21:31 |
|
since jetbrains is going subscription only, is there any way to make eclipse not look like a giant pile of poo poo?
|
# ? Sep 4, 2015 16:22 |
|
the best you can do is set the theme back to classic but thats it. theming is really the only thing I don't like about eclipse.
|
# ? Sep 4, 2015 16:27 |
|
Share Bear posted:since jetbrains is going subscription only, is there any way to make eclipse not look like a giant pile of poo poo? are they killing the community edition as well? that one suits my needs just fine
|
# ? Sep 4, 2015 16:55 |
|
gotta learn matlab. anyone know of a matlab book written for people who already know what a for loop is?
|
# ? Sep 4, 2015 17:19 |
|
Share Bear posted:since jetbrains is going subscription only, is there any way to make eclipse not look like a giant pile of poo poo? No. It is perma ugly. They put a dark theme in a while ago and it is a total joke.
|
# ? Sep 4, 2015 17:25 |
|
lol @ all the people getting mad about it going subscription
|
# ? Sep 4, 2015 17:36 |
|
Janitor Prime posted:are they killing the community edition as well? that one suits my needs just fine no
|
# ? Sep 4, 2015 18:14 |
|
My first three days have been pretty lovely. The team got given 2 grads because it was super understaffed with people leaving - and I can definetly see why people don't stick around
|
# ? Sep 4, 2015 18:15 |
|
coffeetable posted:gotta learn matlab. anyone know of a matlab book written for people who already know what a for loop is? how to use matlab: 1) bookmark this http://www.mathworks.com/help/matlab/ 2) remember that 'mat-' stands for 'matrix' 3) assume any function you're looking for already exists, don't stop looking for it till you find it or proof that it doesn't exist 4) throw matlab away
|
# ? Sep 4, 2015 18:16 |
|
get used to people mixing a lot of column matrices with row matrices and transposing all the time woo
|
# ? Sep 4, 2015 18:20 |
|
Got my first pull request declined today! Turns out that using existential types when there will literally never be more than two options is ""overkill"" and "phd code" Mostly I just wanted to see if using them was possible.
|
# ? Sep 4, 2015 18:23 |
|
gonadic io posted:"phd code" Well, they're not wrong I guess
|
# ? Sep 4, 2015 18:25 |
|
Look at this guy with his smart code...who does he think he is
|
# ? Sep 4, 2015 18:33 |
|
Valeyard posted:My first three days have been pretty lovely. The team got given 2 grads because it was super understaffed with people leaving - and I can definetly see why people don't stick around good luck with your.......... two years there
|
# ? Sep 4, 2015 18:33 |
|
Share Bear posted:since jetbrains is going subscription only, is there any way to make eclipse not look like a giant pile of poo poo? a UI designed by engineers is destined to be fail
|
# ? Sep 4, 2015 18:34 |
|
Power Ambient posted:a UI designed by engineers is destined to be fail idk man bridges seem pretty easy to use
|
# ? Sep 4, 2015 18:39 |
|
Share Bear posted:since jetbrains is going subscription only, is there any way to make eclipse not look like a giant pile of poo poo? subscription-only is the only sane way to pay for dev tools. it's not like the underlying tools your IDE integrates with are going to stop changing over time
|
# ? Sep 4, 2015 18:39 |
|
As long as they offer a cheap or free pristinely use/educational version then who cares, just expense that poo poo They're still keeping the free ultimate education version though right??
|
# ? Sep 4, 2015 18:42 |
|
|
# ? Jun 5, 2024 20:15 |
|
Valeyard posted:Look at this guy with his smart code...who does he think he is overcomplicated is absolutely not the same thing as good, I don't know how well my sarcasm came across but i agree with them in hindsight
|
# ? Sep 4, 2015 20:04 |