Author Topic: Learning A New Programming/Scripting Language  (Read 5747 times)

0 Members and 1 Guest are viewing this topic.

Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
Learning A New Programming/Scripting Language
« on: October 29, 2013, 01:31:58 am »
    I have been browsing around the forums for a little while now and I have realized that some people seem to say, 'Well I don't know this language, let's find a way to do it in another language.', and I think to myself, 'Why? This is a PERFECT opportunity to learn that language because you have a need and a use for it, and that is the best way to learn one!'. So here I will create a short post on how I usually start learning another language.

Tip 1 - Find a use for the language. If you never figure out something that you think, 'Hey that language would be amazing for this project!', you're never going to be motivated to use the language in question. For example; 'I really want to program something to access my schools database from my desktop to see my grades whenever I type in "./grades", that would be so easy and neat!'.  In that case you could use a variety of different languages, Python or PHP as well as a few others, but if you already know PHP could try your hand at doing it in Python.

Tip 2 - Syntax. In many, many programming languages syntax can be very similiar. Take C, Java, C++, and C# for example. Their syntax is very similar when you look at them. They all have primitive types that you have to declare before a variable, therefore naming it to that type. This makes it very easy for a Java programmer to look at C++ code as long as they know a little bit of the C++. So try and take your knowledge from other languages and port it over to the language you are trying to learn.

Tip 3 - Use Google! Google is your friend when you are learning a new language. A simple search of 'Ruby Tutorials' brings up a plethora of good tutorials on the web. Personally, I like YouTube videos because I am a 'hearing' kind of thinker. You know what I mean if you're a social engineer. Don't you try anything on me brother. Anyways, you may like other ways so think of how you like to learn. If you're a reader check out Amazon or our eBook section here at EZ. If you're a visual or hearing thinker look into YouTube or some other media site.

Tip 4 - Know your limit and don't give up. I know that when I started learning Java, my first real programming language, I was so so intimidated by it. int? long? byte? WHAT? When you start thinking like that it's normally a good time to take a break for a bit. Go for a hike or walk the dog. Do a bit of studying if you're in school. Most of these things (minus the studying ;) ) will help clear your head up a bit for your next attempt to dive into the next tutorial/book/video.

Tip 5 - Have fun! Learning a new programming/scripting language should be fun, not a drag. If you find you forcing yourself to open up the IDE or notepad or gedit (As pointed out by vezzy, notepad and gedit are not good editors at all. Agreed.) it is normally a good time to look at Tip 4. To add a little variety to the boring old varA = 10, varB = 20, use different variable names but make sure they still make sense! The reason I say this is because if you have a really large program with many variables, having random names is going to really confuse you.

There are five tips that I use whenever I start learning a new language, I hope they help you as they do me. Now get out there and learn a new language! Have fun! Prosper!
-cMp
« Last Edit: October 29, 2013, 03:17:57 pm by Matriplex »
\x64\x6F\x75\x65\x76\x65\x6E\x00

Offline vezzy

  • Royal Highness
  • ****
  • Posts: 771
  • Cookies: 172
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #1 on: October 29, 2013, 02:53:37 am »
2). Most imperative languages do have a similar syntax largely due to descending from the ALGOL model. C# does have primitive types.

5). Poor choice of editors.
Quote from: Dippy hippy
Just brushing though. I will be semi active mainly came to find a HQ botnet, like THOR or just any p2p botnet

Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #2 on: October 29, 2013, 02:59:20 am »
Edited appropriately, thanks.
\x64\x6F\x75\x65\x76\x65\x6E\x00

Offline Raavgo

  • Peasant
  • *
  • Posts: 88
  • Cookies: 12
  • On my way from a n00b to a PRO
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #3 on: October 29, 2013, 03:25:17 am »

5). Poor choice of editors.


Some nice editors:
notepad++ (though it is Windows only as far as I remember)
Sublime text
Code::Blocks (nice C and C++ Editor)
Eclipse (Java mainly but I use it for python as well)


There a lots of editors out there but these  my favourite ones.


Offline vezzy

  • Royal Highness
  • ****
  • Posts: 771
  • Cookies: 172
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #4 on: October 29, 2013, 03:37:01 am »
Sublime Text is proprietary software.

The latter two are IDEs.
Quote from: Dippy hippy
Just brushing though. I will be semi active mainly came to find a HQ botnet, like THOR or just any p2p botnet

Offline Raavgo

  • Peasant
  • *
  • Posts: 88
  • Cookies: 12
  • On my way from a n00b to a PRO
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #5 on: October 29, 2013, 03:53:21 am »
Sublime Text is proprietary software.

The latter two are IDEs.


Proprietary Software? Could be that this is the case, but you can still use it as far as I remember

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #6 on: October 29, 2013, 09:42:04 am »
All in all you make good points here. If one already knows how to program (and I mean you should really know it), trying out other languages is a must. If one is still a beginner it might backfire.

thenewboston is really a bad recommendation. He teaches bad habits, he teaches you wrong stuff (because he has no clue about the languages himself). It will take much more time to get rid of your false assumptions you get by learning from him, than learning it right in the first place.
Give me one Java tutorial of his and I will point out all the errors in there.

Quote
but make sure they still make sense!
Quote
in the beginner tutorials he names variables and methods/functions stuff like banana and apple, because why the hell not?

Because they don't make sense. (Not to mention that he ignores the Java code conventions)
« Last Edit: October 29, 2013, 09:45:42 am by Deque »

Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #7 on: October 29, 2013, 03:14:41 pm »
Good point actually Deque, I'll remove thenewboston piece. I actually learned Java beginning with his tutorials but I did definitely realize later that they taught me bad habits.
\x64\x6F\x75\x65\x76\x65\x6E\x00

