Jump to content

Coding


Greeneyes

Recommended Posts

Soo I am getting into coding right now I am learning Python (not vary far) anyway I created this thread to ask:

Do you code?

What code do you know?

Why do you code?

What do you like about it?

Any tips?

Have you ever coded a game?

Anything else you would like to share?

Link to comment
Share on other sites

ye

by code you mean language? well so far i only know java, javascript and html its really basic *sigh* i aint special

i was forced, we can choose one out of 3 special subjects which is Bookkeeping (accounting), Cooking, and Computer, I chose computer because I thought its something like "this is a mouse, this is a monitor..." but no it frkin taught us coding, but when i was like 12 or so I realized that I could be a developer in this game called "Minecraft" (please dun flame me), and I developed plugins and such for some servers.

its creative and fun, sometimes, when you have brain cells to burn

coding is like cooking, its faster to learn it by yourself, well that's just me speaking because I do not know how to teach. This may sound cheesy but coding is an art, even though its not my passion and just did it on a whim its still something that has beauty in itself or something i dunno im just saying whatever comes to my mind. (I guess giving tips is not my strongest forte haha)

nah

Please don't give up when naming variables and such, its such a pain in the a$$ thinking, it's more difficult than coding itself. 

i think i just summarized my whole life

  • Awesome (Sugoi) 1
Link to comment
Share on other sites

On 4/7/2018 at 6:20 PM, Greeneyes said:

Do you code?

What code do you know?

Why do you code?

What do you like about it?

Any tips?

Have you ever coded a game?

Anything else you would like to share?

Yes, I code.  I know C, a bit of C++, Perl, and enough java, python, and lisp to be dangerous.  Back in the dim, dark, early days of my career I also learned 8080 and 6502 assembly for systems-level programming, but I think those brain cells have mostly died or moved on to other things by now.  :)  They made me take Fortran in college, but I never really used it outside of class.  I also know BASIC from my Apple days.  Haven't used that in mumbedecadesmumble either.  I know enough HTML to code up a page in a text editor, and enough CGI and SQL to do interesting stuff with a database on the back-end, as long as we're not talking 1000s of transactions per second.  PHP I've played with, and if performance were an issue I'd probably use that, but mostly I stick with perl for CGI stuff since I already have a lot of experience with that.   I've also dabbled in Lua and C#, though I can't say I know either one very well.  Likewise I've looked into Objective-C and Swift, but haven't done anything much beyond "hello world" with either one.  Honestly, I've always been the engineer/tech guy who like to mess around under the hood.  At this point I'd be ok with tackling pretty much any language.  :)  My main go-to languages are C and Perl though.  If I'm coding something from scratch I'll usually prototype it in Perl, then move to C if I need performance.

