Best products from r/dailyprogrammer

We found 25 comments on r/dailyprogrammer discussing the most recommended products. We ran sentiment analysis on each of these comments to determine how redditors feel about different products. We found 18 products and ranked them based on the amount of positive reactions they received. Here are the top 20.

Top comments mentioning products on r/dailyprogrammer:

u/Aswole · 2 pointsr/dailyprogrammer

Not sure how serious you are, but I was inspired to get better at RegEx when someone solved this problem that someone dedicated an entire project to in one line of regex. After a bit of research (not too much, as a lot of people pointed to it), I bought Mastering Regular Expressions. I'm reading it on and off, and about 30% of the way through, but even after a hundred pages or so, I felt so much more comfortable with them. Already applying a lot to solving work problems, and able to read expressions constructed by others much more comfortably. I highly recommend.

u/Skyler827 · 2 pointsr/dailyprogrammer

Honestly, http://dartlang.org has all you need to get started. Dart is essentially just java, but optimized for the client-side web and compiling to javascript, so it doesn't depend on classes, supports more functional methods, and has nice/easy to use systems for asynchronous functions and concurrency. You can compile it to javascript and use web apis, but you can also use it from the command line and use the file/networking/os apis.

A book that helped me was Learning Dart by Dzenan Ridjanovic.

u/Nichdel · 1 pointr/dailyprogrammer

I'm a Linguistic BS student, but I've taken many CS classes as a minor and greatly enjoyed them. There's a lot of programming that you don't learn easily from just doing.

The book from that class was this one. Note that it's a CS book, not a programming book, and so a lot of it is based on a knowledge of discrete structures and mathematics (at least a good deal of algebra). Before I took that class I had to take a class that used this book, which is based more-so on logic and discrete mathematics than anything else.

You won't learn to program from those books. What you will learn is the fundamentals behind the data structures and algorithms that every major language is based on. When I learn a new language, I find myself understanding the various data structures very quickly because I have theoretical background. My friend who has a more IT-oriented background from a different college usually has to learn the details of new languages by analogy, and it seems to take him some time.

u/nickwtf · 4 pointsr/dailyprogrammer

I'm just finishing up a book now called The Well-Grounded Rubyist. This is one of the best introductory language books I've read. I'd recommend it most for someone who has some familiarity with other OO languages. Moves fast.

u/whoisjuan · 1 pointr/dailyprogrammer

I would add Secrets of a JavaScript Ninja, written by John Resig (the creator of jQuery). An amazing resource with a nice philosophical approach about JS.

u/Jutanium · 4 pointsr/dailyprogrammer

Head First C# is a great book. That, and C# in a Nutshell taught me everything I needed to know.

u/mod_a · 1 pointr/dailyprogrammer

Go/Golang

https://github.com/bryfry/dpc197

I had a bit of fun with this. Implemented:

  • ISBN-10 validation
  • ISBN-10 check digit calculation
  • ISBN-10 amazon lookup
  • ISBN-10 neighbors (10) calculation & lookup

    Example output:

    dpc197 $ source env_example.sh

    dpc197 $ go run isbn.go -i 0761174427 -n
    Checking for valid ISBN: 0761174427
    ISBN-10: 0761174427 www.amazon.com/Unlikely-Loves-Heartwarming-Stories-Kingdom/dp/0761174427
    ----- Neighbor ISBNs -----
    0761174400 www.amazon.com/Hero-Dogs-2014-Wall-Calendar/dp/0761174400
    0761174419 www.amazon.com/Unlikely-Heroes-Inspiring-Stories-Courage/dp/0761174419
    0761174427 www.amazon.com/Unlikely-Loves-Heartwarming-Stories-Kingdom/dp/0761174427
    0761174435
    0761174443
    0761174451
    076117446X
    0761174478
    0761174486 www.amazon.com/Moms-Family-2014-Desk-Planner/dp/0761174486
    0761174494 www.amazon.com/Lego-Calendar-2014-Workman-Publishing/dp/0761174494
    ----- ----- ----- ----- -----

    dpc197 $ go run isbn.go -i 076117442X -n
    Checking for valid ISBN: 076117442X
    Not Valid ISBN-10: Invalid check digit: expected (7) received (X)
    Looking up expected ISBN-10: 0761174427
    ISBN-10: 0761174427 www.amazon.com/Unlikely-Loves-Heartwarming-Stories-Kingdom/dp/0761174427
    ----- Neighbor ISBNs -----
    0761174400 www.amazon.com/Hero-Dogs-2014-Wall-Calendar/dp/0761174400
    0761174419 www.amazon.com/Unlikely-Heroes-Inspiring-Stories-Courage/dp/0761174419
    0761174427 www.amazon.com/Unlikely-Loves-Heartwarming-Stories-Kingdom/dp/0761174427
    0761174435
    0761174443
    0761174451
    076117446X
    0761174478
    0761174486 www.amazon.com/Moms-Family-2014-Desk-Planner/dp/0761174486
    0761174494 www.amazon.com/Lego-Calendar-2014-Workman-Publishing/dp/0761174494

