Re:Ask HN: What topics/subjects are worth learning for a new...
by TableOnTheRug on Sunday September 16, 2018 @11:45PM
(#18003054)
Could you give an example of a simplified version of a real world problem?
Re:Ask HN: What topics/subjects are worth learning for a new...
by scarface74 on Tuesday September 18, 2018 @10:41AM
(#18015730)
The last time I was responsible for interviewing, the project I was working on dealt with a lot of data transformation - get data from various APIs and databases, transform it and store it somewhere else. This is all .Net and we were storing data in Mongo. So we were always working with lists of strongly typed objects.
One simple problem was given a list of users objects, create a list of the target object and generate a userid from the first initial, first four of the last name.
Then we had an algorithm for how to handle ID clashes. We had failing unit tests for all of the corner cases.
We were hiring contractors and paying them well so we made one of the requirements that you had to know LINQ and EF. Even though we weren’t using EF that often, Linq is Linq and linq queries work the same with in memory lists, EF, and the C# Mongo driver.
It was a requirement that they used Linq instead of foreach loops since Linq gets translated to Sql and MongoQuery instead of doing the processing in memory.
I had two job offers one time. One where the interviewer asked me how I solved real world problems and my experience and one where they wanted me to write a merge sort on the board.
Guess which job I took? I’m not going to be writing a merge sort in real life and I don’t waste my time learning algorithms and studying leet code. I solve real world problems using existing frameworks from the front end to cloud and on prem infrastructure.
Yes I have my geek credentials - started programming almost 35 years ago in 65C02 assembly, did bit twiddling in C for 12 years, etc. but I am way past wanting to reinvent the wheel.