News for hackers. Stuff that matters.
Re:The Programming Interview from Hell by IronWolve on Tuesday September 07, 2021 @12:33AM (#28440959)
I was asked to do some bash programming for a linux admin gig, was able to do them all with 1 liners in bash with sed/perl/awk, which is how I would do it on linux. They didnt like that, real world experience, how strange.
Re:The Programming Interview from Hell by 908B64B197 on Monday September 06, 2021 @04:09PM (#28437501)
It's interviewing season I guess, so we'll see these posts complaining about interviews and algorithm questions for a few months.
Re:The Programming Interview from Hell by esseeayen on Tuesday September 07, 2021 @10:05AM (#28445019)
I don’t agree with the Big O notation question as useless to know. I once had a programmer that had come from marketing background who taught himself to code. Could get things started but when he had to do a data processing job he used jq in bash because “nothing is faster than bash” then wrote his code in On^n which took days to run. When I tried to explain that it was inefficient the way he was doing it because it had to iterate over and over for each entry and explained algorithmic complexity and how to do it faster and wrote up some quick code in python he got in a huff and tried to proclaim “nothing is faster than bash”.

For those who may assume the system was memory/storage limited and that’s why it was written that way, no we had enough memory and storage.

Re:The Programming Interview from Hell by stefanos82 on Monday September 06, 2021 @04:32PM (#28437750)
I laughed like a dork! ^_^ cheers, I needed it!
Re:The Programming Interview from Hell by shantnutiwari on Tuesday September 07, 2021 @04:21AM (#28442334)
Thanks!
Re:The Programming Interview from Hell by black_13 on Tuesday September 07, 2021 @02:38AM (#28441655)
Interviewed with Bose in framingham mass i had the flu 3 hour interview with 7 people im grateful they passed
Re:The Programming Interview from Hell by nine_zeros on Monday September 06, 2021 @08:33PM (#28439593)
If interviews were real.

Oh wait!

Re:The Programming Interview from Hell by commandlinefan on Monday September 06, 2021 @05:21PM (#28438241)
> The only time linked lists come up is in interview questions.

Only if you don’t know what they’re for and when they’re useful. You can speed up Java a lot if you instantiate LinkedList instead of ArrayList when you can get away with it.

And you’re definitely not hired.

Re:The Programming Interview from Hell by siproprio on Monday September 06, 2021 @07:40PM (#28439318)
Java programmer:

Instantiates an array cus' it's faster!

Use case: random access to list elements.