A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

Pretty much a beginner here

1.4k views · started by piercednipples ·
#1
Pretty much a beginner here
Alright i'll keep my post short and sweet
Ive been absent from the scene for years and have essentially forgotten everything i've ever learnt
Now im starting from scratch again and im looking for advice.
What languages do i have to learn for general programming.
Im guessing C, Python, PHP & Bash
also where should i start

And thanks in advance guys i really appreciate it
#2
Depends what you want to program.
#3
anything and everything.
I started on gaia ages ago back when i frequented CP
learning vulnerabilities, finding backdoors etc.
i have a thirst for knowledge at the moment and want to test myself
i want to get back into the '1337 Haxors' scene.
Not to destroy or steal or anything of the sort
just because i can
#4
Go with Python. You can't go wrong there.

Bash is more of a supplemental language than anything else. It's not really relevant unless you just want to write shell scripts to automate tasks and such.

PHP for web even though I personally wouldn't recommend it--it's just the simplest choice for a novice. C if you need to go more low-level and are looking for a more powerful, compiled language.

Edit: I personally recommend that you just start with Python and go from there. It's an excellent beginner's language with the perfect blend between power and simplicity, so you probably won't need to go to C immediately. Afterwards start building on your general knowledge and foundation of different core programming concepts and techniques. If you need other languages for certain niches thereafter, then apply your knowledge of Python to gain a better understanding of the discrepancies and similarities between the languages.

Once you learn one, learning the other(s) is relatively easier.
#5
And of course, post on LG if you have any questions or issues in the future. I'm sure someone would help you out.
#6
@the Unintelligible - Thank you for your reply. I will do as you have advised and see where it gets me.
Do you have any links or sources where you would say a beginner should start?
#7
@the Unintelligible - Thank you for your reply. I will do as you have advised and see where it gets me.
Do you have any links or sources where you would say a beginner should start?


Read Learn Python the Hard Way by Zed Shaw. It's a pretty eminent book among readers. Either buy it or find the eBook somewhere. You also can read the standard Python manual for documentation on the standard library (SL) and general gotchas and how-to's. Or you could just read tutorials or something, whatever works best for you.

But the best way to learn is to simply get your hands dirty early and often by practicing and coding. These resources can probably aid you in that.

Again, if you have any questions or anything feel free to post them.
#8
Also I recommend that you start with version 2.7 simply due to ubiquity and predominance in terms of compatibility and available libraries. But you can go with which ever you think fits you best. There isn't a significant difference between versions.
#9
Ive gone for 2.7
Thanks for the info im looking into it.
Oh i found a site called codeacademy.com
they have interactive lessons that teach the basics of
-javascript
-CSS and HTML
-Python (which ive nearly completed, lord this is easy)
-Ruby
-JQuery
and code year
#10
I recommend Ruby. I began with _why's lovely guide he wrote before his disappearance. I haven't been using ruby too long myself, but I really like the language, it's really simple and pretty to program in, where as Python is fucking hideous; although, Python is more concise. And ruby is only getting more and more beautiful as I continue to learn it.
#11
_hylia wrote:
I recommend Ruby. I began with _why's lovely guide he wrote before his disappearance. I haven't been using ruby too long myself, but I really like the language, it's really simple and pretty to program in, where as Python is fucking hideous; although, Python is more concise. And ruby is only getting more and more beautiful as I continue to learn it.


Oh man, Ruby bahaha. It's practically a dead language, I don't know anyone who programs it, online or off haha. I do have a picture you'd like though, from when Ruby was still popular haha. I'll upload it when I get on my other computer.
#12
Oh man, Ruby bahaha. It's practically a dead language, I don't know anyone who programs it, online or off haha. I do have a picture you'd like though, from when Ruby was still popular haha. I'll upload it when I get on my other computer.


Ruby is a beautiful language, I know a few people that use it. And I'll be waiting.
#13
Do you and Flare know each other by chance @ _hylia?
#14
Do you and Flare know each other by chance @ _hylia?

Doubtful. I can't say for sure though.
#15
RoR is still pretty fucking popular.
#16
Artificial wrote:
RoR is still pretty fucking popular.


