New to programming, need some basic info.


 
Thread Tools Search this Thread
Top Forums Programming New to programming, need some basic info.
# 1  
Old 12-01-2011
New to programming, need some basic info.

So, I'm actually new to programming, and thought some basics would be really benefiting to me, I'm not really asking to be spoon-fed with everything you know, I just need some info to show where should i start, I can figure the rest by myself, but really am in doubt about which programming language i should use as a first one, I've been thinking about using python, since a friend recommended it, but some people also recommended me Java, and, since my roommate broke his computer i've been asked, more like forced really to install windows, so there's my second question, is there any difference if i run Ubuntu on a virtual machine? also, is any Linux distribution better or worse for this task? thank you in advance, and sorry if this thread isn't in the right place :D
# 2  
Old 12-01-2011
Few programmers really restrict themselves to one language, since they all have their strengths and weaknesses.

Java is useful, but also fairly strict and rigid; you get less choices about the way you write your programs. You're forced to use OOP and nothing but OOP since literally everything is an object. You're forced to use try/catch since so most things don't bother returning errors any other way. And so-on. It's a whole lot to learn at once just to make the simplest possible program.

I haven't managed to come to grips with Python myself. The way whitespace is actually important in Python code is pretty unusual in a programming language.

Perl is pretty popular and powerful and has lots of modules available. It's also kind of eccentric, being a weakly-typed language with complex data structures and OO.

I'd actually suggest shell scripting, with a modern shell like BASH, so you can get yourself acquainted with variables, arrays, loop structures, functions, and I/O without having someone's pet programming methodology crammed down your throat.

---------- Post updated at 04:47 PM ---------- Previous update was at 04:42 PM ----------

Shell scripting doesn't have data structures though, unfortunately, and can't do a lot of things directly. So once you've learned the basics you could try a more flexible language like C. Properly-written C code can work on lots of different systems.

This is the book I remember most from my college days. I kind of regret giving it away now.

---------- Post updated at 04:49 PM ---------- Previous update was at 04:47 PM ----------

If Ubuntu will work on a virtual machine for you, that'll be good enough for teaching purposes, and better than things like Cygwin which still technically run inside Windows. Might not be the best for teaching though, it's autoconfiguration is a bit overzealous. Perhaps Fedora or SuSe?
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 12-01-2011
Bug thanks

you helped me a lot, i should be able to figure out what to do now, just gotta keep trying :D
# 4  
Old 12-02-2011
I forgot to link the advanced bash scripting guide. I still use it all the time, particularly the 'list of tables' section
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. IP Networking

A Basic example of socket programming in C

Hello, I have a question about socket programming The question was a homework of this university of past (2011?) course. The server is simulating a sensor that provides readings of temperature, light and humidity (temp.dat, light.dat, humid.dat) each with single column of number, one per row. ... (6 Replies)
Discussion started by: yifangt
6 Replies

2. UNIX for Dummies Questions & Answers

Basic System Info Template

If your boss ask you to create a template for all UNIX systems. Max 10 questions of the system. What would you put down? The system can be any UNIX flavor. Some examples: 1. system name 2. OS 3. ETC What would be for you the most important and relevants. (2 Replies)
Discussion started by: 300zxmuro
2 Replies

3. Solaris

Can I restore from a flash archive without re-entering the basic sys info?

Hi I would like to be able to take adhoc backups of my systems using flash archive - flarcreate - and then restore from them to the same system without having to enter the basic configuration again when I boot from the Solaris CD. So, I'd like to be able to create a flar archive ... (1 Reply)
Discussion started by: emjs
1 Replies

4. Programming

basic socket programming

Hello experts, four machines need to communicate with each other. How can I start the socket programming. Can you please explain me more elaborated way. Thank you for your time and effort in advance (4 Replies)
Discussion started by: radhakuna
4 Replies

5. UNIX for Advanced & Expert Users

The best way to skin a cat OR how do I get file system info on the most basic level?

Hi, We have an FTP server (vsftpd) running on Linux, that I've kinda built a "Data Management" system around. I could use some ideas as to the best way to handle/create "triggers" for file notifications. Internal users drag 'n drop files from their Windows boxes to the server via Samba... (2 Replies)
Discussion started by: mph
2 Replies

6. UNIX for Dummies Questions & Answers

basic Server info on Mac os x

Hi how do i look at the basic server info through terminal on mac. I have the username and password for a web server and i am assigned to add a new url to the web server, but i have no idea where to start. how do i check what kind of server it is? how do i get the DNS information? most... (0 Replies)
Discussion started by: mj330
0 Replies

7. UNIX for Dummies Questions & Answers

Good source of X11 programming info?

Is there a good book or something on practical programming in X11? I have the O'Reilly X window system book set. They don't seem to cover the nuances very well (at least for me). So far the only thing I find on the web is the text from these books. Specifically, I'm looking for optimization... (2 Replies)
Discussion started by: willil
2 Replies

8. UNIX for Dummies Questions & Answers

basic server info

I'm so new to sys admin work that my ears haven't dried yet. Here's my question: what scripts are available to gather pkginfo, prtdiag, and volume info? I need to gather this type of info from 18 servers of various types: oracle db servers, license servers, nis masters and slaves, etc.... (2 Replies)
Discussion started by: antalexi
2 Replies
Login or Register to Ask a Question