I did use 6502 assembly to make a couple game-ish things on an Apple ][ once upon a time.  One was a kind of side-scroller with a missile-launching helicopter and not a lot of backstory or plot.  :D  Eventually I took out the scrolling, added a "star" to the center, started calling the choppers "spaceships", and turned it into a sort of Spacewar clone or physics simulation.  The other was a flight/space simulator of sorts.  Using a 3d library and a RA/declination/distance table from a star almanac I input the locations of a couple hundred (real) stars and let you fly around in them using a joystick.  I was in jr high/middle school at the time so no commercial intentions in either case, but I had fun.

I'm into electronics and currently I use arduinos a lot, so mainly C there.  I'm also not above getting in and modifying other people's code for the software I use and most of that's in C as well.  (Open-source rules!)  My favorite game at the moment is Kerbal Space Program, which uses the unity engine, so that's my (limited) C# experience.   At work I use mainly perl, but sometimes C or C++ there too.  I also manage a mySQL database for production (and metrics for the boss of course) so I'm somewhat proficient in SQL.  I'm in realtime operations though, not software dev, so a lot of times I don't have the luxury of a full design/coding/debug cycle.  I need something that works, quickly, and it doesn't have to look nice.  As long as the patch holds things together until the real software devs can get a fix in the next software release I'm happy.  (Though that said, I'm still maintaining software that I wrote 10 or 15 years ago too.  Some of it is even being shown to the public!  Fortunately nobody but me sees the code or I'd probably have to consider seppuku.)    A lot of my day-to-day work is system monitor and control stuff.  Status or metrics from a cron job pushed to a database, with a program for the human controllers pulling the data out and putting it on a GUI, flashing red or yellow as necessary.  That kind of thing.  Perl (and CPAN modules) is good for all that.. CGI, SQL with the DBI stuff, reports, logging (& parsing logs), GUI stuff with Perl::Tk, XML with one of the XML modules, etc.  I also spend a lot of time in c-shell and bash on unix/linux and perl is a good fit for that environment as well.

 

Link to comment
Share on other sites

  • 4 months later...
Quote

Do you code?

What code do you know?

Why do you code?

What do you like about it?

Any tips?

Have you ever coded a game?

Anything else you would like to share?

 

So, starting with the first four questions:

I know C++, C, Python, HTML (which technically is scripting), mySQL, PHP, JavaScript, Java and Processing, but mostly use C++, Java, Processing and Python. I'll soon start studying Computer Engineering, as I like both, Electronics and Programming. (Although I initially wanted to do Computer Science I thought the CE gives me more option later on, especially if I want to do something that involves Electronics.) I worked for a company during summer vacations (though, I initally was just the typical coffee bringer - like with many holiday internship >.>), where I was basically a coder for the simpler stuff. Apart from that, I did programming at home - non-professionally, so to say.

I think we should differentiate between coding and programming for the question why I code. While coding just mean writing code, it does not necessarily involve much of the thinking process. As a coder for the aforementioned summer internship, my boss would just say something like "Here, thats what we need, we already know how the programm should look like and how it works - we even did the complicated parts of it- you just need to finish the code". That's coding. Programming involves thinking about how the programm works, how it should look like and what it does - then you do the coding. (programms don't write themselves ... unless you have a programm that whites code for you which does exist) Coding, pure coding without thinking about the programm itself, is kinda... meh. I like the problem solving part of programming - the structured working process and so on -, it the same kind of thinking and problem solving you use in Mathematics. That's what I like about programming.

Overall, I favour C/C++ for most things, especially when it comes to using code for electronics (Arduino for example). Python is good for data science, data processing and the likes, especially since there are a lot of libraries for these things in Python - but C++ can that too! XD Some people tend to forget that...

 

Some tips:

If you just started coding/programming, I recommend Processing. (They have a website here.) It's a fairly simple and easy language but if you are creative and know how, you can do a lot of complex stuff with it. (For example, I wrote a Neural Network in Processing that learned to distinguish between pictures of Circles, Triangles and Rectangles and label them correctly.) The great thing about Processing is that it is intuitiv and since you have a Canvas to draw on its can be used for a lot of visual stuff, like simple games. (You have no engine though and have to do everything on your own.) I heard of Processing through a friend who started programming and after I looked into it I really liked it - wish I had it why I started programming (I started with C++ and crappy YT-Tutorials/Books that are hard to understant for a ten year old >.>)

Python is easy to understand but I wouldn't recommend it for beginners. It's syntax is different than most of the common languages (referring to C/C++ and Java), I'd rather suggest Java if you want to use one of these to learn. But if you like Python, go with it until you gainthe fundamental understanding and after doing some stuff with it, explore other languages.

Apart from simple platformers with crappy sprites and models (I wasn't very dedicated to making good sprites and 3d models) and some clones of old arcade games (which is a good way to learn programming, I recommend copying already existing, simple games and programms without looking up how they actually work) I have little experience with making games. I did these mainly in Unity and a few small games -the kind you programm in half an hour- in Processing or Java

  • Informative 1
Link to comment
Share on other sites

On 4/8/2018 at 10:20 AM, Greeneyes said:

Soo I am getting into coding right now I am learning Python (not vary far) anyway I created this thread to ask:

Do you code?

What code do you know?

Why do you code?

What do you like about it?

Any tips?

Have you ever coded a game?

Anything else you would like to share?

i-i think ren'py used python system, i-im not sure though,

im not a specialist in the field of coding, i only studied ren'py's, since i wanted to make a visual novel -- during our summer break -- before my 4th year days would arrive

it ended in a failure though, as i needed to do artworks for the game, which toke all my time

i, also dont remember much on what lines i did, but i did manage to make it work, with my drawn images, but as of right now, i cant continue making it,

but during my time of coding, or atleast writing a few of its function's (i,e player choices that changes story route) -- i had allot of fun, like, my smile went from :) to :))))DDDDDD-ish when i got choices to work without any errors to pop up

it was, hella fun to do, but for now i will focus on the artworks side of the game i will make-that-will-probably-never-see-the-light-of-the-day

and by "for now", i mean "in the future when im not studying or being tugged by quizzes"

Link to comment
Share on other sites

  • 2 weeks later...

Do you code? Yes

What code do you know? HTML, CSS, PHP, MySQL, VB, and working on java, and C

Why do you code? because its fun :)

