Where to read Code? or Best practices to Learn Code?
-
@WrCombs said in Where to read Code?:
@Obsolesce said in Where to read Code?:
@scottalanmiller said in Where to read Code?:
@bnrstnr said in Where to read Code?:
You need an objective, and "learning" isn't it.
This is amazingly true. Coding is SO hard to learn "in a vacuum." But decently easy to learn when there is a reason.
I learned by thinking of some project to do as I learn. Figuring out things as you need as well.
If you know nothing at all about coding in any language - you're advice is " just go do it"?
Without even know the basic's of how to make something Print such as (in python3)print("Hello ML")
you don't think someone should atleast learn basics before starting on actual projects?
The thing is, while you do have to learn the basics, they apply to almost every other language as well.
IE: c code for your print statement is
printf("Hello ML");
Once you learn the logic to a programming language, learning other languages is mostly just a matter of how they want things formatted.
-
@WrCombs said in Where to read Code?:
@Obsolesce said in Where to read Code?:
@scottalanmiller said in Where to read Code?:
@bnrstnr said in Where to read Code?:
You need an objective, and "learning" isn't it.
This is amazingly true. Coding is SO hard to learn "in a vacuum." But decently easy to learn when there is a reason.
I learned by thinking of some project to do as I learn. Figuring out things as you need as well.
If you know nothing at all about coding in any language - you're advice is " just go do it"?
Without even know the basic's of how to make something Print such as (in python3)print("Hello ML")
you don't think someone should atleast learn basics before starting on actual projects?
also - Any ideas on a project i can work on with python? ( I took SAM's advice and started playing with Python - funny enough, It comes kind of naturally.
what software do you use to write code?
If I could start over with zero programming knowledge, I'd start with SoloLearn. Do several courses on there first.
On SoloLearn, do Python first IMHO, then at least two others. They are short and sweet and you won't regret it. It reminds me a little of DuoLingo.
-
@WrCombs said in Where to read Code?:
@Obsolesce said in Where to read Code?:
@scottalanmiller said in Where to read Code?:
@bnrstnr said in Where to read Code?:
You need an objective, and "learning" isn't it.
This is amazingly true. Coding is SO hard to learn "in a vacuum." But decently easy to learn when there is a reason.
I learned by thinking of some project to do as I learn. Figuring out things as you need as well.
also - Any ideas on a project i can work on with python? ( I took SAM's advice and started playing with Python - funny enough, It comes kind of naturally.
what software do you use to write code?
I got into python because I wanted to make a Raspberry Pi interact with the world, and python was the best way to do that (at least at the time.) Which reminds me, it's still sitting in my projects box
-
Start with the basics of programming first before trying to do something useful.
Got to learn the basics of variables, constants, conditional execution, subroutines etc before trying to apply it.
Aka structured programming.
Then you have to learn the basics of object-oriented programming, like classes, inheritance etc.
-
@WrCombs said in Where to read Code?:
Is HTML and CSS a starting place though?
In my opinion, take that for what its worth, html and css is not a good starting point. I say that because , to me, its just visual formatting and not programming. Its what people who consider themselves artists do in the tech world. Again, this is just my opinion, but of you want to learn programming do c, c++, python, or ruby. C is what Linux is based on if I remember right. C++ is systems programming. Python and Ruby are used for most everything else including web, scripting, and data science. Now those 4 languages all serve different purposes and each do things differently. So consider what might be interesting to you and try it out.
-
@WrCombs said in Where to read Code?:
what software do you use to write code?
Notepad!
Just kidding. But overall I like Visual Studio Code (but not for beginners or learners), Atom, Notepad++ and some people like PyCharm and Sublime.
-
@jmoore said in Where to read Code?:
C++ is systems programming.
System programming is almost always C, not C++. C is the big one that nearly everything big from Linux to Solaris to Windows to the big databases are written in. C++ is slower and sillier and while people say it a lot, almost no one actually uses it. It's dying away.
Where C++ used to make sense has been mostly replaced with some combination of Java, C#, Objective-C and Swift directly and loads of other languages indirectly.
-
@scottalanmiller said in Where to read Code?:
@jmoore said in Where to read Code?:
C++ is systems programming.
System programming is almost always C, not C++. C is the big one that nearly everything big from Linux to Solaris to Windows to the big databases are written in. C++ is slower and sillier and while people say it a lot, almost no one actually uses it. It's dying away.
Where C++ used to make sense has been mostly replaced with some combination of Java, C#, Objective-C and Swift directly and loads of other languages indirectly.
If you want to learn real programming I'd say knowing C is mandatory. Most
peopledevelopers I know can program a bunch of different languages. Most languages are just a variation of something older. -
@jmoore said in Where to read Code? or Best practices to Learn Code?:
@WrCombs said in Where to read Code?:
Is HTML and CSS a starting place though?
In my opinion, take that for what its worth, html and css is not a good starting point. I say that because , to me, its just visual formatting and not programming. Its what people who consider themselves artists do in the tech world. Again, this is just my opinion, but of you want to learn programming do c, c++, python, or ruby. C is what Linux is based on if I remember right. C++ is systems programming. Python and Ruby are used for most everything else including web, scripting, and data science. Now those 4 languages all serve different purposes and each do things differently. So consider what might be interesting to you and try it out.
I wouldn't start with C or C++, unless you really need to build programs that that take advantage of the benefits like better performance and memory handling, I'd go C# first otherwise.
-
Ideas for Practicing Python?
Im not sure what i can do to really get into it.. ya know? -
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
Ideas for Practicing Python?
Im not sure what i can do to really get into it.. ya know?Make it build a web page to calculate something you interested in.
-
@WrCombs This is what a lot of my friends who code for dropbox, weebly, etc strongly suggest in regards to python:
https://learnpythonthehardway.org/
I got it. It's written but it also has video/audio tutorials, etc. Pretty great.
-
@wirestyle22 said in Where to read Code? or Best practices to Learn Code?:
@WrCombs This is what a lot of my friends who code for dropbox, weebly, etc strongly suggest in regards to python:
https://learnpythonthehardway.org/
I got it. It's written but it also has video/audio tutorials, etc. Pretty great.
One day I'll get around to going through that course.
-
@EddieJennings said in Where to read Code? or Best practices to Learn Code?:
@wirestyle22 said in Where to read Code? or Best practices to Learn Code?:
@WrCombs This is what a lot of my friends who code for dropbox, weebly, etc strongly suggest in regards to python:
https://learnpythonthehardway.org/
I got it. It's written but it also has video/audio tutorials, etc. Pretty great.
One day I'll get around to going through that course.
It's very good. I wish I practiced more, I forget most of it but at the time I was very impressed with it.
-
@wirestyle22 said in Where to read Code? or Best practices to Learn Code?:
@EddieJennings said in Where to read Code? or Best practices to Learn Code?:
@wirestyle22 said in Where to read Code? or Best practices to Learn Code?:
@WrCombs This is what a lot of my friends who code for dropbox, weebly, etc strongly suggest in regards to python:
https://learnpythonthehardway.org/
I got it. It's written but it also has video/audio tutorials, etc. Pretty great.
One day I'll get around to going through that course.
It's very good. I wish I practiced more, I forget most of it but at the time I was very impressed with it.
I purchased the PDF of the Python3 course probably a year ago or so.
-
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
Ideas for Practicing Python?
Im not sure what i can do to really get into it.. ya know?Write a MadLibs program!
-
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
Ideas for Practicing Python?
Im not sure what i can do to really get into it.. ya know?Basically all raspberry pi projects are done in python. There are tons of websites out there that showcase peoples projects.
-
@scottalanmiller said in Where to read Code? or Best practices to Learn Code?:
Here you go, a rundown on why Python...
I probably posted in most of those how much I hate python...
-
I started with Learn Python the Hard Way. In order to get OOP I had to do a lot of playing with it. But after that it became natural to me and now I can't imagine how it took so long for me to get.
My first real personal project was a local job web scraper that posted to Facebook. When you go through learning material you should always have a project in mind/on the back burner that you can mentally (and then actually) apply what you are learning to.
-
@JaredBusch said in Where to read Code? or Best practices to Learn Code?:
@scottalanmiller said in Where to read Code? or Best practices to Learn Code?:
Here you go, a rundown on why Python...
I probably posted in most of those how much I hate python...
What language did you learn first?