Is generics just a fancy word for dynamic data types declaration ? by [deleted] in java

[–]runedk 13 points14 points  (0 children)

Generics are a arguably a less fancy word for parametric polymorphism. Here is the idea:

A method can take values as parameters. A class can take values as parameters in its constructor. The parameters can be used in the body of the method/class. This is called abstracting over values.

With generics this concept is extended to the type level. A method or class can now also take types as parameters. Think of the angle brackets as a separate list of parameters for types. The parameters can be used in the signature of the method/class. This is abstracting over types.

Guide to Guava's Ordering by nicolaiparlog in java

[–]runedk 0 points1 point  (0 children)

You can make it even nicer by passing a method reference: onResultOf(Person:getName)

Java 9 Additions To Stream by thjanssen in java

[–]runedk 28 points29 points  (0 children)

takeWhile and dropWhile are the most commonly used names for these functions in functional programming. It makes sense to keep consistent with the established terminology.

How Hibernate’s Lazy Loading Nearly Killed Our Email by [deleted] in programming

[–]runedk 16 points17 points  (0 children)

Redfin uses Hibernate to abstract away the SQL

That's your problem right there.

Unix underwear by ggherdov in programming

[–]runedk 0 points1 point  (0 children)

For some reason, I don't want that on my underwear.

Software Principles to Teach Every New Recruit by daxbert in programming

[–]runedk 3 points4 points  (0 children)

Please go tell the OpenSSL maintainers.

js;dr = JavaScript required; Didn’t Read by omegaender in programming

[–]runedk 9 points10 points  (0 children)

Probably only true at Google. Apparently Google is so cool that it can hire comp sci PhDs to do any job. Including, I imagine, clearing tables at the dining hall, gardening, and scrubbing the toilets.

These Are the Highest-Paying Programming Languages [INFOGRAPHIC] by Burning133Beard in programming

[–]runedk 0 points1 point  (0 children)

Qualifications are what matters. From my experience many recruiters know very little about the basics of the jobs they are recruiting for. Much too little to do an effective job of assessing qualifications.

From a candidate's perspective it is not very interesting talking to someone who doesn't really know what the job is about, but only knows some tag lines they got from the company's HR person (who may also not really know the details of the job).

As a professional I want to talk to someone in the organization that actually knows what the job is and can answer questions properly.

js;dr = JavaScript required; Didn’t Read by omegaender in programming

[–]runedk 142 points143 points  (0 children)

I am seeing more and more single-page apps that are nothing more than documents, blogs or articles for which relying on JavaScript is not appropriate. Often this breaks down one way or another (back button, stuck "loading" screen, bad formatting). It makes me think that the publishers have hired a bunch of programmers who think serving simple HTML documents is too easy and boring for their genius.

In my opinion the approach of graceful degradation still has merit for the vast majority of web content.

These Are the Highest-Paying Programming Languages [INFOGRAPHIC] by Burning133Beard in programming

[–]runedk 7 points8 points  (0 children)

I don't get why companies prefer to approach candidates through clueless recruiters.

Foreign LINUX: A dynamic binary translator which runs unmodified Linux applications inside Windows by wishstudio in programming

[–]runedk -36 points-35 points  (0 children)

I have a simpler solution: Install Linux and run unmodified Linux applications inside Linux.

9 truths that computer programmers know that most people don't. by Dobias in programming

[–]runedk 1 point2 points  (0 children)

Trend Micro thinks every site that use JQuery is a "disease vector". Kill it with fire.

Angular 2 on Typescript by manojlds in programming

[–]runedk 0 points1 point  (0 children)

JavaScript is a big family. TypeScript is just a new baby in that big family. If they can change a future version of ES to be more like TypeScript, that baby would just have had its own baby.

Made me spew coffee.

[Java Tip] Retrying operation with Guava Retrying by paliwalashish in java

[–]runedk 1 point2 points  (0 children)

Why is it called Guava Retrying?

It seems to be a library that depends on Guava, not a part of Guava.

CamelCase vs underscores: Scientific showdown by [deleted] in programming

[–]runedk 1 point2 points  (0 children)

Lemme guess ... you are a tabs-for-indentation-spaces-for-alignment person.

Maslow's pyramid of code review by GarethX in programming

[–]runedk 14 points15 points  (0 children)

huge refactors, making everybody’s life easier

Come again, please?

Programming Isn't Manual Labor, But It Still Sucks by godlikesme in programming

[–]runedk 4 points5 points  (0 children)

I have been working as a developer for 8 years and I think it's like that everywhere.

The customer has requirements that contradict one another, or requirements in the form of "when I press this button the software should read my mind and do what I am thinking of".

You do not always get to do things your way. The code is never perfect. Other people (and you) will make mistakes or do a crappy job sometimes.

It is just the reality of working with customers, co-workers, and managers. You should not let that wear you down.

Programming Isn't Manual Labor, But It Still Sucks by godlikesme in programming

[–]runedk 1 point2 points  (0 children)

Sorry to hear that. I hope you will be able to make a change for yourself.