What do you like about it? I like working through the instructions, and seeing it come together.

Any tips? Start small learn basics, and foundation of programing first then pick a syandard

Have you ever coded a game? Yes a small one in java, and one in C

Anything else you would like to share? Just have fun with it, and do it on a machine you do not care about as it may crash your comp if not complied correctly.

Link to comment
Share on other sites

18 hours ago, ArchieKun said:

Do you code? Yes

What code do you know? HTML, CSS, PHP, MySQL, VB, and working on java, and C

Why do you code? because its fun :)

What do you like about it? I like working through the instructions, and seeing it come together.

Any tips? Start small learn basics, and foundation of programing first then pick a syandard

Have you ever coded a game? Yes a small one in java, and one in C

Anything else you would like to share? Just have fun with it, and do it on a machine you do not care about as it may crash your comp if not complied correctly.

Teach me Sensei

  • Like 1
Link to comment
Share on other sites

1 hour ago, Greeneyes said:

Teach me Sensei

We can certainly talk about it together. Coding is a huge field lots to learn. I will be happy to help. One thing I will say programing much like riding a bike can't really be taught though only learned with practice. I can however tech the foundation of programing, and how programing works. Though when it comes to a specific language apart from file edit help thats something you'll pick up the more you use it.

  • Like 1
Link to comment
Share on other sites

On 4/7/2018 at 6:20 PM, Greeneyes said:

Soo I am getting into coding right now I am learning Python (not vary far) anyway I created this thread to ask:

Do you code?

What code do you know?

Why do you code?

What do you like about it?

Any tips?

Have you ever coded a game?

Anything else you would like to share?

Yes, I code, though not all that frequently.

As far as languages are concerned, I know Java the best and some objective-C. I tried dabbling in Python (made a script that will do SQL dump of a particular platform to preserve tags and another that will create a QR Code for network logins) and trying to learn Swift.

I code because I like to polish my skills and learn things.

I like to code, because it makes me think.

As far as tips are concerned, just start doing it, though I would recommend simple languages like Python and Swift and try doing different things.

I have coded a foundation for a game, but I have not made a game (still too many things to figure out how to get right).

As for other things I would like to share, do not be afraid to use libraries already present on Github and Google is your friend.

  • Like 1
Link to comment
Share on other sites

  • 2 months later...
On 4/7/2018 at 7:20 PM, Greeneyes said:

Soo I am getting into coding right now I am learning Python (not vary far) anyway I created this thread to ask:

Do you code?

What code do you know?

Why do you code?

What do you like about it?

Any tips?

Have you ever coded a game?

Anything else you would like to share?

I have coded in the past, don't get much chance anymore these days.

I've learned BASIC, HTML, Java, C++, Javascript, and C#. I started learning basic in high school around 15 years ago. Started on Java after that, but had to quit the courses I was learning that in, picked it back up again while I was learning Game Art and Design at AiC. Javascript was necessary, in learning to script for the Unity Engine, but started working with C# as it was a cleaner language and required fewer lines thus making compiling quicker.

Most of the code I learned was for Web Development and designing and developing games. I'm far from a great coder, so I am definitely not any sort of expert. I like the logic and syntax required to learn coding and getting it to work right.

No tips really, I had to take a lot of programming logic courses in conjunction with the scripting courses.

I have coded a UI system for a game that's kinda still in development. Most of the other code I wrote was phased out, however.

Link to comment
Share on other sites

On 8/27/2018 at 12:37 AM, brycec said:

Yes, I code, though not all that frequently.

As far as languages are concerned, I know Java the best and some objective-C. I tried dabbling in Python (made a script that will do SQL dump of a particular platform to preserve tags and another that will create a QR Code for network logins) and trying to learn Swift.

I code because I like to polish my skills and learn things.

I like to code, because it makes me think.

As far as tips are concerned, just start doing it, though I would recommend simple languages like Python and Swift and try doing different things.

I have coded a foundation for a game, but I have not made a game (still too many things to figure out how to get right).

As for other things I would like to share, do not be afraid to use libraries already present on Github and Google is your friend.

We talk about coding a lot together on discord about programing. You never mentioned python. I wouldn't mind learning python. most of my programing as you know is web based. Things like the various markup languges, bbcode, html, css, php, mysql, and the like. Though I do not know any .net which is Microsoft's solution for php basically. I do have a good big on python though. I have heard its mostly good for making games. With that said java seems to be better.

Link to comment
Share on other sites

7 minutes ago, ArchieKun said:

I have heard its mostly good for making games. With that said java seems to be better.

Python is widely used for data processing, analytics and the likes. It's easy to implement and not that ressource-demanding. It has a bunch of libraries like TensorFlow, Pyro, PyTorch (Pyro used PytTorch), OpenCV (though this one's also on C++, where I used it) etc. ... Many companies create their own libraries for whatever they need based on already existing ones. I think it was Pyro that was created for Uber and is now used in the scientific field because its such a good and efficient library for probability.  If you know how to use it, Python can be very, very powerful.

People often discredit it so much which I don't get...

Link to comment
Share on other sites

17 minutes ago, leinwandname said:

Python is widely used for data processing, analytics and the likes. It's easy to implement and not that ressource-demanding. It has a bunch of libraries like TensorFlow, Pyro, PyTorch (Pyro used PytTorch), OpenCV (though this one's also on C++, where I used it) etc. ... Many companies create their own libraries for whatever they need based on already existing ones. I think it was Pyro that was created for Uber and is now used in the scientific field because its such a good and efficient library for probability.  If you know how to use it, Python can be very, very powerful.

People often discredit it so much which I don't get...

That was really infinitive I guess I have a bit more research to do then I thought. Though that alright its fun. I can see why it was ddone for uber now that you mention it too considering the kind of system they need.

Link to comment
Share on other sites

1 hour ago, leinwandname said:

People often discredit it so much which I don't get

Not discredit so much as just don't see the need.  For me the main competitor to python would be something like perl.  Perl does most of what python does, and is more flexible besides.  There's also a lot more perl code out there than python, simply because perl has been around longer.  (That also applies to things like ruby or rust.)  The main attractions of python relative to perl would be it's stricter type-checking and syntax rules, and (for some) its object-orientedness.  All of those make it harder for new users to do bad things, which tends to make it better as a teaching language or for new users too.  That sort of thing does nothing for me however.  I operate in a realtime environment so I usually need flexibility and rapid prototyping.  Whenever I've tried python in that context the enforced "correctness" just gets in my way and slows me down.  Perl can be object-oriented too, if you want that sort of thing.  But you can still get to class-internals if you need to.  (Conversely, some OO purists hate perl for that reason.  Whatever.)  Start your perl code with "use warnings" and "use strict" and you can have strict(er) type checking too.  Whenever I need more I switch to C++, or java, both of which have far more developed class libraries than either perl or python.

Not that I'm anti-python or anything.  I'm more a right-tool-for-the-job kind of person regardless.  Occasionally there's a python lib that does exactly what I need and I'll use python without a second thought.  Whatever gets the job done with the least work is what should be used in my book.

Link to comment
Share on other sites

7 hours ago, ArchieKun said:

We talk about coding a lot together on discord about programing. You never mentioned python. I wouldn't mind learning python. most of my programing as you know is web based. Things like the various markup languges, bbcode, html, css, php, mysql, and the like. Though I do not know any .net which is Microsoft's solution for php basically. I do have a good big on python though. I have heard its mostly good for making games. With that said java seems to be better.

It’s mostly because that is the language I deal with the least, and do not know how to do things too well. I only use it when I need to script things, like changing extensions and such.

