Live data from Hacker News

Show HN: Learn to Code for Free

upskillcourses.com

111–120 of 139 posts

Re: Show HN: Learn to Code for Free

#111

Earlier quoted context omitted.

What makes you think JS or PHP are "more simple" for that audience? There are plenty of Ruby jobs out there, and it's an elegant and well-designed language that's got a mature framework. Especially crucial for relative beginners: it doesn't have the flavor-of-the-week problem that JS does, nor is its most prominent example a legacy mess, as Wordpress is for PHP.

all most all of the web is written in PHP, a beginner can't understand how everything fits together by learning Ruby. With php you can literally insert it into HTML. For me is all about the big picture, Plus I think there are more jobs in PHP than Ruby

Well, and then you get people who insert php into html in production environments. Believe me, I've seen it more than once. I don't see how PHP is easier than Ruby. It's not Haskel, after all.

Re: Show HN: Learn to Code for Free

#112
This is great work. And (this is not a jab at the creator) a signal for me to move on from web development.

We are now at a similar point to knowing HTML in 1998 would land you a plum job; except it's now frontend frameworks. There's going to be tremendous downward pressure on wages in the next few years; especially in web development.

I recommend everyone who wants to stay competitive to move on to harder things or leverage whatever soft skills they have.

Re: Show HN: Learn to Code for Free

#113

Looking same kind of tutorial for PHP . BTW may i know which tool you have used for screen recording thanks

would be nice to find something like this for PHP

lynda.com has some great courses on php by the authors kevin skoglund & David Powers. These courses are not free though and they are mostly about php.You will find courses covering html,css,javascript and a lot more there too. PS I don't work for them I only like their work

Re: Show HN: Learn to Code for Free

#114
post #73
post #59

Earlier quoted context omitted.

I have three recommendations: Think Python : http://greenteapress.com/wp/think-python-2e/ Polya's How to Solve It : https://en.wikipedia.org/wiki/How_to_Solve_It Udacity's Design of Computer Programs : https://www.udacity.com/course/design-of-computer-programs--...

there's also Clean Coders: https://cleancoders.com/videos/programming-101 these videos are quirky (!) for sure, but filled with some real gems and a depth of perspective that's rarely found in other online courses. the link goes to a free video intended as an intro to the aspiring programmer. I'm posting this only because I've seen several of these videos and think they've got something special.

It's from the guy who wrote Clean Code and Clean Coder which are gems themselves !

Re: Show HN: Learn to Code for Free

#115
post #44
post #16

I see you make heavy use of Cloud9, glad to see that I'm not the only one using it as a learning sandbox environment. It is truly a great platform, I use it to introduce people to Linux (terminal, editing files, etc.) without the hassle of setting a virtualbox, installing any software in their computers, or risking my machines.

I tried it few weeks back and sadly they force you to add credit card to proceed. Few seconds of googling showed people using fake ones to circumvent it. Not really interested in that nor exposing card details.

I'm on the same boat. I don't feel comfortable sharing CC details for a free service I might be interested to try (even though I won't have much time until next year to do something), and doesn't seem fair "cheating" the system using a fake one.

Re: Show HN: Learn to Code for Free

#117
post #16

I see you make heavy use of Cloud9, glad to see that I'm not the only one using it as a learning sandbox environment. It is truly a great platform, I use it to introduce people to Linux (terminal, editing files, etc.) without the hassle of setting a virtualbox, installing any software in their computers, or risking my machines.

Do you have a website for your course? I'd love to check it out.

Oh sorry, I don't have a proper one, just when receiving new interns/researchers. Most of our research tools run on Linux but it is quite easy to destroy valuable data, so a c9 sandbox works wonders :)

Re: Show HN: Learn to Code for Free

#118

Earlier quoted context omitted.

Put the newbie gumshoes to work by tracking down simple bugs and designing simple patches to fix them. They need to be able to read other people's code to decipher and debug the coding style they are seeing before they are allowed to build any new module themselves. They need to understand other styles so they can form their own. They should be able to detect any code "smells" and reason with pros/cons why their impl…

>> They need to be able to read other people's code to decipher and debug the coding style they are seeing >> They need to understand other styles so they can form their own After 15 years of working professionally, I kindly have to disagree to a fair extent. It turns out that most - if not all - developers are not very good at writing clean code. Including (especially?) seniors who think they write the best code on…

Your advice here probably applies more to beginner programmers where the goal is to prevent them from just copying/pasting code and following bad practices. It's a good thing for them to learn to write things from scratch. I've been programming for a while and I've felt for a long time like my skills kind of plateaued. Writing things from scratch and reading a lot about design principles haven't really helped me improve at all. But lately I've started to read code, really read it to understand what it does and this has vastly improved my skills.

> There is a finite amount you can learn by reading other people's code. You might find specific idioms you admire and adopt, but you will not - and probably should not - try to conform to other developers' methods

From my own experience I disagree with this since reading other people's code has helped me improve a lot. I've noticed that I am so much more creative and intuitive about good software design when I go to write code now and I believe it is credit to reading code everyday

Re: Show HN: Learn to Code for Free

#119
post #40
post #11

Earlier quoted context omitted.

Can you give an example of solving a problem using code vs coding?

Parse this file and tell me the total of all $ amounts, and the line where we've reached 50% of the total $. How do you approach this problem and break it down. I've seen problems like this solved by looping through the file twice, because they answer one question at a time... But I'm hoping there is something out there that can teach the general process of breaking down the problem, identifying loops, identifying ge…

I have no idea if this works (it did for 3 test cases), and I still end up reading through the array (but not the file) twice.

  # assuming file with $100\n$200\n$23\n$50 etc.
  linenum_vals = []
  with open('numbers.txt') as input_file:
      for i, line in enumerate(input_file):
         try:
             linenum_vals.append([i, float(line[:-1][1:])])
         except ValueError:
             print("Not a number value on line", i)
  
  total = 0
  for i in linenum_vals:
      total += i[1]
  
  half = total/2.0
  
  for p in range(len(linenum_vals)):
      if linenum_vals[p][1] == half:
          print("Half of total found on line", linenum_vals[p][0])
          break
      else:
          if linenum_vals[p-1][1]  half:
              print("Half of total in between lines", p-1, p)
              break
          else:
              if p+1 != len(linenum_vals):
                  if linenum_vals[p][1]  half:
                      print("Half of total in between lines", p, p+1)
                      break
          print("Half of total wasn't found in the file.") # probably because the list of values isn't in order
          
What way would you do it? I feel like I'm missing something.

Re: Show HN: Learn to Code for Free

#120
post #4

I'm looking for courses that seem to be the opposite of this... no language or programming at all, but instead looking at the process of breaking down problems. We've hired several devs out of bootcamp, and they're all taught how to code, but not how to solve problems using code... Anyone have material that might be good for this? Books, videos, courses?

How to Design Programs is written to address this issue. From the preface: The typical course on programming teaches a “tinker until it works” approach. When it works, students exclaim “It works!” and move on. Sadly, this phrase is also the shortest lie in computing, and it has cost many people many hours of their lives. In contrast, this book focuses on habits of good programming, addressing both professional and vo…

As an accompaniment, the "How to Code: Systematic Program Design" series at edX: https://www.edx.org/course/how-code-systematic-program-desig...

is based on HtDP and uses Racket.

Post reply on HN