-  [WT]  [PS]  [Home] [Manage]

  1.   (new thread)
  2. [ No File]
  3. (for post and file deletion)
/pr/ - Programming
  • Supported file types are: C, CSS, DOC, DOCX, GIF, H, JAVA, JPG, PDF, PNG, SVG, SWF, TXT, WEBM
  • Maximum file size allowed is 10000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 387 unique user posts. View catalog

  • Blotter updated: 2011-01-12 Show/Hide Show All

There's a new /777/ up, it's /gardening/ Check it out. Suggest new /777/s here.

Movies & TV 24/7 via Channel7: Web Player, .m3u file. Music via Radio7: Web Player, .m3u file.

WebM is now available sitewide! Please check this thread for more info.

Nattajerk 11/09/07(Wed)10:31 No. 6 [Reply] [First 100 posts] [Last 50 posts] Stickied

File Structure_and_Interpretation_of_Computer_Programs.pdf - (2.21MB , Structure and Interpretation of Computer Programs.pdf )

I heart /pr/

lets start with a book thread. I have some cached learning.

121 posts and 80 images omitted. Click Reply to view.
Neckbearded Basement Dweller 17/07/24(Mon)01:40 No. 5055

does anyone have this book
C++ Programming Professional Made Easy by sam key

Newbie Thread patchouli!!SyAQpmZGyw 13/05/26(Sun)19:31 No. 3818 [Reply] Stickied

File 136958949722.jpg - (25.15KB , 293x324 , bjarne2.jpg )

What's this? Just a compiled list of resources silly!
(Also, check out the book thread, lots of lovely stuff)
Ask newbie/where to begin questions in this thread!

Language Agnostic:

http://www.codeblocks.org/ (great IDE for C/C++ and supports many libraries, cross platform)
http://notepad-plus-plus.org/ (good for scripting languages)
http://www.gnu.org/software/emacs/ (great editor with large learning curve)
Message too long. Click here to view the full text.

27 posts and 7 images omitted. Click Reply to view.
Neckbearded Basement Dweller 17/06/17(Sat)07:20 No. 5045

Good documentation/books/online courses for a C# Unity beginner? I've got some basic experience in JS and most of the stuff i've read for unity fails to explain how anything works.

Java Noah 17/07/31(Mon)01:09 No. 5058 [Reply]

File 150145619578.jpg - (106.68KB , 1280x768 , background.jpg )

What does /pr/ think of Java? Is it still worth learning?

I want to get into software development and I'm not sure what language to pickup.

Neckbearded Basement Dweller 17/08/01(Tue)15:04 No. 5059

IMO Java is a pretty uncomfortable language. It sits in a place where it doesn't do anything particularly well.
* It hates the programmer. Java offers basically no facilities to save typing, and a lot of its constructs are awfully verbose. It's not unusual to have to do stuff like VeryLongTypeName veryLongTypeName = new VeryLongTypeName(). The amount of boilerplate code in a given Java application tends to grow over time as a consequence. It can also lead to unintentional coupling.
* It has okay performance for a lot of domains, but it can't be used for number crunching if performance is important. C, C++, and Fortran are still king in this department.

Unless you need to interface with some specific code, anything that can be done in Java can generally be done in some other language more easily.
The only domain I've seen it used well was if you absolutely need to distribute a single executable that will work on several platforms. This, it does well, but so does C#.

Neckbearded Basement Dweller 17/08/16(Wed)06:04 No. 5062

File 150285629193.jpg - (539.22KB , 2880x1800 , star wars snow troopers.jpg )

Personally I love Java. It's very comfy to write in and you always get stuff done. Those long names and the reason they don't offer many ways to save typing time that >>5059 mentions is because you're supposed to write clean code people can understand just by looking at it (without reading comments). Java is meant to be shared and it is, there's a ton of stuff out there ready to be used in your program.

I'd recommend Java to anyone because you'll basically learn C# and ActionScript 3 at the same time as you're learning Java.

Neckbearded Basement Dweller 17/08/16(Wed)05:58 No. 5061 [Reply]

File 150285589835.jpg - (9.09MB , 3800x5244 , jasmine4.jpg )

results.Sort((g1, g2) => g2.depth.CompareTo(g1.depth));

Can someone explain to me what the hell this C# does?

results is a System.Collections.Generic.List

