The Big Programming Thread - Page 2
Forum Index > General Forum |
Thread Rules 1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution. 2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20) 3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible. 4. Use [code] tags to format code blocks. | ||
alexpnd
Canada1857 Posts
| ||
icystorage
Jollibee19343 Posts
| ||
Adeny
Norway1233 Posts
| ||
TanGeng
Sanya12364 Posts
Monkeys thoughtlessly banging out garbage? Modules that would take longer to fix than to write from scratch? *Yawn* Bad coders are a dime a dozen and outnumber good coders by at least 10 to 1. They are of course 1% as productive. | ||
gdroxor
United States639 Posts
| ||
SnowFantasy
4173 Posts
On July 08 2010 00:01 Adeny wrote: It would be cool if you could update the OP with websites like cplusplus.com, nehe's tutorials, w3 schools etc. Because every thread like this always has someone who's kind of interested, and wants to see what it's about. Yeah I kind of would be interested but don't know exactly where or how to start. I guess what language(s) should someone start learning if they have no experience programming at all? A while back I started looking into this stuff and if I remember right Python or C/++ were good starting points. Seemed like it was recommended by a few people to get a little experience with C before working with C++. Are they good? | ||
tofucake
Hyrule18923 Posts
| ||
Adeny
Norway1233 Posts
On July 08 2010 00:12 SnowFantasy wrote: Yeah I kind of would be interested but don't know exactly where or how to start. I guess what language(s) should someone start learning if they have no experience programming at all? A while back I started looking into this stuff and if I remember right Python or C/++ were good starting points. Seemed like it was recommended by a few people to get a little experience with C before working with C++. Are they good? IMO, since most languages are loosely/not-so-loosely based on C/++, that would be a good starting point. That said, I've gotta recommend starting with C++. The only complains I see about starting there, is the difficulty. However, in my experience, C++ is as difficult as you make it. The people recommending starting with C then moving to C++... I don't see any benefit. C++ has everything C has, and most of it is more intuitive imo. However C doesn't touch any of the more important, modern coding techniques (OOP), that most other languages are based on today. C++, Java, C#, Ruby, Python, VB.net, PHP and Perl (among many other's I'm sure, just listing the popular ones) are all OO to some extent or another. So in conclusion, start with C++, it teaches you the basics of every language, then move from there where you see fit as you get more experience. | ||
tofucake
Hyrule18923 Posts
| ||
cgrinker
United States3824 Posts
| ||
Adeny
Norway1233 Posts
On July 08 2010 01:35 tofucake wrote: IIRC VB.Net stems from the FORTRAN tree (all BASIC comes indirectly from FORTRAN, I think), not from the C tree. The problem is that all .Net languages compile to MSIL, which means they are all essentially the same language. You are right but the .Net version has had OOP features added, and all I said was that it had OOP and is relatively widely used, not that it stemed from C. | ||
fusionsdf
Canada15390 Posts
On July 08 2010 00:12 SnowFantasy wrote: Yeah I kind of would be interested but don't know exactly where or how to start. I guess what language(s) should someone start learning if they have no experience programming at all? A while back I started looking into this stuff and if I remember right Python or C/++ were good starting points. Seemed like it was recommended by a few people to get a little experience with C before working with C++. Are they good? I would say java...it does a lot of stuff like memory management and is similar syntax-wise to C++, so I would make that my path (Simple programming in java->feel confident->switch to c++ and absorb the differences). Most Jobs iirc want c++ or java anyways. But feel free to study along the spectrum. I've worked in/studied C (+ Assembly on an old 68000), C++, Java, PHP, Javascript, haskell and prolog. Currently I'm studying haskell (almost no companies use it) and embedded C (interested in AI, not embedded stuff) as well as of course AI. I find learning to program and solve problems in any language/environment helps greatly in all languages, since you are really figuring out the optimal way to arrange things in your head, and then in the program to solve your problem. This is especially true between declarative languages and between functional languages (cross over can be tricky...then you have all the hybrids and type strength differences...) In any case, this is just the ramblings of a junior programmer. The point is unless you are starting a job tomorrow there really is no wrong language to start with. I personally reccomend C++/Java over the functional languages. | ||
tofucake
Hyrule18923 Posts
Anyway, it was by far the most helpful thing I've ever done in regards to leaning a language. I learned exactly where the biggest bottlenecks are, how data is stored in various parts of memory, and a lot of other optimization things that many tutorials and lessons (from online) never even think about possibly mentioning (typically they just say "do this, it's better"). So, my advice is to spend $100k to go to a great University and take a Systems Architecture class. | ||
Pawsom
United States928 Posts
On July 08 2010 02:08 tofucake wrote: The most helpful language I've learned was one I built. In Systems Architecture at my University I designed a CPU in VHDL (an incredibly annoying language), and built the thing with a FPGA. The processor was a 32-bit pipelined RISC CPU, which made it quite simple (there were 18 total instructions, I believe...but it's been a few years since I did it). After a bit of finagling, I got Asteroids and Pacman running on it. Anyway, it was by far the most helpful thing I've ever done in regards to leaning a language. I learned exactly where the biggest bottlenecks are, how data is stored in various parts of memory, and a lot of other optimization things that many tutorials and lessons (from online) never even think about possibly mentioning (typically they just say "do this, it's better"). So, my advice is to spend $100k to go to a great University and take a Systems Architecture class. This man speaks the truth. I'm currently working at an internship that deals with a lot of low-level embedded programming. Understanding how a language disassembles and uses memory is such a strong asset that fewer and fewer high level java web programmers have these days. | ||
nath
United States1788 Posts
On July 07 2010 22:39 haduken wrote: I'm very interested in how .NET people implement a good credential management system in a SQL server and clients setup. e.g. a login system with user name and passwords. If someone would offer some tips on that, I would be very interested. ASP.NET is pretty solid at doing that, although to be honest I'm an anti-NET programmer generally so I'll let someone else help you with that. Do it in PHP seeing as its web based xD | ||
tofucake
Hyrule18923 Posts
[edit] Please ignore the fact that I learned BaSH and perl in University. | ||
haduken
Australia8267 Posts
On July 08 2010 02:13 nath wrote: ASP.NET is pretty solid at doing that, although to be honest I'm an anti-NET programmer generally so I'll let someone else help you with that. Do it in PHP seeing as its web based xD Yeah, I've already have plenty of ideas but I'm more after best practice so to speak. .NET is extremely confusing at architectural level. (Maybe I'm just a Linux tard). | ||
Ahseyo
Sweden80 Posts
| ||
tofucake
Hyrule18923 Posts
| ||
mmp
United States2130 Posts
Some important sites to start with: http://cplusplus.com/ http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/ http://docs.python.org/tutorial/ http://docs.python.org/library/ http://w3schools.com/ Some advanced sites: http://api.prototypejs.org/ http://docs.djangoproject.com/en/1.2/ The UNIX paper (for folks who don't know about 'nix): http://cm.bell-labs.com/cm/cs/who/dmr/cacm.html The O'Reilly books are very good but not free. A good call when you want thoroughness and quality for some less-than-mainstream technologies. On July 08 2010 00:01 Adeny wrote: It would be cool if you could update the OP with websites like cplusplus.com, nehe's tutorials, w3 schools etc. Because every thread like this always has someone who's kind of interested, and wants to see what it's about. +1, Nehe's site is very good for getting started with OpenGL but his source is very amateur (he admits this) and shouldn't be copy-pasted verbatim. http://www.opengl.org/code/ and http://www.opengl.org/sdk/docs/man/ are good places to visit once you have a feel for the API. There should be a disclaimer that even if you understand the material presented in these sites, it does not qualify what you can learn in a 4-year college program or an intership with regards to design & architecture. Anyone can write bad code, but it takes experience and some peer oversight to develop serious programs. That said, learning the basics is so easy that any motivated TL member can be writing cool & useful programs. | ||
| ||