Offline vezzy

  • Royal Highness
  • ****
  • Posts: 771
  • Cookies: 172
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #8 on: October 29, 2013, 03:28:43 pm »
Proprietary Software? Could be that this is the case, but you can still use it as far as I remember

Please educate yourself on what proprietary software is and the ethical issues surrounding it before spewing such stupidity again.
« Last Edit: October 29, 2013, 03:29:01 pm by vezzy »
Quote from: Dippy hippy
Just brushing though. I will be semi active mainly came to find a HQ botnet, like THOR or just any p2p botnet

Offline Raavgo

  • Peasant
  • *
  • Posts: 88
  • Cookies: 12
  • On my way from a n00b to a PRO
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #9 on: October 29, 2013, 03:53:55 pm »
Please educate yourself on what proprietary software is and the ethical issues surrounding it before spewing such stupidity again.

I'm not sure why you are pissed that much...
I know what proprietary software is I just don't understand why its a big deal though.
Basicly I just said you could use it and it is a great tool. (If you use it or not is up to you)
I never said it was open source.

Offline vezzy

  • Royal Highness
  • ****
  • Posts: 771
  • Cookies: 172
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #10 on: October 29, 2013, 04:19:29 pm »
I know what proprietary software is I just don't understand why its a big deal though.
[...]
I never said it was open source.

You're on a forum for hackers and you don't think proprietary software is a big deal? It's pretty much the antithesis of everything hackers stand for.

Please don't use the term "open source" as the opposite of proprietary. It's free software. Learn the nomenclature already.

https://www.gnu.org/philosophy/proprietary.html
https://www.gnu.org/philosophy/free-sw.html
https://www.gnu.org/philosophy/open-source-misses-the-point.html
Quote from: Dippy hippy
Just brushing though. I will be semi active mainly came to find a HQ botnet, like THOR or just any p2p botnet

Offline Raavgo

  • Peasant
  • *
  • Posts: 88
  • Cookies: 12
  • On my way from a n00b to a PRO
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #11 on: October 29, 2013, 07:05:45 pm »
You're on a forum for hackers and you don't think proprietary software is a big deal? It's pretty much the antithesis of everything hackers stand for.

Please don't use the term "open source" as the opposite of proprietary. It's free software. Learn the nomenclature already.

https://www.gnu.org/philosophy/proprietary.html
https://www.gnu.org/philosophy/free-sw.html
https://www.gnu.org/philosophy/open-source-misses-the-point.html


I understand your point of view, I really do.
Still it is a very good editor and lot of coders like it (even some hackers as u can see here http://evilzone.org/hacking-and-security/(cracked)-sublime-text-2-0-2-linux-evilzone-crack/)
I don't want to point it out as THE editor I just wanted to contribute to this post.
Even if you don't like proprietary software you have to admit its a good editor.
But I am eager to learn and open for any good free text editor for Windows/Linux


Offline geXXos

  • Royal Highness
  • ****
  • Posts: 646
  • Cookies: 178
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #12 on: October 29, 2013, 11:29:08 pm »
Partially i agree with you vezzy, all though your behavior was kind of rude and unfair toward Raavgo since he did not said something stupid, and he is a good member.

And i am saying that cause you are using exceptionally well the English language (much better than some native speakers), and i am sure you could find a different way to show him your disagreement.

Anyway i think, the proprietary/free software/open source debate, is a bit hypocritical. Open source software may empowers the user, but also bares a lot of "drawbacks", some simple are not reliable, no qualified support available, cause there is little or no money put into development, can easily become outdated etc. Also the most of the people are not tech-savvy's to build on an open source software, and no free online community gives the support that a company you pay does. Exceptions do exist though.


Please don't use FOSS examples like nginx, onion, orbot etc., (those some of the best FOSS for 2013), there are big company's that backup those software with money, money and advertisement rule our world.


I believe that developers have the right to use licences on their software, and even ask money for them, i hate it when i see people  to disrespect the "free licences" of other peoples code/software, and gain credit and money in some cases with someone else's work.


I admire and i am greatfull  to the devs that build free software, some of the best software are actually free. But if i can afford to buy something that is worth it i will, and i wont complaint that i gave money, neither i will say '' Oh!! this is against my 'hacker' ideology, i will not use it " ofc, if i can i will break it and share it, but that's another story.


Also we are not all hackers inside here.


To the topic, i think Sublime Text is great editor, but Notepad++ is much better for me, the only reason to use ST is if someone works to different environment's since ST works on win, mac, and linux, with no any modification.
« Last Edit: October 29, 2013, 11:52:07 pm by geXXos »

Offline vezzy

  • Royal Highness
  • ****
  • Posts: 771
  • Cookies: 172
    • View Profile
Re: Learning A New Programming/Scripting Language
« Reply #13 on: October 30, 2013, 12:22:08 am »
Free software is free in the sense of freedom, and not necessarily in price. One can still make a profit off it, using various business models.

Not all free software licenses are copyleft like the GPL. Some, like the BSD licenses, allow for the software to be used in proprietary settings as well. In fact, the reason you can surf the web today on Windows and OS X is because the permissive terms of the FreeBSD license allowed the inclusion of their TCP/IP stack into the former two proprietary operating systems.
Quote from: Dippy hippy
Just brushing though. I will be semi active mainly came to find a HQ botnet, like THOR or just any p2p botnet

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Learning A New Programming/Scripting Language
« Reply #14 on: October 30, 2013, 08:09:50 am »
« Last Edit: October 30, 2013, 08:10:00 am by Kulverstukas »