[ / / / / / / / / / / / / / ] [ r8k / ck / wooo / fit / random / doomer / f1 / foodism / harmony / lathe / lewd / warroom / wtp ]

/prog/ - Programming

Programming

Catalog  Archive

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: 1470805635133.jpg (143.44 KB,1257x874,1257:874,EVO 1.jpg)

e1639e No.4354 [Open Thread]

/prog/ We need to talk about the posters.

Most of your posts are written by brand new coders who are dabbling with a variety of languages. Too many languages. These posters don't seem to know very much about the standards or styles of the code they discuss, yet have many opinions on the quality of the languages they have dabbled with.

Do you know why?

This is because of the Dunning-kruger effect.

Absolute beginners believe they are superior to anyone else, yet while gaining real experience in their confidence is shattered and they become aware of their impotent struggle against the ocean of knowledge that programming actually is.

Well? What do you have to say for yourself.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e1639e No.4389

The board is dead as it is without scaring the newbs away.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e1639e No.4391

>>4354

So what can we do to fix it?

testing code tags


do
multi
lines
work?
id
assume
so

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e1639e No.4404

If there were already a couple of quality threads here you could try redirecting people from /tech/

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1454925825843.gif (19.11 KB,617x388,617:388,u_term_01.gif)

825ec4 No.3909 [Open Thread]

Hello /prog/!

Learning myself C at a steady and slow pace. Now I've learn that creating even the most simple TUI using printf is bloody murder. So I've decided to take it to the next level.

Can anyone please tell me if there's a good tutorial on how to create terminals using <curses.h> (or some other library).

