STEM fags on suicide watch.
>https://techcrunch.com/2017/07/16/death-to-c/
>>134191913
sage
NOOOOOOOOOOOOOOOOO!!!!!!!!
>>134191913
>be a shit java coder
>decide to try C
#include<stdio.h>
main()
{
printf("Hello World")
}
>it throws a error
>too stupid to figure out what error I made
>write a article about how it has errors
>continue programming shitty Java applications that crash and get hacked
>>134192616
Missed a semicolon to terminate the line retard.
>>134192616
literally me
>>134191913
Does anyone here know any Rust?
>>134191913
>Today I am seriously suggesting that when engineers refactor existing C code, especially parsers and other input handlers, they replace it — slowly, bit by bit — with Rust.
>>134191913
>Not writing code in TI Basic
>>134191913
archive
https://archive.is/pt50o
>>134192950
too late friend. I already clicked the non archived link
>>134192994
sorry mate
>>134191913
Problem is they have multiple people on one project instead of one and not only that, they now hiring refugees, each of them adding their own shit into the mix. Good luck shittesting it all.
>>134192828
Rust is too damn hard to learn. It's like a mix between Haskell and C++. Fuck that shit.
>>134192616
return(0);
>>134192616
If you read the article, it is entirely about security flaws in C, which is a reasonable concern.
A good way to write decent code is also to write it in a language you are familiar with.
That being said I agree that a lot of times people make weird choices in programming languages. Saw a job offer for some car component company looking for java programmers.
Wouldn't exactly be my first choice for anything in a car.
>>134192994
You are now marked for life anon.
>>134192616
>continue programming shitty Java applications that crash and get hacked
And that won't work at all in 6 months when Sun/Oracle/Whoever buys the bullshit next releases a patch for a glaring security hole that removes the functionality your shitty half-assed attempt at programming relied upon. Java needs to die. It's a fucking constant nightmare to deal with. Anyone who programs in Java should kys now.
anyone in STEM that understands the larger picture will understand NOT to place all eggs in one basket. the future favors learning several programming languages as opposed to linguistic BS
>>134192616
>current job is web js crap
>but learned on C
>friends on the internet ask how to learn to code
>always tell them C
>no handholding and teaches you everything you need to learn any other language
>someone else tells them to just go with shit like Lua because le game dev xd
>never mind that lua is written in C
>C always loses out in the end
>>134191913
>TEm fags on suicide watch
fify
most c/c++/java jobs are outsourced to indians
learn some random esoteric languages and you can find niche markets
>>134192737
That is why it throws a fucking error you retarded nigger.
>>134191913
I want to learn coding but feel like a retard when I start looking at tutorials on c++.
if you like to write in C++ then you should kill yourself
you either go C or Java, maybe even a TypeScript or Swift
>>134193516
C is not, most companies dont trust the poos with a low level language.
Better learn to fix it then, when the people that have maintained it for the last decade are going to die you'll be in deep shit
>>134193394
tell that to legacy programmers who get paid good money to unfuck proprietary sw; then goes on to create an identical but better prog in a lang that isn't full of security risks/holes
>profit
Java = leafs, turkroaches, jews
c++ = Glorious aryan master race
>>134191913
>STEM fags on suicide watch.
OP did not understand article he linked.
>>134193682
F O R T R A N
O
R
T
R
A
N
>>134193644
I don't trust them with anything, they are fucking retarded
>>134193731
what's the output? pic rel
>>134193644
yeah guess it wasn't fair to include c on that list.
return 0;
>>134193612
don't worry, coding is only meant for the super autistic
>>134193236
What you are saying is the same as comparing a Mac to a PC in the early 2000s
>Mac is hack proof Durr hurr
It wasnt...it's just that no one used it so there was no point in hacking it
>>134193644
Is that why USA is 30% white and Canada following your lead?
>>134192856
why is this dumb bitch everywhere i look?
is she the new mascot of pop-science?
@echo off
:nigger
start
goto nigger
>>134192616
learn go
>>134193788
ur a faget
Ehh Neo Programmers
>>134193444
for most peoples purposes they need to be more vocational in their programming education. Find a platform that has high demand and learn a higher level language or two enough so that you can adapt to changing technologies.
> this fucking article
What is algol :S
Also, C++14 and beyond is as "safe" as Rust. Tired of this Rust autism, which GUESS WHAT is built on the llvm compiler which SUPRISE is written in C++
for (int i = 0; i < 100; ++i)
{
std::cout << "DELETE THIS\n;
}
>>134191913
I hire peons to do that for me. My special skill is adjusting your bridge to 1/10th of a mm accuracy using a tool spinning at 200,000 RPM without hitting your tongue.
I'll be sure to throw my IT guy a shekel to help him over this tragedy.
>>134193837
I am super autistic though.
>>134194114
Do you know who invented mobile phone?
>>134192616
>tfw learned both Java and C++ in my first year of college
Get on my idort level.
>>134191913
>https://techcrunch.com/2017/07/16/death-to-c/
Hi /g/
Also:
>Rust
GTFO
>>134194206
Dentists are the niggers of the medical industry.
>>134191913
coming from the rag of faggot pump-and-dump promoters this is probably an indication that C/C++ are on the rise.
>>134193788
>boost
Not an argument. Nobody defends boost.
>>134191913
>some nobody
>parroting another nobody
>because the other nobody self-submitted an article to slashdot
yeah C is going away because nu-men with undescended testes and beards say so.
>learn lisp
>make ai
>dont have to do low lvl programming ever again
aint easy being cheesy
also retard that wrote the article cant code, so its not c's fault
>>134192856
>cumming in that
>>134194498
do you have experience with ai programming? is Haskell good for it?
>>134194219
let me think .. Holly Jobs ? Not... Mobile phone is just extension of old phone and CB radio.
>>134193644
most companies regret contracting with poo's. the only proper way to do it is to have a full blooded poo member of your executive team living over there managing the poo dev team. otherwise communication errors, frustration, and wasted time will ensue.
I met a guy who sold his company for 150 million and a big part of that valuation was that he had a solid 80 man dev team in India that had a solid track record of producing and the only reason he was able to swing that is that his poo in loo cofounder was living there for 5 years building that dev team
>>134194173
for (int i = 0; int x = 100; i++){
Console.WriteLine("Just cuck my shit up senpai");
}
>>134194717
why did they photoshop this nigger all weird
>>134192616
my man
>>134194594
>pic
hot
>>134194774
what have you done you retard
this isn't a proper loop syntax
>>134194352
most dentists are jews
>>134194924
C# nigger
>>134193867
No.
C has certain design choices that, even though it gives for control to the developer, will in a large enough project result in security flaws.
>>134194924
wait no you're right I fucked it up
>>134194318
>Spent one year with two languages
>"learned"
This is always I'm always suspicious when someone calls themselves a programmer
>>134194971
it is wrong.
>>134191913
I agree. Letting users do manual labor of handling memory and pointers - when a machine could do that without ever making a mistake - is stupid
Please rip c/c++
>>134191913
I don't think the author/twitter fags realize C is not C+, C++, or C#.
>>134194774
>C#
>>134193778
yes, as clients like ARAMCO still ask the industry to change their FORTRAN to "something newer". Why tell them they should start over with a new proprietary language when you can milk sand niggers for 6 figures.
meet the scope of their contract. meanwhile, use it as an opportunity for repeat business once you've sold them on the idea of going with a proprietary platform
>profit
>>134193806
C++ is much more dangerous in the hands of a poo.
Its much easier to turn into a mess.
>>134192737
Way to miss the point you bigger
>>134195096
>cuck
>>134195039
>learning languages
>not understanding the fundamentals of language types, making syntax irrelevant
That's the difference between pajeet tier faggot and a professional autist.
Let's play a game, what's the shortest amount of code you can use to crash a computer.
Worried about security flaws in C/C++? One should be worried about all the client side javascript validating input and then sending that "trusted" data to the server. Programmers are the major flaw in any language.
>>134195039
>y-you're not a REAL programmer unless you've been banging your head against a language wall for years like me!
Protip: Some people learn faster than others. Just because it took you 18 months to learn what an array is doesn't mean everyone else is as stupid as you.
>>134195214
not an argument
>>134194975
I never denied that but the main reason Rust iant being hacked is because there's no incentive to do that as almost all programs are written in C(almost every high level language is written in C)
>>134194352
Most are low energy followers that have been beaten down by d-school.
>>134194206
there is a huge future for the CNC's; as they are the basis for much of the robotics industry. any time accuracy is required to be .0004" - .0010" (or metric conv), nothing beats X, Y, Z pico-level preciseness
>>134191913
C is the chink of programming languages.
>>134194784
Ehh its not this poly looking black guy there .. it's representing level of education those days..
Its form advert of some trech school.
Take a close attention how they holding Soldering Ion !!!
This is a hot air soldering station, the metal on its end getting hot up to 450 deg C ( about 842 Fahrenheit ) who ever will hold this when its on will be burned. Only Uneducated Imbecil can post this as poster campaign for tech school.
>>134195364
garbage collector is shit. it is possible to code a program without erros using pointers.
>>134193620
>you either go C or Java, maybe even a TypeScript or Swift
The last two are a waste of fucking time. Java is crap. What the fuck is the point of learning C if you can't be bothered to understand C++, too?
The problem isn't with C. It's with mental inferiors being let into the programming world and turned loose to write code for critical systems. C isn't conspiring against them. They're just stupid.
>>134195346
Yeah I'm sure your git account is very impressive
>>134193612
Learn JavaScript first
>>134194797
sauce
>>134194114
What did steve jobs even do anyway besides just tell his technician slaves what he wanted his shit to look like.
Remember these old imacs? they were atrocious.
Rust is meme language. Good for fun, has functional features which are nice but I have yet to see a single job offer for Rust programmer anywhere. The amount of compilers for all kinds of architectures imaginable that exist for C is still unmached even by its close relative C++. I see no reason why would anyone exchange something that's basically portable assembler for some niche crap for neckbeards.
>>134193778
>F O R T R A N
Most programs I wrote as a grad in physics were in fortran. We still use it and it works fine.
>>134191913
Yeah that's never going to happen.
C++ has threading features now, it will live another 20+ years.
Every time a new language comes out everyone jumps for joy and excitement and then no one uses it. It's all a circle jerk.
>>134194318
>LEARNED A LANGUAGE
spotted the le coder faggot
>>134195311
while (1){malloc (1)};
>>134191913
>you do not have to use OS writing language from 70s for every task
Who might have guessed.
>suicide watch
Standing that watch last 25 years. But C is still here.
>>134193941
>>134195484
Not going to supplant dentistry anytime soon. The variation in context is too great. Every device I've seen that tried to automate a process has failed.
When I started, I had the same question - why the fuck isn't this automated?
Best case scenario -you'd need a different device for every procedure; so now you have ten different robots in your office.
Prosthodontics may be a different story, but that's too autistic for my liking.
>>134195798
Same here. :3
>>134191913
>killing the language driving everything
good luck m8
>>134195706
Nah, fuck that, vbscript is where it's at.
>>134195633
Agree. Most of the problem is that they teach kids Java or le c#. Both suck at handling memory. My 12 year old could handle memory better then those
Is c a meme? Is it even relevant given c++m
>>134195706
>JS
>programming language
>>134195311
int 0
>>134195854
>>134192616
B-but Minecraft was made in Java so it's the best.
friendly reminder that programmers are the garbage men of computer science
worthless tier job that a monkey could do
>>134195809
>C++ has threading features now
>now
It just standardized api for them. Threads are OS facility, not language.
http://nullprogram.com/blog/2015/05/15/
>>134193612
Tutorials are shit, read books.
>>134195954
Whatvis it then?
Java is the standard language at university now, so fucking ridiculously bloated with abstractions.
Javascript is godmode, C++ is good too but it does take more time to write shit out than with JS. The full on memory control isn't as important unless you're working with very limited hardware.
>First year uni
>Writing in Java
>3 term assignments
>Assignment 1: Write interfaces and enums
>Assignment 2: Write unit tests for the interfaces
>Assignment 3: Write the actual fucking code, which could've been done in the first place.
And... Fuck Scrum and all that "muh agile" project management horse shit
>>134193612
The only real difficulty with C++ compared to modern languages is the manual memory management and that every non-trivial functionality is tacked on via external frameworks like std and boost.
(t. C++ coder for 15 years)
>>134195633
90% of the time gc programs do what you want.
>>134196054
It's part of the C++ standard library, no one is saying it isn't part of the OS. But compiler vendors now have to include a threading library--great for people actually using C++.
Such as, game developers wanting to write multi-threaded game engines.
>>134195674
>mental inferiors being let into the programming world and turned loose to write code for critical systems
Fucking this, so this. I'm a sysadmin/netadmin/dba turned manager. My coding skills are basic scripting and web programming. And I still know more than most of the lazy ass code niggers that write the "software" I have to deal with. I fucking hate programmers, not a week goes by that I don't scream in frustration over a shitty application's shitty behavior due to some fucking code nigger's laziness. One vendor's suggestion was to schedule a reboot of the server nightly to resolve a memory leak. Fucking seriously. Fuck programmers. Fuck you all in your lazy nigger asses.
>>134191913
/prog/ is back!
AWESOME!
>>134194318
>learned C++
>first year of college
Oh boy.
>>134191913
>cuckcrunch
I miss the old Techcrunch, when Arrington was in charge. They've gone so far SJW cultural marxism, it's crazy.
Funny though, for a moment they replaced their TV anchor with a literal sheboon, but nobody was watching it, so now it's a kooky white guy again. But it don't matta, old Techrunch is gone. Fucking liberals ruin everything.
>i'm gonna work for video games
>>134196178
Dont you yse smart pointers.
>>134196108
CS degree is shit desu.
>>134191913
fuck you all I'm using NIM
>>134194717
No an expert, but that's not how you hold that thingy. Unless you want to burn your hands.
>>134195898
vbscript is great, but if you're doing scripting for windows, Powershell is fucking king. I'm constantly surprised at how powerful it is, no pun intended.
>>134191913
C++ is racist
>>134196296
>CS degree is shit desu
>i'm literally retarded: the post
>>134196108
It's probably better you get mocked on /pol/ for not knowing Java and JS aren't the same thing, as opposed to in a job interview.
>>134195748
True... Jobs was a Clown with Idea how it should look like what color should be etc.
Its Like you try to design a program/game etc.
you will fins hundred of people who will be happy to join you, they all will have great ideas. But when you want to sit down and get some work from them they has no idea how wrote Graphic engine no one know STL, OpenGL Dirext X, but all of them are happy to design logo and Palette scheme, fonts etc...
99% are useless, true coder is no one who is manufactured in education system, is the guy who learn for himself.
Take a look at this.
Old but still kicking ass.
https://www.youtube.com/watch?v=jB0vBmiTr6o&ytbChannel=Demoscene%20High-Quality%20Videos%20(Annikras)
For people like them who created this, i can bend my neck.
>>134196238
What do you mean?
>>134196108
>Hurr durr look at me, I don't understand software architecture cuz I'm 89iq retard
Also, javascritp is absolute garbage, for bearded hipsters, I sincerely hope that it gets replaced by typescript or something else like that to make it at least partially usable.
>>134196296
Sure, but you really need to know how plain pointers work before you start using the 'smart' stuff.
>>134195346
>learn what an array is
Jesus Christ. You have mastered the hardest part of programming in just one year?????
C# is the greatest language of all time. The simple syntax and powerful libraries make it a breeze to work with.
>>134196108
I know that feel lad, where are you from? We had the EXACT same setup as you described at uni here
>>134196368
The quality of materials and lectures in cs is much lower that in maths departmen in my uni.
>>134196266
He literally could have just made y=x, couldn't he
>not learning ASM, Haskell and ATS
>>134194717
That picture is hilarious: "Hey Diversity, hold this heat gun so we can get a picture and show everyone how smart you are."
>>134196383
>le object oriented language face
>>134196434
>arrays are the hardest part of programming
This thread's getting good.
>>134196453
> 0 instruments to draw a graph in wpf
>>134195633
>it is possible to code a program without erros using pointers
It is also possible to fuck a crocodile and stay alive.
>>134196530
Yes, that is the joke
>>134196518
yeah because your university has to water down its CS content for its shit students
Death to C++.
>>134191913
I once saw a joke of how verbose Java is vs say C#, it was a page full of java code vs a couple lines, anyone got a copy?
>>134192616
>main has no type
>missing semicolon
>no return statement
i hope your visa gets revoked, poo poo
>>134196666
just making sure I hadn't gone retarded, thanks super satan
Haha I just noticed this dumb cunt is recommending Rust (ugly and will never be finished) rather than Go (well designed and complete and stable for years and years).
It's almost as if you have to be a clueless tit to be a journalist of any kind.
>>134196604
With NuGet, it takes about four clicks to install a library for that.
>>134196652
I thought russians were good at coding.
>>134196453
LOL wrote me please a graphic engine.
OpenGL, fast 3mil faces visible on scene tessellation, refraction, reflection, particle simulation, 4GB of textures, etc
ach and it should be ported on console APU.
Have funn
>>134196266
I've seen worse, far worse.
>>134192616
>Return 0;
>>134196847
>>134195311
for(;;) fork();
>>134196835
Performance is a thing of the past, grandpa. If your silly 3D engine doesn't run fast enough, just buy a better PC.
Manual memory allocation is for masochists and architecture specific assembly. If you use C you're a retard as far as I'm concerned.
I wouldn't hire any programmer that couldn't write a bubble sort routine in standard c from memory.
>>134195311
a:fork();goto a;
>>134196368
get me a job then faggot
can use C, C++, C#, Java
don't like competing with poo in loos freelance and there aren't any tech companies in my rural ass area.
>>134196317
++ for you it is not :)
>>134196689
auto f[] = { std::cout<<"No."<<std::endl; };
f();
>>134196266
how about y = x?
>>134196996
Why such a generally useless algorithm? No one memorises anything about bubble sort.
>>134197040
>programmer
find yourself a job you fucking tap dancing monkey
>>134191913
Thank God I chose accounting.
>>134195954
It may not be resource efficient, but it's still turing complete, bruh-chan
>>134196996
What if they know C really well, but don't remember how bubble sort works? Would you dismiss a potentially good programmer for failing a memory quiz?
>>134196976
Agreed.
destructors are the way to go, and the STL containers are amazing.
>>134197135
I bet you don't even know how to use the STL containers, fuckboy.
>>134191913
AYY OOO COMPUTER CODING BE TOO HARD FOR DA BLACK MAN AND WIMMYN, DAT WEY WHITEY AN CHINESE WANT TO KEEP DA BLACK MAN AN WIMMEN DOWN.
>copy paste everything from the internet
>piece it together and change variable names
>after 4 hours it may work
>if not ask a TA to fix it for you
>this all could have taken 30 min tops if you had just learned to code
>graduate honors in CS
This is the state of my university I hate everyone here it's my last year and I cant wait to get out of this hell hole.
>>134191913
falling for the Rust meme
don't get me wrong, I do think is a good alternative
but good luck getting rid of 30+ year technology that basically runs THE WHOLE FUCKING WORLD
I bet the author was one of the
> Java is about to replace all outdated COBOL banking systems, anon
>>134196835
god I think that chicken has aids
>>134197274
>>134196008
butt what if ...you use Java as a method of teaching STEM maxims so that you fool smart people into learning without telling them, by creating STEMcraft
>>134196453
>Pay Microshit $700 for each Visual Studio developer license
>Locked into running on Microshit computers (no thank you complicated emulators)
>Huge ecosystem of free software libraries and utilities unavailable (unlike Java and C worlds)
>>134196266
>>134196874
>>134195733
my dad's whatsapp.
I phished his pass years ago
kek
>>134194774
.NET fag detected
>>134196996
Why would you be hiring programmers in the first place, you NEET faggot?
>>134196804
>main has no type
Norm in K&R vintage (not that you should write like that since 1980)
>no return statement
Will still work on x86/x64_86 (not that you should ever do it)
>>134197533
>>134197094
>Std count=0
I bet you tell all the bois that, anon
>>134191913
>C sucks!!11
>My argument: It gives its users far too much artillery with which to shoot their feet off.
C is requires too much responsibility for the currect generation of fucking imbecile 'programmers' in fucking deed
>array index checking huuuuh
>what is off by one!11
>why aren't function pointers hidden by stupid keywords and language constructions?//
>heap overflow?? lol security by obscurity I dunno what the fuck is going on and neither does the rest of the world
>what colour is 0x0113FF89 and what does segmentation fault mean??
Go ahead, make your OS in java and your hardware drivers in whatever retarded abomination appleturd approved language you can come up with.
>>134197565
So bad that its good
>>134195748
I heard when they first gave him an iphone prototype, he put it in a fish tank, when bubbles came out, he said "see? Theres still space in it you can use"
>>134196976
malloc and calloc are only for those who can deal with memory architecture and management. Most people can't even write their variable names consistently without an ide.
>>134192616
>claims to be java coder
>can't even follow java conventions like functions having types and statements finishing in a semicolon
>>134197184
>potentially good programmer
>don't remember how bubble sort works
>>134196825
>Go
>errors as return value
>no pattern matching
>well designed
It's as clumsy as C. Without excuse of being low-level and old.
>>134195854
cheeky cunt
>>134196737
Scala
Less verbose than Java
More programming constructs than Java
Compiles to Java bytecode/JVM
Free like Java
>>134197653
you might get a kick out of this, pic related
https://news.ycombinator.com/item?id=2657277
>>134196898
it will crash a program not a system :)
i will try to use recursive function calling itself.
void main(){
recursion();
}
float recursion(float i){
float j;
return(recursion(float j);
}
// this should call itself forever and fill memory with shit.,
>>134195942
is this bait?
>>134197117
>memorises anything about bubble sort
That's the point, you can reinvent bubble sort (or naive insert sort) in 5 minutes.
It's test of thinking ability, not memory.
>>134191913
Its about time
>>134191913
Not gonna happen, never gonna happen.
To this day, arduinos are the fucking standard for prototyping embedded systems.
It's never gonna die. Embedded systems run the world, not IOT raspberry pis that fucking crash all the time and depend on servers.
Besides C hasn't really lost the coding marketshare, shitloads of new languages are competing with them so it hasn't had much time to grow.
>>134192856
>>134192616
#include <stdio.h>
int main()
{
printf("Hello World.");
return 0;
}
>>134196084
>Whatvis it then?
>implicit casting
>default object
>everything is float
>retarded stdlib
Mostly shit.
>>134197696
a good programmer can be self-taught, in which case they probably didn't waste time learning suboptimal sorting algorithms when every language includes some kind of quicksort implementation
mfw everyone keeps a safe distance from (((php))) tho
>>134196108
spotted the frontend fag
I bet you don't even do your own CSSs, and call yourself
> full stack developer
>>134197856
/prog/ was a mistake
>>134197726
>>errors as return value
This, Go really needs try and catch
>>134198080
>>134198051
>(((PHP))) mascot is also an (((Elephant)))
>>134196266
Seen this? Can anyone improve this code?
>>134192616
>>134191913
Is the C programming language a symbol of the patriarchy? Why should women have to learn how pointers to pointers work, it's clearly institutionalized racism against minorities who can't understand math.
All new code should be written in Go and only by black lesbian women.
t. Jon Evans, beta nu-male who can't write C code
>>134197856
full thread: https://archive.tinychan.org/read/prog/1295544154
>>134198243
>>134191913
>>134197889
>Not sure if bait?
muh memory leak
>Humans should never do their own memory management? #CleanUpOnDestruction #CleanUpInTheCatchBlock
getsmessy.gif
>could be gould? is this creative destruction?
naa, prob ANTIFA liberal arts major doesn't know what's going on
probs
heard it on Facebook
https://www.youtube.com/watch?v=0To8NmwJ8Mk
>>134193223
sounds like a barrel of laughs ... not!
>>134198243
This is satire right?
>>134197861
Forkbomb (>>134196898) has chance of making system unusable. Filling memory inside single process has not.
>>134195311
simplest answer is install windows op System .. Job Done .. btw what I win ?
>>134197856
This is incredible anon. It's so retarded but it takes some real creativity to come up with something like this.
>>134197959
This shit has to be a joke right... right?
>>134198284
oh fuck i forgot about this post
somethings never change
also confirm these digits
>>134197726
>>errors as [one of any number of] return value[s]
Which is good, that's how I want a language to be. I don't like exception handling or esoteric Haskell/ML bullshit.
>>no pattern matching
Quite a niche feature. If I felt crippled by a lack of pattern matching, I'd use Scheme all the time. Just use switch and alt, my dude.
>>134197909
If you say "implement a sorting algorithm that does such-and-such each step", that's reasonable. But it's really quicksort that an interviewer should be asking for. If someone doesn't know the characteristics of quicksort, they're probably not a programmer.
>>134198128
STOP
>>134191913
CNC machining is a lot more rewarding and less degenerate. Glad I didn't get too far into c++, although my comptia a+ is still valid. Currently taking numerical control at college. completed blueprint reading 1 and 2, machine practice and theory 1 and 2, now taking numerical control and intro into cam for lathe, and then the semester after this I will take mills, not to mention 3 years on the job experience. I make stuff that goes on spacex rockets, seen the blueprints for the specific parts I made, nothing too special but hey I can at least say I build stuff that goes on spacex rockets, while you can go compete with pajeet making dildo simulators.
pathetic
>>134198032
>int main(int, char**)
>>134191913
Good. That language, although incredible efficient, is attricous to read. Modern languages ftw.
>>134198485
>forgot pic
>>134198243
>>134198299
STOP IT
>>134197911
This isn't Sasha, who I this again? I remember she was popular for about a year and suddenly disappeared.
Speaking of missing porn stars I really miss Liz Vicious
Clickbait headline shit. Author isn't saying anything that hasn't been already been said repeatedly for years.
BUT: he's right that an incredible amount of bugs, including dangerous security flaws, are due to manual management and a general lack of bounds checking in C. Many, probably most, programmers don't think about security at all when they code, they work under the implicit assumption that incoming data is clean and sanitised. "New" security flaws still get discovered in software that has been in use for years or even decades.
>>134198351
usually your os protects you from spawning too many childs
>>134198510
if you want command line arguments yes, but they aren't used in that example, standard form would have them named so you can use them.
#include <iostream>
int main(int argc, char *argv[])
{
std::cout << "Hello World." << std::endl;
return 0;
}
argc being the Argument Count, and argv being an array of points to C strings--the arguments divided into separate strings.
helloworld.exe 500 1000
>argc = 2
>argv[] = "500", "1000"
>>134198510
which alt keys do I use to access the unprintable local variables?
>>134198610
How to write secure C: use the OpenBSD libc functions and THINK about what you're writing.
>>134197959
>expensive SWIPL food
>girls who code meme
>spelling code with a k
>lol join our startup tee hee ;)
>code on screen is bullshit
This is my last time posting on 4chan going to go hang myself now bye guys.
>>134196234
wat?
>>134194709
Haskell is only good for impressing your com. sci. professor.
>>134198243
I dare you to do better.
>>134197861
>i don't understand what fork does or how it works
t. poojeet
thanks for reminding me that my job is under no threat from people like you.
>>134194709
LISP was literally invented for use with AI in mind
>>134198784
>*argv[]
C++ retard detected.
Remove subhuman.
>>134197614
>what colour is 0x0113FF89 and what does segmentation fault mean
you made my day
>>134198486
Go is just some C programmer trying to be hip and failing at it. Try and catch is what we learned from C's terrible error handling.
>>134198040
Js is shit, but it is the only way to write for browsers. Also typescript makes it much better.
>>134198857
what if b is negative?
>>134195633
not for your average idiot wannabe programmer.
>>134198486
>Which is good
>errors are silently ignored if not checked explicitly
No it isn't.
>Quite a niche feature. Just use switch and alt,
>Legs are quite a niche feature. Just shuffle on stumps or use hands to crawl
Especially in context of Go error handling. Erlang has similar error policy - return value for most errors, exceptions for panics/wtf-just-happened. But Erlang has pattern matching, so you just write
{ok, Return} = blah:foo(1, 2, 3).
If function returns {error, E} - process will crash. No 'if err' boilerplate, just single assignment.
>But C is no longer suitable for this world which C has built.
stoppe reading
eh mybe will continue but later
in any case no C is a very good basis, a non esoteric no-bullshit language that is clear, simple, and effective.
Before c++11 I already felt that only a subset of c++ should even be used because it is slightly bloated, but without that being a big problem.
c++11 made this language such an esoteric and bloated mess I have zero interest working with the language I once liked.
OOP is another overrated and mostly ideological introduction into the programming world we could do with less of it.
>>134195674
this
>>134198947
>C++ retard detected.
heh heh
>C++
>retard
Pick only one.
http://www.cplusplus.com/reference/stl/
>>134198857
where did b go anon?
>>134195798
ok grandad, but we have progressed since then
>>134198955
try and catch have real world uses for C++, exceptions are intended for actual exceptional circumstances, such as a hard drive failing.
It is not to be used as a "flow control" mechanism like in other languages (C#).
>>134198642
true if you want to crash system you need to start using recurrence and copy in them lots of pointers for pointing system resources, as clock I/O in windows you still has direct access to some hardware resource, you can buger off system this way. com ports Usb DMA chanels, most of graphics driver has so many bugs tipping windows isn't that difficult at all .
>>134198799
Wut?
>>134198234
really makes ya' think tho
>>134199211
t. toothpaste
>>134199160
I know a pointer to a pointer array is a little too much for your feeble C++ mind. It's cool little man.
>>134191913
(((who))) could be behind this?
>>134199254
>It is not to be used as a "flow control" mechanism like in other languages (C#).
Nothing wrong with it, otherwise you end up writing if error return in every fucking method. And if you miss one, then god help you.
>>134199319
LOL, just stop. I know you want to participate but this is just pedantic.
>>134199330
NOT ME
>>134195706
DO NOT DO THIS
JS IS FUCKING SHIT
DYNAMIC TYPING IS FUCKING CANCER
>>134198262
The C is short for Collusion Against Women.
>>134199371
it destroys performance, if you need that kind of error handling then it has to be designed into it.
>>134198913
as long as you don't get busted playing COD on the company combooter with all of that spare time letting LISP do the menial work
>>134199292
Well it's a Swede. I thought he made it himself.
>>134199022
:^)
>>134197959
Here we go again...
>>134198784
>they aren't used in that example
Not a valid excuse for not including arguments into function signature. Honestly, it's even larger blunder than skipping default int return type. (int f(int) is identical to f(int). int f() is not same as int f(int))
>>134199460
>>134199496
Guess the colour of his player character
>>134192856
extremely hot, explosive!
>>134196008
Minecraft was ported to C++
They needed to do this to get it to run on PS4, Xbox, etc.
They also needed that to get it to work properly on Windows 10 2 years go.
https://mojang.com/2015/07/announcing-minecraft-windows-10-edition-beta/
>>134198855
It's also a good for drunk party banter (assuming you drink with autists, neckbeards from comp.sci department and bank programmers)
>>134199433
>performance
Oh please, hardware is cheap, code and people are expensive. Just look at that nyaa pantsu piece of shit.
>>134192994
For shame anon, for shame.
Now the nord anon will hunt you to death.
Protip: immediately discard anything that groups together C and C++ in this manner
>C/C++
It's the fastest way to let people know that you don't know what the fuck you're talking about.
>>134198857
return (a / (1 / b));
C is what you make of it.
pic related - winner of 1986 International Obscure C Code Contest
>>134198955
>>>>>>some C programmer
The authors of Unix, the with glaring exception of Ritchie who's dead.
>Try and catch
Kill yourself ASAP.
>>134199153
Don't ignore errors, then. In any case, with multiple return values (which is most functions that can return an error), you must explicitly ignore errors.
>If function returns {error, E} - process will crash.
No thank you. Most error returns are not crashes. This is the problem with exceptionsfags -- they use this behaviour as an excuse to be lazy, so that their programs usually crash over the most mundane of "errors", like a file being nonexistent.
Really it's YOU who ignores "errors". You just panic.
>>134191913
Soon to be replaced by the most easier and powerful C-NT++
>>134199745
>what is int
>>134199741
This.
>>134199741
This. The retard that wrote that article probably couldn't name one actual version of C either
>>134199558
>tfw your boss realizes coding is easy
The gravy train is over. Programmers all over the world are about to be replaced with little girls who are paid 78 cents on the dollar.
>>134192881
>writing apps for acing (acing not passing) math class
good times
>>134199763
This is Nice code :)
You reward.
https://www.youtube.com/watch?v=2JzG-Y3YOdk&ytbChannel=zebracolor1
>>134195311
:(){ :|: & };:
Works even as non-root
>>134199006
And now we got WASM. So you can write in C for browsers.
>>134199558
How dow we fix nu-code?
>>134191913
>death to C
As a DevOps guy who occasionally has to fix whatever the retard devs are doing (though I suck at full dev), thank God.
That's one less language I have to pretend I understand.
Fuck C, C++; fuck Rust. Literally you like Rust because it's more like Lisp.
Lisp is the end-all-be-all. Aliens use Lisp.
>>134199406
why is it that there are so few jewish programmers?
all you have is zuckcuck I think.
>>134199371
Tell me why try { } catch ......... is so much preferable to if err != nil. For a start it's more bloody verbose.
>>134199717
>Just look at that nyaa pantsu piece of shit.
Written in an evening, stable and lightning fast?
>>134199741
Yes.
Recommend me a programming language to learn. I have no experience with programming and started to build websites for fun.
>>134200006
>why is it that there are so few jewish programmers?
Nigga are you retarded?
>>134199953
Just wait a few months after one of them gets a job writing something that can kill people if it fucks up.
People hate languages like C because they take skill to wield. Enjoy your bloatware apps that run slower on your phone, than the equivalent 20 years ago, even with 100x more flops than some ancient computers.
>>134199861
>girls
:^]
>>134199861
>This is how "New Game" was created.
>>134191913
Whatever, I do most of my shit in either Java, C# or Xamarin.
Make my day you fucktards
tfw working where C was invented
>>134200067
Learn Ruby on Rails anon, it's great and awesome and you can always come to threads like these to ask any questions about it.
>>134199988
Write More Lisp
>>134200067
Java. People who say easy shit like Python or Ruby are talking out of their ass because they're too abstract and you won't learn half the theory that's required to be a good programmer (like type theory, memory allocation etc.)
>>134200067
Start with BlueJ
continue on C#
Good luck.
>>134194206
>i use a dremel tool
>I'm important
>>134200127
>Enjoy your bloatware apps that run slower on your phone, than the equivalent 20 years ago, even with 100x more flops than some ancient computers.
how is this even remotely related to C? Also C is good at what it's made for, anything close to the hardware.
For user-applications it's 100% shit because muh security. Enjoy your fucking strcat()
>>134200006
OY VEEYYYYYY
>>134200067
>Easy scripts
Bash, Python
>Object-Oriented Programming
Java or Go
Start by using linux and getting use to the console command. Console command is Bash and most schools skip it entirely, which is retarded. While you're using linux and slowly picking up bash piece by piece to figure out what to do, actively work on python.
Once you have bash and python you're ready to work on object oriented languages...though python can be object oriented. It gets hazy.
>>134200304
Use strlcat and strlcpy.
>>134199459
That's shit son. What is 6x-5? Error?
>>134199460
OLLLLLLD:
https://en.wikipedia.org/wiki/Fast_inverse_square_root#Overview_of_the_code
>>134192737
This is what autism looks like
>>134199460
if you want to return max can't you just do
>return a >= b ? a : b
and why the fuck does that need it's own function
>>134200381
Don't confuse him. Secure functions take too many arguments.
>>134199787
>Most error returns are not crashes
Most error returns ARE crashes. You just never realised how much can go wrong in even moderately complex program. And I am not in aerospace, to handle 'random file read failed because file was on NFS and router had a brainfart'.
>crash over the most mundane of "errors", like a file being nonexistent
As opposed to what? If you expect that file can be missing - yes, check for error. Otherwise crash is only option.
>>134200202
Pajeet, my son.
>>134199156
>null terminated strings
No
>>134198243
if it's not cheating you can use a/(1/b)
>>134193788
I know fuck all about programming but it is stacked and unreadable, made by a nigger I bet. Lines are free to use, separate them!
Terry was right
>>134200459
Who multiplies by negative numbers outside of school?
Welcome to the real world. College-level math is useless here.
>>134200494
Do not get yourself headaches over this anon, nobody understand wtf is going on in her mind.
>>134200477
so wait, Quake 3 guy who coded that was somewhat of a hero/genius?
and Karlie Kloss is a retard who doesn't understand this?
>>134200551
Kubi pls
>>134199156
this
C++ used to be beautiful now it's a fucking nightmare.
>>134200620
Anon, this is a test from my uni, you don't have too much of a free space there
>>134199432
time for C+=
You need to check you privilege.
>>134200797
You mean like this?
>>134193788
>>134199976
>tfw went from sysadmin to devops
I regret it, going back to pure sysadmin. Devops people are basically "jack of all trades master of none". Sick of having to fix a retarded infra made by overconfident people who had to idea what the fuck they were doing.
>>134200381
>>134200304
No, please fucking don't.
https://lkml.org/lkml/2017/7/14/637
>>134200494
Because max is a simple function and well understood by anyone reading it.
Use return by value and it'll optimize itself right the fuck away.
You lose nothing and gain readability.
>>134198500
What's a dildo simulator? Isn't a dildo a penis simulator?
>>134193788
2 (assuming NAME.size() > 2)
>zad
Kurwa blyad. Use fucking english,
>>134200006
They just steal it from goy.
>>134200515
>Most error returns ARE crashes.
Nigger stop.
>As opposed to what?
Oh I didn't find that config file I automatically generated on first run, better crash with FileNotFoundException instead of using defaults!
Oh I couldn't do the dumb fucking news polling the customer required because the user's router has gone down, better crash with WhateverSocketOperationException!
Oh I couldn't load a texture, better crash with FileNotFoundException instead of using some generated default and letting the program continue to run!
There's countless other needless unhandled exceptions I've encountered in others' programs, but I don't remember them. It's always rage-inducing.
Good job avoiding my point that you have to explicitly ignore errors in Go.
>>134201100
>What's a dildo simulator?
A beta male.
I love C for hobby programming microcontrollers, Nintendo DS home-brew etc. I wouldn't want to write anything too complex in it and I left IT 25 years ago to avoid reading other people's C.
The root of the problem in the appalling syntax, inherited, like the stupid "K&R" formatting convention form the Cambridge fags who designed BCPL. ("C" was an update to "B" which was a minimal implementation of "BCPL".)
C++, Java, JavaScript et al. are all built on a pretty shitty syntactic foundation.
t. oldfag
>>134200776
Carmack is a good programmer, but that algorithm for calculating the inverse square root isn't due to him.
>>134191913
Lol @ brainlets who can't handle superior programming languages
>>134200006
You never heard of Richard Matthew Stallman the 1st
>>134201022
true, function could also have type checking
>>134199717
t. no game engine coder ever
I need help anons, i'm looking for a job and i'm good at front end but I don't want to work with SJW's all day. I know a little bit of Python and SQL can I wing backend for a few months at the job while I learn more on my own time?
>>134200272
and ruby is just stupid and opaque
and the mandatory indenting thing with python suxs dogs balls.
>>134200942
and worse.
>>134201313
Yeah John, created Doom as well right?
Isn't that nigga a genius?
But is Kloss a retard for comparing her code to that algorithm?
>>134201405
Games are for manchildren. No self-respecting adult would work on them.
>>134201313
I thought it was a guy on his dev team no? There was some magic 3D trick that no one knows how they discovered
>>134201305
Fuck! I remember that pic from my uni days.
t. Oldfag
>>134201510
She didn't compare the code.
She is of the opinion that her comments and new lines makes her code superior.
>>134200891
I can't read Polish, but is that supposed to be a really terrible implementation of an allocator inside a class holding a linked list?
This is fine. Rust is not only a great language, it is also harder than C, so it will be even more impossible for niggers/normies to be programmers.
>>134199495
Not including the arguments is quite valid actually.
>>134200067
what do you wanna be when you grow up, anon? cuz #notall roads lead to the same place.
a) Games
b) Automation
c) Robotics
d) Metrics
e) Machining
?
>>134201011
>The routine returns the number of characters copied (not including the trailing NUL) or -E2BIG if the destination buffer wasn't big enough.
strscpy is fucking retarded, eliding the useful information that the return value of strlcpy provides.
In any case the function signature and semantics are close enough as to apply for strscpy too. So use strscpy.
>>134200067
C#
high level, forgiving, easy to get up and running.
download visual studio express edition (make an account so you don't have to buy it)
>>134201656
Correct. The task is to fix ~List method, so no destructor for T objects will be called, because T has trivial destructor
>>134201542
I think it was discovered by a guy at Sillicon Graphics.
>>134201218
>automatically generated on first run
Right. I'll just write that /etc/nigger. Damn. I cannot, because basic safety of not running servers as root
>using defaults
Like "dbname=my_test_db" connection string. Right, it will make a lot of sense
>Oh I couldn't do the dumb fucking news polling
Crash by default != crash always
>letting the program continue to run!
>start program. it crashed in 3 seconds. fix reason for crash, start again. next day get data you need.
>start program. it works. next day realise it produced nothing but garbage.
>default
>"Who is "default" and why is it in fiscal report?????"
>Good job avoiding my point that you have to explicitly ignore errors in Go.
Yes, i fucked up. You know Go better than me. Have an upboat.
>>134201895
Lot of presumptions. You are being ridiculous.
Enjoy your lack of <- and alternation.
>>134201705
Trigrams are also valid. Valid does not mean you should use it.
>>134193239
>Saw a job offer for some car component company looking for java programmers.
>Wouldn't exactly be my first choice for anything in a car.
That's a fucking understatement.
>Crash happens
>Airbag sensors are running their sensor loop
>Crash is registered
>Garbage collector activates
>Garbage collector finishes
>Driver's pulped face is now catapulted from the steering wheel onto the headrest
Literally deadly choice of programming language.
>>134201861
Ugly, verbose, confusing, irritating, bloated.
>>134198299
>tfw tard coder too stupid to use %
>>134200797
No you're both retards.
"auto" keyword and lambda functions are used quite sparingly and the C++11 changes haven't changed much of anything for the programmer.
>>134200891
That fucking coding convention/formatting, it's like some retard learned Java and then tried to write C++.
The extra lines for clarity are extremely worthwhile IMO.
no more:
template<typename T> struct Node {
use:
template<typename T> struct Node
{
>>134201606
Wirth is still alive, tinkering in Verilog & HDL in retirement.
Pascal was a conscious effort to learn from the train-wreck Algol 68 syntax.
>>134202103
Java does have at least one hard-realtime collector floating around though. So rather than unbounded GC pauses, it'll be MiscellaneousAirbagExceptions that kill the driver!
>>134201533
They're entertainment--and far less Jewish than movies.
>>134201653
she'd have to compare them for hers to be better though bongmaster mushroom king
is she a tard?
>>134202010
>Lot of presumptions
Same for you.
Point is, choice is not between unhandled exceptions and handled exceptions. It's between program crashing on unexpected errors, or it continuing to work producing corrupted data.
>Enjoy your lack of <- and alternation.
I will enjoy indeed. Why would I want crutches when I have legs?
>>134202104
Not true, and even if it were, the forms designer would completely make up for it.
Anon won't have to spend hours fucking around with a console to perform a simple task learning outdated console bullshit.
He can point and click a form, add code, and have a shiny GUI program. Eventually he might even graduate to C++
C# is the way to go for beginners.
>>134191913
First assembly was too hard, then Forth was to hard, now C is too hard.
Affirmative Action was a mistake.
>>134193487
C++ is objectively the best beginner's language.
It combines the lack of overhead on C with intuitive use of command line input, which allows the student to quickly get to the "doing actual stuff" phase without dumbing anything down or wasting time on telling them to bear with "static void", "args" and other shit that's mandatory in languages like Java.
In fact, I'd go so far as to say that people should start with some simple assembly. Make them do it enough that they get really annoyed by spaghetti code (which means about two lessons), then introduce them to the magic of loops and shit. They will appreciate it so much more.
>>134202402
>It's between program crashing on unexpected errors, or it continuing to work producing corrupted data.
I choose neither.
Hopefully all these fags writing their class-oriented, single-threaded, exceptions-as-control-flow, 100MB-and-still-allocating core2-but-it's-still-slow, crashing-on-mundane-"errors" programs die soon.
>>134202453
Well said, Hans.
Also stop using faggoty object orientation and join the functional master race.
>>134202440
Dude you answer a forumnist, of course everything you suggest will either be praised like there is nothing else, or they think you must die for your thought.
> /pol/
>>134202453
you're fucking retarded.
C++ will take anyone years to learn on their own, I know because I did it.
Start with C#, trust me. Does anon want to spend years fucking around in a compiler instead of shitposting on 4chan? Or does he want high level language results so he can join the 4chan cyberwarfare division?