u/PinkyThePig · 3 pointsr/dailyprogrammer

Full blown guide/reference:
http://www.gnu.org/software/bash/manual/bashref.html

Books:
http://www.amazon.com/Classic-Shell-Scripting-Arnold-Robbins/dp/0596005954/ref=cm_cr_dp_asin_lnk
http://www.amazon.com/Learning-bash-Shell-Programming-Nutshell/dp/0596009658

Tips:
man test (manual pages for test). Gives a nice list of not so obvious commands that can be run to test for various conditions. Examples include seeing if a file exists, doing greater than, less than, seeing if a file is readable etc.
help (running it from the shell). Dumps syntax and such for a lot of common commands. Helps if you forget syntax or are trying to discover new commands.

u/chucky_z · 1 pointr/dailyprogrammer

For anyone who wants to go beyond 'this is a select... this is an insert... this is a join..' check out this book:

http://www.amazon.com/Joe-Celkos-Smarties-Fourth-Edition/dp/0123820227

He always follows the SQL standard, but... some things don't implement it, so everything in this books is not guaranteed to work with all (or even any) RDBMS.

u/someskatevideos · 1 pointr/dailyprogrammer

I'm actually reading an Objective-C book The Big Nerd Ranch Guide, because my goal is to create iPhone apps. The first chapters are on C, though. Link.

u/SunshineBiology · 2 pointsr/dailyprogrammer

Hey! I'm not a senior or something but I have a tip for you (might sound a bit contradictory to what you've been learning in school/uni). I would try to cut down on the comments.

A lot of your comments are just restating exactly what the code says. For example

//Create an array of four structs - one for each tax band
struct taxBand taxBands[4];

Everything your comment says is already said by the code itself. The comment thus does not add meaningful information and just clutters up the code.

Even worse, you add maintenance problems to it: if you have to change the code in the future (let's say we get a new tax scheme and now there are 5 tax brackets), you have to change the code AND the comment. If you forget this at some point (happens easily), the comment will now even give wrong information about the code.

Generally, try to use comments not to describe code, but to describe your intention or very tricky parts about your code. You can also refer to the Google Code Styleguide if you have further interest. Clean Code also has a good segment about it.

The rest seems fine. As an additional exercise, you should probably try not to hardcode going through the taxbrackets, but try to write it in a more general way. At the state your programm currently is, if new tax brackets were added, you would have to write (copy-paste) additional for-loops as you did in

//If the income is more than the upper limit of band 1, but less than band 2, work out how much income is taxable and multipy it by the band 2 tax rate. Add the result to the tax variable
else if(income < taxBands[1].upperLimit){
tax += (income - taxBands[0].upperLimit) * taxBands[1].rate;
}

You can try to rewrite that section so it does not depend on the total number of tax brackets :)

If you have questions, feel free to ask!