It's some kind of interface shortcut I guess? But what is => and why write it like that, does it save CPU cycles or just time for the coder himself?

Neckbearded Basement Dweller 17/07/19(Wed)00:36 No. 5054 [Reply]

File 150041736958.jpg - (23.73KB , 450x300 , armie-hammer-the-social-network_cycgik.jpg )

Friend is learning JavaScript as her first language. Should I stop her?

Neckbearded Basement Dweller 17/07/30(Sun)05:44 No. 5057

Unless she is specifically trying to learn Front-End Web Development with Front-End Frameworks, I'd recommend trying to get her to switch.

Python in general is a much easier more intuitive first language, and if we wants to do WebDev, the Flask framework makes it very easy. Once she is comfortable with Flask, HTML, and CSS, going into JavaScript, Front-End or Server End will be generally much easier.

Neckbearded Basement Dweller 17/07/28(Fri)10:04 No. 5056 [Reply]

File 150122907045.jpg - (2.47KB , 135x100 , pp.jpg )

Hi, /pr. I'm learning Scala and I want challenges to implement in this language. What do you guys suggest?

Revealing your power level Neckbearded Basement Dweller 15/07/07(Tue)20:11 No. 4766 [Reply]

File 14362927069.jpg - (38.29KB , 372x399 , To_the_idiots_with_love_45bdf1_4806225.jpg )

Today at work, in a code comment explaining the motivation for a design decision, I took a short jab at people calling themselves "webdevs" but who can't get right what I was doing. Fortunatelly, as I usually read and rethink what I write, I realized that was being a smug asshole so I removed that part of the comment and committed.

Tell me, /pr/, what's the worst thing you've written or seen someone else write in code comments?

4 posts omitted. Click Reply to view.
Neckbearded Basement Dweller 17/05/08(Mon)08:13 No. 5040

I'm working on sourcewritingsource.h but I'm probably never going to get that working.

Neckbearded Basement Dweller 17/06/29(Thu)12:07 No. 5048

The main use for comments, imo, is not to make it obvious what the code is doing, but why it's doing it.

It helps readers follow along and see the logical steps being taken in code, and if you don't work on code for a while you might even forget your own code and how it worked back then..

Neckbearded Basement Dweller 17/07/10(Mon)18:18 No. 5052

That's the only reason I write comments, so 3 years later when it breaks on a Monday morning and I'm staring at it bleary-eyed without any coffee I can figure out what the hell is going on.

What is a better career option Computer science or Electrical engineering? anon 17/07/03(Mon)22:17 No. 5050 [Reply]

Computer science or electrical engineering. What should i study? What would be my job prospects in both fileds?.I live in Estonia so I`m in bad luck because we dont have a Sillicon valley here and there is very little manufacturing going on, so I guess i`d better choose something completely different(like healthcare or the army), but I really want to choose either CS or EE. I`m not chosing computer enginering because I think that it offers much less jobs than software development(especially web dev), while with EE i`m thinking that i could come in handy in a variety of places, not to mention I could just start out as a simple electrician with a degree(thus more qualified and more promising career). But i`m scared to take EE because it`s engineering and I`m afraid I will suck at it, because it`s kinda hard right? Also there are little engineering jobs here, but more front end web dev jobs(which I sincerely hate).
So please help decide my future because I do hae to make a decision fast and I dont want to fuck up my life. Thank you!

sage Neckbearded Basement Dweller 17/07/04(Tue)04:49 No. 5051

Can you stop posting this shit as new thread on every imageboard you find?

Program phantom 17/07/01(Sat)06:33 No. 5049 [Reply]

I don't know

Neckbearded Basement Dweller 16/11/28(Mon)20:50 No. 4970 [Reply]

File 14803626017.png - (102.11KB , 800x600 , Untitled.png )

hey /pr/ here are some cool open source games i found.


maybe you can use your programming skills to help develop and make these games better.

Neckbearded Basement Dweller 16/12/22(Thu)13:27 No. 4976


Neckbearded Basement Dweller 17/06/27(Tue)10:05 No. 5047


Adding on from AssaultCube:
Cube 2 engine / Sauerbraten (http://sauerbraten.org/)
Tesseract (forked from sauerbraten, http://sauerbraten.org/)
Red Eclipse (also forked from sauerbraten, https://redeclipse.net/)

Delete post []
Report post