3 posts omitted. Click [Open Thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

825ec4 No.3952

>>3947

Pirate Visual Basic for DOS.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

825ec4 No.3953

>>3952

>Visual Basic for DOS

Seems cool! And does that code transslate to C code?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

825ec4 No.3955

>>3940

>>3909

This one is ok OP, just remember that you have to use pdcurses if you want it to be remotely portable.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

825ec4 No.3959

>>3955

Thanks! But the terminal is to make it easier for me to explore and develop core mechanics.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

825ec4 No.4392

>>3909

Curses programs don't tend to look nearly as good as that pic. That looks more like something made with the old DOS Borland TurboVision library. Anyway, Borland eventually released the source code for that library, and you might even get it to compile on your OS.

https://en.wikipedia.org/wiki/Turbo_Vision

You can still make nice stuff in Curses, but it's more work, and usually ends up looking more basic and less consistent than stuff made with TV.

There's also the S-Lang library, and various other alternatives.

https://en.wikipedia.org/wiki/S-Lang_(programming_library)

https://en.wikipedia.org/wiki/Text_user_interface

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



077a75 No.4357 [Open Thread]

Experienced hobbiest programmer here. I mostly use C, C++, Go, Python, and sh. I don't know any Java and would like to program apps for Android. What is the recommended course of action?

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

077a75 No.4358

Learn Java, obviously. What kind of fucking question is that?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

077a75 No.4359

>>4358

An asshole answer for a legit question. I was hoping there was a C++ option I hadn't seen yet.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

077a75 No.4362

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1468625574480.jpg (227.26 KB,624x468,4:3,FJMoq.jpg)

c96202 No.4326 [Open Thread]

I'm a Brit, recently relocated to the US on a fiance visa, and I'll be eligible to work here later this year.

My last job was as a developer for just under 5 years, working in fintech in London, in a company that's respected in the sector in Europe, but not very well known in North America.

I know that my previous experience and my education (CS at an Oxbridge uni) count for a significant amount in the UK tech job market - lots of tech companies are full of Oxbridge grads, and they like people who went to the same university as them, it's not very fair and it's not deliberate on their part but it's the way it is.

I expect that those things won't count for nearly as much when applying to US companies, and I will probably have to put in some effort to secure a job, I can't simply rely on networking and cronyism again.

What sort of experience should I expect in interviews? Do companies actually look at github profiles? Is HR as stupid over here as is often depicted and should I fill my resume with buzzwords? I'm sure I could pick up whatever technologies most job listings mention given time, but at the moment my skills are not very broad.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

c96202 No.4341

Companies look at everything you post online ever. HR is just as bad as they are depicted in movies. Much of the humor in movies like Office Space stems from the level of truth in it. Buzzwords are a must. Resumes are often screened by programs that prioritize the ones with more buzzwords and toss the ones with few to none. No human will likely read your resume, the US is full of short intention spans and idiotic employers.

The hiring manager will likely glance at or skim your resume, also looking for key words and hoping it isn't as boring as all the other ones they glanced at. They'll base there decision on how convincing you are, how confident/attractive you look, and how quickly you can turn the conversation into a friendly chat about the hiring manager's favorite topic, themselves.

Once you finally get a job, expect a bunch of idiots demanding impossible scenarios to be completed in an unrealistic amount of time.

Social skills and the ability to sell yourself are of the utmost importance. Basically, be everyone's buddy and feign interest in all the boring shit they tend to blab on about incessantly. Actual merit or knowledge is likely to lead to trouble if you flex it too much. If you come off as too intelligent, you may be seen as a potential threat. Also, don't go way above and beyond. People will see this kindness as a weakness and exploit you by dumping a bunch of work on you. They will also generally view you as a pushover and this can really hurt your chances for promotion.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1467397035613.jpg (26.22 KB,477x300,159:100,cross-platform.jpg)

7c2268 No.4311 [Open Thread]

Is there any tool that can generate C#, Java and Javascript class files (I know javascript have no classes) that can be easily converted to byte[] and back?

I remember google having something like it, but I don't even know how to search for something like it

I am expecting something that read some xml/json/proprietary file, and produce empty classes with just the serialize and deserialize methods ready

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7c2268 No.4319

You should write that tool yourself. I bet /tech/ would love to make a logo for it.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7c2268 No.4330

In case you're still looking, Google's Protocol Buffers. You can also use MsgPack or thrift.

Protocol Buffers have a JSON serialization format, but it's not available in all languages.

The word you're looking for is "serialization". Binary serialization is what it looks like you really want.

Based on your last sentence, google protocol buffers is exactly what you want.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



24f8d5 No.4325 [Open Thread]

If I wanted to make a programmable VM with customizable opcodes, is there any more performant way to do so than using C to fill an array with function pointers that doesn't involve assembly magic? I would like to keep the code more or less portable.

I am asking because accessing a function pointer is always kind of expensive, so I was wondering if there is some better way to do it or simply any other language that is faster for this purpose than C.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.


File: 1458975406267.png (264.11 KB,1608x882,268:147,Coding.png)

f8ebc2 No.4058 [Open Thread]

Hey /prog/,

Feeling down today about my major of choice. While most /g/ and /tech/ users are apes from poo-littered shitholes, I'm starting to think that I really have just fallen for the CS meme.

Somewhat sadly I fit the stereotype described in pic related to a T, but I have been very devoted to my studies since starting uni 2 and 1/2 years ago. I'd rather graduate with this degree than get weeded out in law or med school.

It remains my dream to become a computer wizard. Is it worth the effort, /prog/? Should I really be investing all of my time into this, or have I fallen for a meme profession in relatively low demand with high standards for new recruits?

3 posts omitted. Click [Open Thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8ebc2 No.4318

>>4058

Interesting read. I'm in a somewhat similar situation.

I'm doing a double bachelor, one in math and one in cs. I spent a lot of time learning to program and I've done some stuff I'm proud of, but I still feel like I'm far from a real computer wizard. I just don't know what I should do to achieve it. I've written lots of software in many different languages, and study the theory behind it at my university; what more can I do? Yet I remain a noob.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8ebc2 No.4321

>>4318

> Yet I remain a noob.

Keep doing more until you become a journeyman.

Also, learn English.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8ebc2 No.4616

>>4105

studying =! school

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8ebc2 No.4627

>>4318

>>4058

Daily reminder that computer science has nothing to do with computers. If you wanted to become a computer wizard, then you should have studied electronic engineering. Computer science is the study of computation. You study computer science because you want to know about theory of computation which requires zero access to a computer.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8ebc2 No.4630

If it's the only thing that makes sense for you to learn, do it. Become a computer wiz, use your degree to get employed (no degree is a serious disadvantage in the industry. Ridiculous? yes, but not all that they teach you at uni is useless).

The guy who wrote the OP pic is absolutely retarded. You don't just learn the syntax and are good to go. Programming is a craft, it is very common for a beginner to think that you can do EVERYTHING with your new knowledge, but as the years pass you realize that there is a lot to learn onwards. I've seen a lot of rookie code that looks like nothing but italian dinner.

You can become a computer wizard, and be much more competent than the bunch of mandeeps that line up for shitty monkey positions. There are a lot of mediocre people but there is always need for someone who knows the ins and outs of their trade.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



2fd575 No.4314 [Open Thread]

I want to build libotr but under a different name, like libotr-asdf.so

How the fuck do I do this?

Spent a really long time googling, grep'ing and looking at .m4 and Makefile.am and whatnot but none of it makes sense.

here's the code, one start by running autoreconf -i or ./bootstrap:

https://github.com/off-the-record/libotr

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.


f8f14a No.4264 [Open Thread]

what do i do? what books do i read? i think about learning c++, what book should i read for it?

7 posts and 1 image reply omitted. Click [Open Thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8f14a No.4290

>>4289

sticky seemed to be recommendations of math books for programmers (I've read a number of them) whereas I'm more looking for a programming book for mathematicians

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8f14a No.4293

>>4288

>is there a more general book I could read alongside, a guide to the structure and thinking process of programming?

Try this:

https://mitpress.mit.edu/sicp/

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8f14a No.4295

>>4293

yes! this is more what I was looking for thank you anon

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8f14a No.4312

>>4264

My reason for entering the world of programming was to make games, so I started with shittastical yet fun engines like GameMaker. Gave me a feel for what kind of structure a game program needs. Learning C# after having used gamemaker for years allowed me to see what object oriented programming and polymorphism really are. I am now trying to get my head around C++ OOP to develop in Unreal Engine.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

2c28c3 No.5269

Alacrity

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1451066758065.png (192.84 KB,3960x1500,66:25,IzendaWebLogos.png)

802dcb No.3764 [Open Thread]

Using localStorage, the forum's content can be stored offline in the browser, which'd then get synchronized between online users with Peer.js.

There'd need a signalling server to introduce users to each other, but the server-side database load would be absolutely zero. And client-side localStorage has a limit of 10MB per domain, but I think that can be worked with if it doesn't grow excessively big, or maybe it can be circumvented somehow.

You could just go to your regular php file manager and upload an index.html, then go to yourhost.com/forum/ and the forum would be there, wholely javascript without page loads.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

802dcb No.3774

It can work!

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

802dcb No.3781

I had this idea because I wanted to make a browser-side BBCode parser. So users could edit it however they wanted easily.

So I needed an excuse…

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

802dcb No.4258

>>3764

I'd like to see you faggots make a peer to peer chan like this.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

802dcb No.4309

>>3764

Prepare to be exploited m80.

You're going to let the user keep his forum files locally and then upload them to your server temporarily? Gonna be rough keeping that from backfiring.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

802dcb No.4637

>>4309

This x 100

>>3764

OP I'd say that the best way to do something like this is to have the user keep an encrypted file container not with their own information but with bits and pieces of everyone else's info a-la bittorrent. However, JS would not be the language to code something like this in. You'd be better off with C, C++, or even Erlang since you're going to be doing distributed computing. Might also want to peek at Pony because it uses object capabilities and actors. Some very powerful stuff under the hood.

I had a similar idea to yours. Its doable but it will ultimately fail if you do it in Javascript. The other user is right. Allowing some dick to upload info to your server is asking for trouble. Information has to be securely stored, tamper proof, and safely transmitted.

In summation: a distributed/P2P system that requires the user to upload his information is a good idea if its done properly. The user must not be able to edit his own info except through a secure web interface. The data itself MUST be encrypted. Otherwise you need a way to sandbox each user's code.

Maybe check out Google's Caja? Its a variant of Ecmascript that uses capabilities.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1450105938013.png (106.97 KB,1649x494,1649:494,2015-12-13-130936_1649x494….png)

642eb3 No.3717 [Open Thread]

 
var a0 = document.getElementsByTagName("audio")[0];
var a1 = document.getElementsByTagName("audio")[1];
var a2 = document.getElementsByTagName("audio")[2];
var a3 = document.getElementsByTagName("audio")[3];

How to do this in a for loop?

4 posts omitted. Click [Open Thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

642eb3 No.4257

File: 1464941590417.webm (7.83 MB,640x356,160:89,big guys song.webm)

>>3717

>var OPisAFaggot = document.getElementsByTageName("audio")

>access variables by doing OPisAfaggot[X], where X = what ever the fuck one you want

>>3719

To be fair I had this problem too when I was a noobfag. I wanted to create new variables using a for loop but didn't know how the fuck to do that. Now I know you can't and must use an array.

>>3801

Anon, please. I'm 99% sure getElementsByTagName returns a populated array so you don't have to declare an empty array and assign all of the elements using a for loop. What you're using isn't even Javascript you fag.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

642eb3 No.4282

File: 1466136757701.png (22.02 KB,564x482,282:241,H E L L O W O R L D.png)

>>3717

Hand copy this C code, compile it, then run it.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

642eb3 No.4303

>>4282

Is this a virus?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

642eb3 No.4304

>>4303

Please don't compile that code. It right fucked my computer… I'm getting a new HD today.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

642eb3 No.4527

>>4257

>To be fair I had this problem too when I was a noobfag. I wanted to create new variables using a for loop but didn't know how the fuck to do that. Now I know you can't and must use an array.

You're still a noob. Learn how namespaces work, idiot.

>>3717

Sure, OP. Other fags here don't seem to know how to answer basic questions because they're actually stumped as to how to perfectly emulate your code. It's easy, actually.


for (var x = 0; x <= 3; x++) window['a' + x] = document.getElementsByTagName("audio")[x];

After that code runs, you can then reference a0, a1, a2, and a3 as normal.

You might want to consider making a namespace of their own to go into though, that way they won't just be tossed into the same group as everything else.

>>3720

Get off this board, idiot. Don't answer questions if you don't know the answer.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



9c29d7 No.4273 [Open Thread]

I often forget to put my values as const, and my code ends up as a mess of sometimes using const and sometimes not. To mitigate this, I was thinking of ways to have const be the default behavior.

I was thinking that it would maybe be possible to achieve this with preprocessor tricks. Something like this:


typedef int m_char;
#define int const char

#define mut(x) m_##x

int main() {
char x = 0;
mut (char) y = 0;

x++; // Error
y++;
return 0;
}

This, however, fails with types that use two keywords like "unsigned char".

Is there a way to have "unsigned m_char", or have "mut (unsigned char)" be translated into m_unsigned_char?

3 posts omitted. Click [Open Thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

9c29d7 No.4281

>>4276

Just build the habit of declaring variables const, man.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

9c29d7 No.4284

So… I decided to go full retard, if anyone's interested:

# This patch adds an option the the C compiler: -fdefault-const
# When this is enabled, everything will be a constant by default, and only be mutable if specified with the "mut" or "mutable" keyword.
# I tried to implement this the easiest way possible, by just flipping the const_p bit, and adding the keyword (reusing "mutable" from C++).
# Unfortunately, the fact that const_p is a single bit makes it hard to get everything right, as some checks assume that a keyword was specified only if the bit is on.
# As such, I had to flip the bit to "fix" a warning, but with a consequence: If -fdefault-const is enabled, it will only warn about "mut" being specified at the wrong places, and if not, it will only warn about "const".
# This was only tested and works with regular C. I haven't tested it on C++, so the option is unavailable there.
# The only effect this has on C++ is a new keyword: "mut", that means the same as "mutable".
# Also untested is compatibility with library headers such as libc.

--- gcc/c/c-decl.c
+++ gcc/c/c-decl.c
@@ -6128,6 +6128,7 @@

/* Type qualifiers before the return type of the function
qualify the return type, not the function type. */
+ type_quals ^= TYPE_QUAL_CONST * flag_default_const; // Only has effect on the warnings given by qualifying a function.
if (type_quals)
{
/* Type qualifiers on a function return type are
@@ -9499,6 +9500,7 @@
ret->expr_const_operands = true;
ret->typespec_kind = ctsk_none;
ret->address_space = ADDR_SPACE_GENERIC;
+ ret->const_p = flag_default_const;
return ret;
}

@@ -9546,6 +9548,11 @@
specs->const_p = true;
specs->locations[cdw_const] = loc;
break;
+ case RID_MUTABLE:
+ dupe = !specs->const_p;
+ specs->const_p = false;
+ specs->locations[cdw_mutable] = loc;
+ b
Post too long. Click here to view the full text.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

9c29d7 No.4296

>>4284

That's actually cool in a hacky way, but you are aware that that makes the language you are using not C, right? That will affect not only the code you write, but all imports as well, meaning many libraries will need their headers rewritten before you can use most of them.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

9c29d7 No.4301

>>4296

I'm aware. That's the reason for making it a compiler flag: if you want to compile external libraries alongside your own code, you just make them compile without that flag.

Library headers will need to be rewritten indeed, if they define structs you have to modify (as the members will be marked constant by default, and may need to be modified), or define any functions.

I'm writing an OS from scratch, so I don't feel the consequences as much as when working in an environment with tons of libraries.

Also, I updated it, fixed another warning related to functions with only void as a parameter.

http://chunk.io/f/4a714fd853a940dc9471c786121f6e04?lang=diff

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

9c29d7 No.4322

> #define int

Yes, this seems like a good idea.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1452039794302.jpg (63.98 KB,375x569,375:569,1440958394312.jpg)

a2d99b No.3813 [Open Thread]

Thought I'd come here to ask:

I'm trying to self-teach programming so that I can find a job doing it, though the main reason is I want to write my own games since modern games are shit and I want more Tactics Ogre and Sengoku Rance.

I have begun by picking up "Java: A Beginner's Guide 6th Edition" by Herbert Schilt and am working through it now. I'm in chapter 4 now, which is about classes and methods, and it is making me really excited.

Question, though: am I learning the right language? What other steps should I take? I have looked at github and it very confusing to me, but then again I only started in earnest about a week ago. I know that it's possible to develop games with Java 8 and libgdx, but I also want to make sure I can get a job with the skills I'm learning because my current one (teaching middle school) is the worst fucking job on the planet.

If this isn't the right place to ask I'll delete my post,

9 posts omitted. Click [Open Thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a2d99b No.3825

>>3824

>Learn how to design and use databases

These are good bonus skills but there's such thing as DBA staff

>>3822

There's some development related stuff like version control, continuous integration and testing, you probably won't read about those in general books on Java. You're probably not expected to be familiar with those as a junior, but then again, those are good bonus skills. And unlike databases, those 100% will be useful.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a2d99b No.3827

>>3825

Most of the time, I've been expected to make the whole application. That includes designing the database.

Gotta agree on version control, though.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a2d99b No.3828

>>3824

>>3825

All right, I'm saving those posts even though I don't yet know what most of the acronyms stand for. It seems that some research is in order.

Thanks guys.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a2d99b No.4260

>>3815

I learned this summer that lectures are fucking shit after I started studying my text books due to getting less than desirable grades last semester.

With text books you get full explanations and good examples instead of shitty TL;DR's and scribbled slides/diagrams.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a2d99b No.4262

>>3813

If you'd like to learn game development, I would suggest C# (which is like Java) and then moving on to Unity.

If you want to learn Java for games, after your beginners book I'd suggest Data Structures and Algorithms in Java by Peter Drake. It's an intermediate Java book which teaches many of the data structures you'd use in game and the examples are simple games which makes it fun.

If you want a day job programming, your best bet is to learn C# or Java, and SQL Database programming, and Javascript/CSS/HTML. You'll probably have to learn a ORM or two, but please make it a point to learn how databases work, because I run into programmers now who are clueless about how a fucking SQL works because they use shit like Hibernate their whole lives.

Really, if you had to learn just one thing to get a job, I'd say learn SQL and SQL Server. It's been around forever, it really doesn't change, and if you're near a major metro area you should be able to find a job with that.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1458359244569.png (4.95 KB,230x230,1:1,haxe-logo.png)

177801 No.4036 [Open Thread]

I have never in my life seen anybody talk about this programming language.

Personally I love it, since its syntax, libraries, and cross-compile features are amazing.

Is it just because it is unpopular or do I most people dont like it and thats why they dont talk about it.

2 posts omitted. Click [Open Thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

177801 No.4076

>>4073

So, uh, he said that the main problem of haxe is being unpopular and hxcpp having high bus factor, that's all?

Kikewheels, let me post

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

177801 No.4078

>Is it just because it is unpopular

I hadn't heard about this language before seeing this thread. So, probably.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

177801 No.4079

>Is it just because it is unpopular

I hadn't heard about this language before seeing this thread. So, probably.

Hotwheels pls, your site is defective

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

177801 No.4082

>>4076

> Is it just because it is unpopular

> that's all?

Also, the Haxe Foundation not making the necessary effort to spread the word that Haxe exist and is still actively being developed.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

177801 No.4261

>>4036

It's fine, it's quite comparable to Java/C# (statically typed, garbage collected, OOP) but has a nice macros and slightly less verbose syntax. I enjoyed it.

Have you guys used openfl with haxe and the html5 target?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



8bcfe2 No.4106 [Open Thread]

What do you think the best language is to learn for beginners and why?

3 posts and 1 image reply omitted. Click [Open Thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4177

>>4154

Are you the guy that made this post?

https://8ch.net/prog/res/1410.html#4152

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4192

>>4106

C because you can learn it knowing EXACTLY what's going on, what the code is doing and what the hardware is doing.

Many people recommend super high-level object oriented stuff for a beginner language because supposedly it's easy to use and easy to understand because muh representation of reality with OOP.

Then they end up on stack overflow like "So I'm writing a hello world but the compiler says i'm missing an abstract virtual base private destructor".

In languages like python or c# it's easy to do advanced things with little code but you won't know how it all works and it will bite you in the ass later.

In C and perhaps other low level languages it's easy to know exactly what's happening.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4201

>>4154

was trying to start with this but a black screen with a ">" is the only thing I see. What do?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4204

>>4201

That's the REPL (read-eval-print loop). You type expressions in it, it evaluates and prints them.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4255

File: 1464881197929.jpg (523.87 KB,1400x1341,1400:1341,programming powerlevels.jpg)

anything that's functional and not object-oriented. some people are saying C and that's ok but in C you really spend more time learning C syntax than learning how to program, if you get my drift. I'd say learn racket/scheme/any form of lisp. and buy SICP, dont just try to read a pdf online or you won't actually read it

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



Delete Post [ ]
[]
[1] [2] [3] [4] [5] [6] [7] [8] [9]
| Catalog | Nerve Center | Random
[ / / / / / / / / / / / / / ] [ r8k / ck / wooo / fit / random / doomer / f1 / foodism / harmony / lathe / lewd / warroom / wtp ]