I would say that Swift is my most used language now though.

Funny thing you bring up .net. When I was studying for my degree, a teacher recommended a class on ASP once, but I did not bother, as PHP seemed more prevalent.

  • Funny 1
Link to comment
Share on other sites

1 minute ago, brycec said:

It’s mostly because that is the language I deal with the least, and do not know how to do things too well. I only use it when I need to script things, like changing extensions and such.

I would say that Swift is my most used language now though.

Funny thing you bring up .net. When I was studying for my degree, a teacher recommended a class on ASP once, but I did not bother, as PHP seemed more prevalent.

Thats funny, or ironic because a teacher told me to stay the hell away from ASP.net, and stick with my gut and use PHP. Reason being it is open sourse, and free to use.

Link to comment
Share on other sites

1 hour ago, ArchieKun said:

Thats funny, or ironic because a teacher told me to stay the hell away from ASP.net, and stick with my gut and use PHP. Reason being it is open sourse, and free to use.

That kind of has me curious of why he would say that. ASP is pretty much as good as dead now, so it does make sense in that respect, but I suspect that it is just as bad as IIS.

Edited by brycec
Link to comment
Share on other sites

12 minutes ago, brycec said:

That kind of has me curious of why he would say that. ASP is pretty much as good as dead now, so it does make sense in that respect, but I suspect that it is just as bad as IIS.

Yah it is interesting even more so when teachers say things like this. Though teaching is hard enough because you need to keep up on the tech even more than your students. That is something I have found in any field of study/ A lot of teachers just don't, or don't want to keep up on the times. This is critical for programing and technology honestly.

Link to comment
Share on other sites

I learned how to code when I was very young. I started with simple stuff like CSS, HTML. Now my specialty is in PHP. Using my knowledge on PHP, I code softwares and online resources. My 'child' right now is the hPage website builder (https://www.hpage.com) which I built along with a few others. It is a website creation service that allows people to create a website for free or for a small fee/month.

I have never coded a game because a different language is used for that. But I love playing games my whole life. I love coding because it has allowed me to create different tools that helps people online. I also love it because it gave me a job that I am happy to be in!

Link to comment
Share on other sites

Do you code?

I've coded on and off for a few years but am really starting to get into it now.

 

What code do you know?

I'm learning the language C#.  I have previously done python and Java but am not fluent in these at all.

 

Why do you code?

I'm learning to code because I aspire to be a games programmer.  The C# that I am learning at the moment is being applied into games development that I am currently doing in College.

 

What do you like about it?

I've always enjoyed problem solving, and there is a lot of problem solving in coding.  I took a Computing GCSE course in Secondary School and this interested me heavily in going into coding for a career.  When I was thinking about what kind of coding I wanted to get into, I decided that coding for games would be the most enjoyable for me since I've grown up playing games which has led to gaming becoming my favourite hobby aside from watching anime.  Since I'm learning to code for games, I'm loving it even more since I can see my code come to life in the form of game mechanics.

 

Any tips?

I'm not sure how serious you are about going into coding.  If you want to learn as more of a side hobby than a career choice, I recommend checking out Codecademy.  I've taken a few of the free courses from here in the past (mainly for Java rather than python though) and I found that they were quite good.  Instead of just telling you things, you get to write code as you learn.

If you're thinking of taking coding further and choosing it as a career choice, I'd recommend either taking a trustworthy online course (you could learn for free, but you're likely to get a better education from a paid course) or taking a course in College or University (I'm not sure how education works in countries other than United Kingdom though).

 

Have you ever coded a game?

I haven't coded a full game as of yet, but I am currently working on parts of a game for a project in College.  I'm mainly focusing on enemy mechanics in this project since there is someone else working on GUI, menu's and player mechanics.  This is a 2D side-scrolling game.

  • Like 2
Link to comment
Share on other sites

  • 1 month later...

Yeah, I do a bit of coding. I use Visual Basic 6, JavaScript, C#, C++ and Lua. I'm honestly not that bad at VB6 and JavaScript, though everything else is pretty rusty.

Most of the time I code programs designed solely to mess with my absurdly large collection of virtual machines, though i've done web browsers, media players and calculators as well.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...