I currently have no interest in RoR, I am happy sticking w/ Ruby for now. My interest towards RoR may change, however.
#17
_hylia wrote:
I currently have no interest in RoR, I am happy sticking w/ Ruby for now. My interest towards RoR may change, however.


Yeah, although RoR is a web development framework and platform, so it shouldn't really appeal to populaces outside of that category. If you are however interested in web development with Ruby, then RoR is the way to go.

Ruby is general purpose, but it's pretty odd to see it being used as a primary language rather than a glue language or web language. Python is definitely more practical in regards to being a more general purpose language.
#18
Yeah, although RoR is a web development framework and platform, so it shouldn't really appeal to populaces outside of that category. If you are however interested in web development with Ruby, then RoR is the way to go.

Ruby is general purpose, but it's pretty odd to see it being used as a primary language rather than a glue language or web language. Python is definitely more practical in regards to being a more general purpose language.


Actually I really like web dev. But for my web based ruby programs I can just use Sinatra.
#19
_hylia wrote:
Actually I really like web dev. But for my web based ruby programs I can just use Sinatra.


True. Probably a more lightweight alternative. Sinatra is actually a pretty popular web framework. I have no idea about pros and cons of the both, but since they're both fairly popular I assume both are decent and robust frameworks.
#20
True. Probably a more lightweight alternative. Sinatra is actually a pretty popular web framework. I have no idea about pros and cons of the both, but since they're both fairly popular I assume both are decent and robust frameworks.


Ruby is full of lightweight alternative's to be honest. I really like that. I approach different things with different methods, even if it can be done with a different method. Instead of using an actual http request on my Yahoo Checker I used the open-uri feature to view the printed response of a url (Thus being a lightweight alternative to using the http request) I haven't really used Sinatra much, to be honest. I'm focusing on http requests right now.
#21
_hylia wrote:
Ruby is full of lightweight alternative's to be honest. I really like that. I approach different things with different methods, even if it can be done with a different method. Instead of using an actual http request on my Yahoo Checker I used the open-uri feature to view the printed response of a url (Thus being a lightweight alternative to using the http request) I haven't really used Sinatra much, to be honest. I'm focusing on http requests right now.


Yep.

But yeah, they're all HTTP requests in essence. A web request is pretty much the only standard way to retrieve the response from the server. It's just a different library/implementation. It's probably more lightweight because the only element to it is viewing the response of the URL.

That's cool and all that you're focusing on http requests and whatnot though. Good luck.
#22
Yep.

But yeah, they're all HTTP requests in essence. A web request is pretty much the only standard way to retrieve the response from the server. It's just a different library/implementation. It's probably more lightweight because the only element to it is viewing the response of the URL.

That's cool and all that you're focusing on http requests and whatnot though. Good luck.


Well, I believe learning http request is a fundamental you should learn to understand using when you start any programming language, as you'd get nowhere without them in reality.
#23
_hylia wrote:
Well, I believe learning http request is a fundamental you should learn to understand using when you start any programming language, as you'd get nowhere without them in reality.


Somewhat true. Depends on your objectives really. Communicating with web applications would require some form of knowledge of client/server and HTTP requests naturally. So yeah if this is someone's purpose then you definitely would get nowhere without them. Bot making for instance.

Do you create bots perhaps?
#24
Somewhat true. Depends on your objectives really. Communicating with web applications would require some form of knowledge of client/server and HTTP requests naturally. So yeah if this is someone's purpose then you definitely would get nowhere without them. Bot making for instance.

Do you create bots perhaps?


A bot is practically just an http request and a loop, so I can. But I haven't actually wrote any yet, just small tools. I intend on writing a Dumpster Dive bot though. I might do that tonight, actually.
#25
_hylia wrote:
A bot is practically just an http request and a loop, so I can. But I haven't actually wrote any yet, just small tools. I intend on writing a Dumpster Dive bot though. I might do that tonight, actually.


Sounds nice. Good luck & have fun man.

The only problem you should face is the login. Which is pretty much a non-problem at this point considering it isn't particularly hard to create a login or port existing logins to your language of use like Artificial's and Stapled's.