[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Sup /b/ any programmers out there? I'm learning to code
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.
The stories and information posted here are artistic works of fiction and falsehood.
Only a fool would take anything posted here as fact.
You are currently reading a thread in /b/ - Random

Thread replies: 189
Thread images: 16
File: hitlerwasright.jpg (174 KB, 1860x1239) Image search: [Google]
hitlerwasright.jpg
174 KB, 1860x1239
Sup /b/ any programmers out there? I'm learning to code in C++, my first language ever, been trying to do it for a month or so but I am a very lazy person and just started learning on how to make a program that will use operators( &&, ||) and statements like "if, else ..."

I really like programming but I am always missing inspiration and I feel I need like just that 1% of inspiration to get me going...
Tell me /b/ do you program? How long have you been doing it, what is your favourite programming langauge? Share your opinions, talk.
>>
File: 1462319176036.jpg (16 KB, 680x299) Image search: [Google]
1462319176036.jpg
16 KB, 680x299
>>690139291
Start by learning C first you dipshit.
>>
>>690139291
Don't start with c++. Learn stupid shit like Java first and work your way up.
>>
That is some dogshit CSS, OP.
>>
File: 1451332367713.jpg (16 KB, 320x320) Image search: [Google]
1451332367713.jpg
16 KB, 320x320
fucking nerds
pls kill yourselves
>>
You've been programming for a month and you haven't used an if statement? Or any logical operators? This is a big problem. You're progressing too slowly.
Write something interesting and complicated. Big projects are how you learn the little details. You can refine yourself later, but you need to make yourself create first.
>>
>>690139546
I've heard from many experienced programmers that it doesn't matter with which language begginers start the only important thing is to actually start and get deep into it.
>>
>>690139291

The best thing to do is build something that would interest you... Look up stuff on how to do it, other people's code and just break it down piece by piece. Buy some books and check out Lynda.
>>
>>690139874
>>690140300
>>
>>690139291
thats CSS fucktard, of all languages, not even a programming language
>>
Coding is pretty tiresome and demanding, I've found. I don't really know C++, but you might want to try learning JavaScript in Codecademy first, I've found that foundation to help going into other languages. I think it also helps to put your coding along with something you like. For example, I've been hacking and modding GameCube games recently, and it's been enjoyable.
>>
>>690140300
Yes, as I said I am a very lazy and a very busy person I have only 4 hours of free time and I have to divide them to: gaming, chatting, learning to program.
>>
>>690140472
I just looked for the first picture that looks like a code.
>>
>>690140528
This as well. Hacking at existing code will teach you quite a bit. Never stop hacking at shit.
>>
>>690139291

I would not start with C++. Start with Java or Swift or Javascript.
>>
Started with C but I currently have a job working with Java and some occasional javascript.
Just do a comp sci degree if you want to have a job in it. I found the structure or formal education helped me to learn it, if I didn't have grades to get I wouldn't of bothered doing half the shit I did. Also some other stuff you may learn in a degree besides programming is useful to know
>>
>>690140394
Well I started to do it because I wanted to make a simple shutdown program which I later learned I could make a simple batch file, but what the hell I was already kinda into c++ so I stayed and now progressing slowly.
>>
That's a picture of a CSS sheet...
But it gets the idea of a code thread.

Dude, just try out python. Google "python tutorial," go to the main Python page, and they have a really good introduction.

And you must be a lazy fuck if you couldn't even google a picture of C++ code, cause god knows your dumb ass couldn't make your own.
>>
>>690140835
But what and how am I supossed to hack when I for an example open a program and don't know a single command from it?
>>
>>690141167
Cmd
Shutdown -s
End
>>
>>690141214
Python requires original Windows version, which I have but Python is being a dick and I'm too lazy to make a complaint or some shit.

Although I did try Python and it seemed very simple.
>>
>>690140562
>>>690140300
>Yes, as I said I am a very lazy and a very busy person I have only 4 hours of free time and I have to divide them to: gaming, chatting, learning to program.

Seeing your attitude, I'd say you are not fit to write code.
>>
>>690140660
>a code
>>
File: ESp_12_E.png (921 KB, 923x747) Image search: [Google]
ESp_12_E.png
921 KB, 923x747
>>690139291
I wanted to get started with embedded programming, so I got myself an ESP8266 WiFi module and started working on bugs in NodeMCU source which mostly uses the C language.

Another option, You could always get an arduino (C/C++) and learn programming that way, there are a lot of resources for helping newfags learn to program.
>>
>>690141383
But
I want the user to enter amount of minutes he wants to which would require a program that will also calculate and change seconds to minutes + I wanted an graphical interface aswell, with a nice little box...
>>
>>690141508
Use an online interpreter.
>>
>>690139291
>lazy
>missing inspiration

It's not for you.

I've been writing code since 2009 and I'm currently working on my masters degree in Computer Science.

Favorite language at the moment would be either Java or Python depending on what I'm making
>>
>>690140660
>a code

>spotted the 15yo haxor-wanna-be too dumb to learn shit
>>
>>690141921
It's not for me.
I know.
But I want to fucking make it for me.
>>
>>690141949
>so funny
>>
25 years coding. C++ is a shifty first language to learn. I'd recommend Ruby. There are some good online free courses and it's actually a somewhat useful language.
Also, you need a fuckload more time than you're willing to spend.
>>
>>690141750
There's already an application for that. It's called 'Wise Auto Shutdown'

re-usability is a key factor in the proper way to be a developer. Don't recreate the wheel when it's already been made. Make something new or see if you can find something that is open source and add to it.
>>
>>690142173
not even trying to be funny, simply stating what i thought that probably reflects the reality
>>
>>690139291
>operators( &&, ||) and statements like "if, else ..."

is this a gringe thread?

Also programming in itself is nothing tbqh, try to learn some general programming paradigms first (you do not need a programming language for that), then learn basic algorithmization, then learn math...
>>
>>690142266
I wanted to make it for myself it was like my little challenge that I would work hard for and then after that just continue making newer, harder and better programs.
>>
>>690142344
>not even trying to be funny
That was a close one.
>>
>>690142441
I beg to differ. You ever work with PHP programmers?
>>
>>690142091
Do you think any sort of engineer or most any other real profession had ever said 'I want to make it for me'? It's a passion. Do it because you found it and you enjoy it. If you want this for yourself then you need to read some books on it. If you can't get yourself to sit down and read a few hundred page books about this then it isn't for you buddy. Go get yourself an art degree.
>>
All this shitty advice. Actual programmer here to tell my tale. I was like you, once. I kept trying to learn c++ over and over again using websites and shit, but would grow bored. Eventually, what I did to get it to stick and learn that I actually loved programming, was give myself actually interesting tasks. I started with Python, by the way, and moved on to c++ after that. You'll find python to be a lot more forgiving, and intuitive, than c++, but if you decide to start with c++ there's nothing wrong with that. Anyways, you teach yourself a few concepts. For instance, some basic arithmetic operators and if/else statements, and then assign yourself a task that would use those that isn't trivial (at your level). For instance, you might have the user enter two integers that are less than 10, add them together, and print something out if they're less than ten together, greater than ten, or greater than 15. I know that example is pretty shit, but you'll come up with stuff you find interesting to do. If you can't do that, I recommend the book "Python programming for the absolute beginner" It's cheap as hell, easy to read, and has actually interesting challenges at the end of each chapter to put your new knowledge to the test. Again, I can't stress enough how important these challenges are. It'll help you retain the knowledge, keep things interesting, and actually give you some programs under your belt that aren't just copy-pasted straight from the book or site. Good luck, bro.
>>
>>690142675
Again, bullshit. Fucking around in an easy language for a while will tell you if you like doing it. You can learn the theory once you're interested, not necessary to do it before.
>>
>>690141921

Good point. IMO the best developers are the ones who are extremely materialistic, elitist, and egotistical. The rest of the others who are trying to "make the world a better place" and actually mean it when they mention that phrase while talking about their product are shit-tire programmers who should go back to basic labor.
>>
>>690142675
This is such a bullshit attitude. This guy clearly wants this to be a passion, and he is trying to make it his and embrace it. But this dogshit idea that you have to be "passionate" or naturally talented is absurd. If that were the case all anyone would ever do is jerk off and eat candy all day because we are naturally good at it. Discipline and work ethic go a long way in creating passion. If you want something you have to work hard.
>>
>>690142623
I have not. Also I haven't written a single line in PHP.
>>
>>690142675
I do indeed enjoy it once I get into it.
I am currently reading a book that is written in my langauge.
I read the page, type the code in IDE
Re-think it, see how it works
Ask myself questions like "What if i put this here and remove this from here?"
Then completely delete everything and start all over again, not copy pasting but actualyl doing it, switching shit everywhere.
>>
>>690139546

I disagree, C++ is more useful and more widely used.
>>
I was on the same boat, OP. Then I remembered Homer Simpson's : "If something is to hard to do, then it's not worth doing."
I've never programmed since.
>>
>>690143057
Holy fuck this could be like
the most amazing quote on life and shit
...
>>
>>690142760
Thanks a fucking lot. Really helpful tip and I really like the idea where I assing myself tasks (which i've been already doing but not that much, only 1 or two per a lesson)
>>
>>690141648

Arduino is actually a really helpful way to learn the C/C++ platforms and it has interesting applications as well.

Idk, kinda helps to think about the way your code is interacting with the real world as well.
>>
>>690143222
... and now I'm flipping burgers and shitposting in my spare time.
>>
>>690143546
recommend python also, very basic, very powerful.
>>
Here you go: http://www.codingdojo.com/blog/9-most-in-demand-programming-languages-of-2016/
Though I wouldn't call SQL a real language, it's still kind of essential.
>>
>>690139291
Coding isn't for you. If you only have ~ 4 hours and are a lazy shit you will never get anywhere.
>>
OP go on youtube and watch Makinggameswithben you'll learn a lot of mew stuff easy and hes not a monitone loser.
>>
How do i use goto in html?
>>
>>690143057
You don't MAKE something your passion you fucking retard, You see it and it just IS a passion. I never said anything about naturally talented. And if you aren't passionate in being a creator, and you just want to tinker; then go for it. But you won't get anywhere substantial and you will have wasted days (24 hour chunks, not just a few hours of your day) of your life trying to like something because you wanted so bad to like it. I was going to Double major in EE and CSCI, but guess what? I didn't have the PASSION for EE like I did CSCI, so I dropped it. If you don't have a passion then you don't learn the ins-and-outs that make a good piece of software what it is. It's like an inartistic fuckwad trying to be the next best graphics designer, you have to have some sort of inclination towards what you're doing or it's gonna be a rough road. There is the possibility that you may come to like it; but it's like an ugly girlfriend that cooks and cleans well. You get used to it, but it's not what you really wanted once you get down the road.

Btw, it's said that it requires 10,000 hours to master something. And coding isn't like riding a bike. You can't take a break for a few months and expect to be what you were when you get back at it.
>>
>>690143215
>More widely used
yes

>more useful
no
>>
>>690145335
If you know what you're talking about then you're probably 30+ yrs old and this is a good joke. Otherwise, you're a faggot
>>
>>690144308
SQL is part of the logical paradigm. Good if you're going to do things involving any sort of server communication (job related or exploitation); otherwise don't waste your time on it.
>>
>>690139291
.NET dev here. Worked with several languages in the past. Java, C, Arduino, PHP, C#, ASP.NET and all the stuff that comes with it. I've done C++ for a semester too. Most of the languages are easy to get into but C++ might be a little more tricky as it lets you manage your memory yourself and doesn't do any kind of cleanup after you.

In whatever way you want to learn is up to yourself. If you learn best by trying, falling and getting back up. I'd suggest starting with a different language and then switch to C++ when you're ready. If you have zero experience and look for a language which is really easy to get into.. start with PHP.

Some people just prefer to learn a language itself and rather not switch. All I can say is.. If you want to study to become an actual developer.. Do the first because there's no way you'll ever "just develop in my one preferred language". (I'm a live example of that as I've been hired as an (ASP).NET developer and I'm currently developing in Javascript and PowerShell for some nifty tools)

If you need ideas or inspiration to develop look for jame gams and enter those contests. It doesn't matter if you win or not, but if you do it might be a motivational boost :)

My last advice would be: Build something you love and you'll love to build.
>>
>>690146064
Oh and btw.. Programming is much more than just writing code. A lot of the work is research, designing and architecture. I'd suggest researching on some techniques like UML, Agile (if you're working in teams) and Functional- and technical designing
>>
>>690140562
>I am a very lazy
>Help me be a programmer
>I have 4 hours, but I have to do gaming

Fuck off
>>
>>690143145
It's more important to read the paragraphs, then the code snippets. The paragraphs tell you what the code is doing and you can go back and forth. Malik is a really good author. Most of his books actually require 2 semesters in college to cover, but if you can get through one of his books (like C++ or Java; approx 1600 pages) reading every page and doing most exercises then software development MAY be for you.
>>
>>690145993
>Logical Paradigm
Scratch that, I was thinking of Prolog which works very similar to SQL as they are both based on query type of things where you tell the program to do things rather than defining how it should do it.
>>
>>690139291
>>690140562
1 hour a day is enough for the beginning.
Anyway, you need to get a hook. I wanted to make games, so I always gamified my excercises, or remembered about the goal. I've failed many times, but now I'm better than ever.

Also realize that when you're learning then it's for the sake of learning. It doesn't matter if your tic-tac-toe is shitty, if you can bring it to the end. At the end you'll know what was shitty, write better version, etc.

Also, don't listen to faggots who tell you that java or javascript or shit like that is good. Java sucks big time.

One of the best languages out there? C/C++(speed, teaches you pointers and how the machine works), Perl(good for one-liners), bash, awk, and sed(since you use them a lot, although these aren't really programming languages, these are your basic tools), (common) Lisp(elegance, simplicity, minimalism and the power pythonists couldn't even think of promising you[macros!]), Ruby(decent language), Haskell(elegant functional language with nice strong typing).

Java sucks, because single paradigm(enforced, not as good as marketed), boilerplate, some retarded decisions and shitty coders that are using this language.
Javascript sucks, because it's insane, many idiots have access to that, and it's growing into Java2.
Python sucks, because Guido doesn't know what he's doing(although python sucks less).

If you had 3 languages to learn, I'd go with C++, Common Lisp and Haskell/Ruby(second option if you want a job).

As for me - I've learned C++ first. It's okay, not insane. Just keep progressing and you'll be fine. Take pride in your work and if you do something, try to do it well(but not too well).
>>
>>690140388
Don't start with javascript. You will make me spend like 3 hours on stackoverflow explaining where your "[object Object]" came from.
>>
>>690147399
Author of the post here, forgot to mention - all of these 3 bad languages look good next to PHP. My brain didn't even want to bring this horrible abomination into my mind.
>>
File: division[1].gif (4 KB, 397x257) Image search: [Google]
division[1].gif
4 KB, 397x257
>>690139291
To me assembler is best language, but then I'd rather take something apart instead of put it together.

all the inspiring I've ever needed was wanting to know why /how something works.

I'd say java is the easiest language, because it dose the tidying up for you.

C++ will let you do more, but dose less for you.
C is in my mind better for low level stuff, but don't worry about that for now
>>
>>690139291
Listen to me, don't start with c++, learn Javascript and html+css, or processing api. Trust in me.
>>
>>690147536
Ps
> I have only 4 hours of free time
>gaming
maybe this is what you're looking for
http://hackertyper.com/
>>
>>690139291
Program a waifu AI.
>>
>>690140472
of course CSS is a language, as is html. ppl need to stop being so fuckin elitist.

OP. choose whatever language you like. just make something.
>>
>>690139874
Do this. I know a lot about java but I'm still a student. Once you have a good grasp of what you are doing in java you should start learning other codes such as c, c#, c++ and python. You should focus on languages depending on what kind of a job you want.
>>
>>690147859
Don't ask me why everything says NaN then. Javascript is awesome now, but it requires a discipline that it will not teach you. Further adding html and css as your first languages, you are going to get bogged down with the details because they all have 20 years of history lessons behind them before they make any sense.
>>
>>690139291
Lel. Talks about C++, but pic is CSS which isn't even a programming language. XD
>>
>>690148340
It's markup. It's not programming.

Kids need to stop being so fucking retarded.
>>
ruby is nice.

javascript/css/html is ubiquitous.

never program C for anything more than neckbearding douchbaggery.
>>
>>690148875
markup is programming.
>>
Learn Java. Everything runs on it. If you know Java, you can know anything. And no, Javascript and Java are nothing at all alike. Although, JS is nice to know too, it's just a lot more basic, and limited in its uses.
>>
File: monkey.jpg (334 KB, 500x664) Image search: [Google]
monkey.jpg
334 KB, 500x664
>>690139291
>CSS
maybe this is what you want?
https://www.hackthissite.org/
>>
>>690139291
>Tell me /b/ do you program?
Yes
> How long have you been doing it
I started when I was 8. That makes it 18 years.
> what is your favourite programming langauge?
Ruby

if you're lazy you're not gonna get anywhere.
I'd recommend starting with Python or Ruby, then work your way down as you gain more understanding.
>>
>>690148548
I said js html and css because is quickly to see results, and you don't need to install any shit, notepad and any Web browser and done. Also chrome have all what you need to learn.
>>
>>690149094
"Markup languages are not considered as programming languages."

source:
http://programmers.stackexchange.com/questions/241104/programming-language-vs-markup-language-vs-scripting-language
>>
>>690142091
Computer programming is basically like learning another language but before you can learn about it you first must consider what you want to make computers do. Do you want to be a game developer, a web administrator or a database administrator? What do you want to do with your knowledge of computer programming if you had any? If you don't know what you want to do then think about it. Maybe computer programming just isn't for you if you don't have enough inspiration.
>>
>>690149094
No. It is not.

Markup uses a LANGUAGE, but it is NOT programming. Markup describes the way something looks. CSS and HTML are markup. Programming tells a computer how to do something. What are you programming in CSS? Nothing. When you have conditional statements and variables, you're working with a programming language. HTML and CSS do not, as they are merely used to describe the appearance of something. Markup rides on the surface of programming languages, which actually tell the computer to do something.
>>
>>690142760
thisssssssssssss
>>
>>690139291
don't start with c++, you're too dumb still.
learn something easy like javascript or python first, then move onto something object oriented like c#....then you might be ready for c++
>>
>>690147399
Java is not a single paradigm you fucking retard, It isn't even purely OO
>>
>>690147536
Assembly is the language, assembler is what does the work
>>
>>690147859
This guy is fucking retarded and only does webscripting. Don't listen to him.
>>
>>690149094
This fucking tard
>>
>>690149802
Front-end shit is for basic herp-a-derps. Maybe that's all his brain capacity allows for. Don't knock him for it... ;)
>>
web coder-designer here
PHP (javascript html)

I made this button game yesterday:
Mobile: http://party.zimonh.nl/?page=buttonssmall

desktop:http://party.zimonh.nl/?page=buttons
>>
>>690149984
PHP is fun and all, but you're not gonna make any real money in front-end. End of story.
>>
>>690139291
>>690140528

don't start with javascript
>>
>>690140300
You're destined for failure. Programming isn't something you half ass, if you were passionate about it, you would know more than the first chapter of any fucking programming textbook after a month. Learn CSS or HTML and leave the actual programming to people who give a shit.
>>
Kids these days don't remember BASIC.

10 PRINT FUCK YOU NIGGERFAGGOT
20 GOTO 10
>>
>>690139546
I dont know about that anon i learned c++ well without c
>>
>>690139291
OP, a lot of programmers are lazy as fuck when they first start out. With little skills comes one of two things, either very little inspiration or far too much inspiration which leads beginners to convince themselves they are able to create a whole program that lots of people will use. I was a member of both of these camps for a short while when I first dipped my toes into programming near on 10 years ago, but I quickly learned a technique that helped me get better quickly. Whenever I wanted a simple tool on my computer, maybe a more user friendly shutdown timer, an alarm, etc, I'd make it myself instead of downloading one. Because I had a genuine interest in having these things it gave me good motivation to finish making them, now I make a lot of the tools I use on my PC myself. I'm no professional and I'm damn near docile, but I managed to get good just by doing projects that were small enough to commit to sensibly but just complicated enough to push a little on my boundaries. I started with Basic, moved to Java, then started using C too. Start with whatever language you like, don't listen to the language elitists.
>>
>>690150551
Same guy...as a matter a fact i c++ was the first programming language and im going great at it...im just not handling object and classes well
>>
>>690140261
nerds like this run the world you mongoloid
>>
>>690150485
Because GOTO creates spaghetti code, we moved away from that garbage
>>
>>690150154
I used PHP to build a framework to show and edit my HTML. That way it is fun. Also I make money with spreadsheets, websites support and full design.


I forgot I have been coding for 5 years.
>>
>>690151041
It was a joke, anon.
>>
>>690151044
Great now learn Java and use it to interface directly with database queries for dynamic data representation. :D Can't hurt to pick up some SQL/MySQL along the way.
>>
File: Net_03-1024x855.jpg (118 KB, 1024x855) Image search: [Google]
Net_03-1024x855.jpg
118 KB, 1024x855
My favorite language is F#. I really appreciate how easy it is to read.
>>
File: Crash_Bandicoot1.png (184 KB, 400x270) Image search: [Google]
Crash_Bandicoot1.png
184 KB, 400x270
I recommend reading this.
Its like the Rocky Montage for Programmers!
http://all-things-andy-gavin.com/2011/02/02/making-crash-bandicoot-part-1/
>>
>>690151188
good one dub dubs
>>
>>690150154

>PHP
>Front end

First year comp. sci. faggot detected. If you're using PHP for front end then you're just a fucking fool. Javascript (ignorring Node.js or some other server side js library), HTML and CSS are front end. PHP/C++ (but you really shouldn't be coding sites in C++)/Node.js are back end. Client side vs. server side. Know the difference.

Web dev, however, does not pay very much. You are correct in that.
>>
>>690151626
I FUCKING HATE HOW YOU USE MOTHERFUCKING TABS INSTEAD OF TWO SPACES. Please, do not ever procreate. >:O
>>
File: 1459137753532.gif (2 MB, 500x372) Image search: [Google]
1459137753532.gif
2 MB, 500x372
If you want a very practical set of skills. Start with any object-orientated starter language (e.g. C++, Java). Then branch out to things like HTML + CSS + JavaScript web dev stuff or framework + database(s) + otherstuff
>>
>>690151729
You knew what I meant. Yes, PHP itself is not front end, but it is used in front-end user interfacing. PHP requires server support, and that's its saving grace.
>>
>>690151889
Huh? F# uses two spaces instead of tabs
>>
>>690151626
That screenshot. Those are motherfucking tabs. Never. Do. This.
>>
>>690152375

Those are clearly 4-space indents.

>>690151626
>>
>>690152642
I bet if you selected that, you'd see they're tabs. No mentally healthy individual would use such an insane amount of spaces for indentation.
>>
>>690141508
it works really well on free windows (arrr)
>>
>>690151889

At the very least, most IDEs very easily reformat code for you. I quite often do this when reviewing patches from juniors/3rd parties, because lots of shitty programmers don't follow standards. jetBrains is pretty great, personally.
>>
>>690151889
>>690152588
There's literally nothing wrong with being tab
>>
>>690152831
Yeah I like Sublime Text personally.
>>
>>690152800

I know, I was arguing against >>690152375's claim that they're 2-space indents.
>>
File: CS.gif (2 MB, 320x240) Image search: [Google]
CS.gif
2 MB, 320x240
All of this advice sucks ass.

Read SICP faggots.
>>
File: Iroh_smiling.png (105 KB, 333x250) Image search: [Google]
Iroh_smiling.png
105 KB, 333x250
>>690139291
i dont know shit other than the rough idea of how coding works and the meaning of super basic things from a class i took back in high school

but i believe in u anon

when it comes to other things in regards to building.. well, when i built my own bass guitar from raw lumber, i had 0 fucking woodworking skill. however, i love bass guitars (player, obviously) so i transferred that love into the process, and it was a little bumpy at times but the love of something else rubbed off on it. in the end, i ended up with a bass guitar that im proud of, and i learned a lot about woodworking along the way. maybe if you have something else you like in regards to computers, or some general goal, then you can make it happen and learn in the process
>>
>>690152959
This book is almost a decade older than I am. Tl;dr version?
>>
>>690152118
>PHP requires server support, and that's its saving grace.

Its saving grace? PHP is THE server sided script. Its it own thing. Like html uses your browsers code/software to show a page, PHP uses html.

Also most big sites use PHP Facebook Google , YouTube.

The databases that hold the content look horrible its PHP that makes it all searchable.
>>
>>690153157
The knowledge in it transcends time.
>>
>>690153157
>Einstein's work on relativity is almost a century older than I am.
>Therefore it's not worth studying.
>>
>>690153278
Yeah like your mums tits I'm sure but still, is it like a philosophy or a good set of logical laws to follow?
>>
>>690153410
Yeah great analogy you fucking retard. Compare general relativity to one if literally 10k arbitrary books written on coding.

Dumb fucking retard seriously can't believe you posted that. Log off in shame faggot
>>
File: sicp_snek.png (54 KB, 505x416) Image search: [Google]
sicp_snek.png
54 KB, 505x416
>>690153157
>>
>>690142760

best advice in the thread
>>
>>690153227
What I meant by that is that if it weren't server-side, it would be just as neutered and limited as JavaScript, and, thus, not really that practical of a language to learn if you were interested in doing anything with a more powerful language in the future.

If you only know HTML and CSS, you're not a programmer. You're a designer. If you know PHP along with that, you can safely call yourself a programmer, although, I'd recommend delving further down the rabbit hole eventually.
>>
>>690153479
>>690153628

Just read it. You obviously need it a lot.

Oh how deep have we fallen. I miss /prog/.
>>
>>690151889
>Nigga being mad over the TAB MASTER RACE
>>
File: pythong.png (41 KB, 660x1009) Image search: [Google]
pythong.png
41 KB, 660x1009
Anyone write a router web interface before?
I'm working on one right now
>>
>>690153775
Name literally one reason why I'd need it Brian Griffin.

Worthless cuck, trying to come across well read and interesting with some book but acts avoiding at the simple request for an abstraction. You haven't read it, you just pretend you did. Get cucked you retard, i smell the muritard from here in the civilised world. And yes, that's the proper spelling
>>
File: lel.jpg (97 KB, 865x1077) Image search: [Google]
lel.jpg
97 KB, 865x1077
>>690152940
I didn't say they're 2 space indents... The IDE reformat the code...

I was saying F# doesn't compile code where tab is used.
>>
>>690154214
http://www.techinsider.io/tabs-vs-spaces-from-silicon-valley-2016-5

Tabs are wrong. Dead wrong.
>>
Used to work a lot with C++ and VB.NET, but because of my school wanting to demonstrate that they teach from first principles I've been forced to use pascal primarily for the past 2 years

>Kill me
>>
>>690154561
Lol. See you next week when you give up on all of your programming fantasies.

Go progaming GUIs in Visual Basic you woman.
>>
>>690153767

PHP is a tool like any other language. Depends on what you want to learn. If you want to be a web dev then PHP is fine to learn. It is the one of the most popular languages on the web
>>
>>690155079
I don't know why you're still arguing with me. We're in agreement and have been since the start. XD
>>
>>690154799
I'm not OP hehe, sorry that backfired. Professionally C# in Siebel Systems. Got anything else? Let me guess, you wont get further than bash on C# because someone said that language sucks? Rotfl, muritards and thinking, not a good combo
>>
>>690148470
You should start with python, super easy shit there
at the school i went to we started with c++ and branched to other languages, but now they start the new students in python to give them an idea whats up
>>
>>690155463
Lol, so you are programming GUIs in Visual Basic on steroids!

This is rich.
>>
>>690154561
not him but seriously give it a read or at least skim through it, its actually pretty good.
it focuses more on general programming concepts than a specific language implementation and you can get it for free digitally
web.mit.edu/alexmv/6.037/sicp.pdf
>>
I'm a programmer, I know html and a little css :)
>>
>>690155463
Do you use GitHub at Siebel Systems?
>>
>>690156156
Will do, there are some great books that teach a general wisdom to coding. Which indeed translates to any language

>>690155993
Poor. Try again
>>
>>690156365
No it's also a version control. We personally do use it but generally no. That's system is massive, like 5 times Windows in size
>>
>>690156234
no programmer you are a designer
>>
>>690140026
It looks like it's generated by a preprocessor
>>
File: proud.gif (49 KB, 355x200) Image search: [Google]
proud.gif
49 KB, 355x200
>>690156780
and a faggot. I am seriously impressed with /b/ today. I was expecting so many homos to whiteknight python, but surprisingly its real people tonight.
>>
make games and apps to keep you interested in learning more
>>
>>690157183
I'm a homo but never went near python....

>>690156979 (me)
>>
File: 1327354021468.jpg (8 KB, 285x249) Image search: [Google]
1327354021468.jpg
8 KB, 285x249
Does anyone have ideas for a project that will increase ones programming skills from medium to high?
>>
>>690157608
Why are you quoting me?

>>690154360
Yeh, I've written a few in NodeJS+Express
>inb4 LOL FGT JAVASCRIPT
meh, I like it.
>>
>>690139291

thank me later:

http://codepad.org/

also, word is that C is best language
>>
>>690158562
I looked at Ruby and NodeJS before going with Python
Python lets me accomplish my end goals the fastest because of existing packages
>>
>>690140026
It will have been generated by a CMS
>>
Learn C.
Then use C# or C++.
>>
I learned C++ first, then every language was super easy to learn.

After C++, I learned C# and Java instantly.

C++ is the hardest, but once you know it, you know everything.
>>
>>690139291
Create your own language if you want inspiration
>>
Yes, a couple years, i like Python and Java, but my job doesn't work with either, we use a very unique language that only a handful of companies in the world use. I just work on side projects in my off time to keep my other language skills strong to compensate for not working with a traditional language.
>>
>>690158815
Fair enough, tho I'd be interested to know how long ago you looked at Node, since there are a hell of a lot of packages out there now with NPM.
Not that I'm tryin to change your mind or anything: if Python works for you, great.
>>
>>690159706
And I also realize that "because of existing packages" means that there may have been a specific, obscure package you needed that NPM didn't.
>>
If you want to get a job before you finish high school, you should become an AngularJS guru.
>>
i am learning C#, what i am in for?
>>
>>690158476
Start delving into projects that require a level of concurrent thinking and optimization. Trying to develop simple game programs (not games, more below) is surprisingly good at this, as there are a million ways to program a game but only a few smart ways of making a game run smooth and quick.

Some examples:
>Path finding in a 3-dimensional maze. Expand to N-dimensions.
>AI for checkers, then chess or Amazons. Learning AI search strategies and algorithms and trying to combine/tweak them is very instructive.

Most importantly, work on your documentation and coding style. What makes a good programmer a great programmer is the ability to write elegant solutions that are simple and easy to read.
>>
>>690140300
This.
I made a text-based adventure game to start. Has a simple map which showed updated when you moved and events based on the players position. Simple but will teach you the basics
>>
I'd bet $100 right now that you will never really learn how to code.
>>
>>690159945
Isn't AI for Amazons just
>if(target.isMale){
> attack(target);
> praise(womyn);
>}
?
>>
>>690160420
I would not feel comfortable taking that bet.
>>
>>690160562
You never got passed the pseudo code on Wikipedia did you...
>>
>>690160562
Fuck.

You got me.

Go work for Google you brilliant bastard.
>>
>>690158476
i guess it depends on which skills your trying to hone. but besides general programming advice i would recommend to find an opensource project and contribute to it.
the best exercise is experience. learn working in groups, use vcs and know your toolchain
>>
>>690145649
Calm down neckbeard. Programming at most levels, for most people (unlike things that require a natural talent and passion like composing music or becoming a successful artist) is something that can be learn. Guy wants to become an engineer/programmer, not work at fucking google or facebook. Stop pretending you're a special snowflake because you failed other parts of life.
What you do is like saying you shouldn't start taking pictures because you won't be Mario Testino shooting for Vogue.

For OP: Find interest. At first I found C/C++ boring as well but went to web languages because I wanted to build a blog for me. Later started with C on university anyway
>>
>>690148470

Java is terrible, just start with c#
>>
>>690159945
Is there any good in jumping right into this stuff? I'm a relatively inexperienced programmer (html is a struggle), but my job recently through me at doing some really complicated shit with signal processing and machine learning. I understand all the statistics and math from undergrad, can I into advanced programming without prior knowledge?
>>
>>690161194
Short answer: No.

Long answer: No lol.
>>
>>690161194
Only if you have the ability to be an amazing script kiddy, and if you cant even HTML holy fuck you got no chance commit sudoku.
>>
>>690139291
Here's a pro-tip before you start making retarded mistakes in the future: READ THE FUCKING STANDARDS. READ THE FUCKING STANDARDS. READ THE FUCKING STANDARDS.

Pretty much every programming language that is worth shit has an extremely well documented standard of every aspect of their design. Anything that is non-standard should be avoided unless you have no other way.

Here's one I quickly found of C++: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3690.pdf

You may also want to read more on C++14 or whatever release number it is these days.
>>
>>690161641
Unfortunately, I'm gonna agree. HTML is incredibly easy, and if you don't have the skill to deal with that, programming just may not be for you.
>>
>>690161194
I don't know if you're the guy who wanted to know how to become an advanced programmer but my advice is more for somebody who considers themselves already to be a decent programmer, knows their language of choice very well and all of its structures/nuances/workings, and wants to practice and develop more advanced techniques/thinking.

An example problem I get people to work on is a 10x10 grid with a random configuration of 40 "void" zones and a token placed randomly on one of the remaining squares. The task then is to come up with the fastest solution for calculating the minimum 1-step-at-a-time distance from the token's starting position to every non-void square, and then the minimum chess-queen step to every non-void square.

It's easy enough, if you know your language, to construct the scenario and then come up with simulations to calculate the steps and print the results, it's hard to come up with a clever solution
>>
>>690141921
>Masters in CS
>fav language is Java/Python
>writing code since 2009

this guy is a kissless virgin lol
prolly uses an online interpreter
>>
>>690139874
It's better to learn C. With C you will really understand what you are doing, in other modern languages half of the work is done, but you won't understand what's behind that made up work.
>>
>>690150976
And I'm busy running my dick through your future wives asshole
>>
>>690139874
Fuck yeah! Start with an awful programming language that will only teach you bad coding habits and awful coding conventions.

If you want to have good fundamentals and actually grasp what the fuck your computer is doing, there's quite simply no other answer than C.

C++ is not a bad choice per se, though. It just gets extremely convoluted and bloated at times, but it's also a good learning experience since you'll be forced to push through the awful design mistakes of people in the past, which will most definitely be part of your job if you end up maintaining someone else's code.
>>
>>690162357
No different guy. Cool problem, I'd probably play around with dijkstra's algorithm and different data structures for representing the squares and dijkstra's output, depending on the programming language. So I guess is having an approach the hard part, or is it actually implementing the approach?
Thread replies: 189
Thread images: 16

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.