Being a nerdy fag that I am I got an urge to start a coding thread

Being a nerdy fag that I am I got an urge to start a coding thread

which language do you prefer and why?

Ftw, c++ best language.

Other urls found in this thread:

youtube.com/watch?v=HM1Zb3xmvMc
twitter.com/NSFWRedditVideo

JS for everything web based (nodejs)
C# for games (Unity)
Python when need to crunch some data.

C++ or python

C#, simple and powerful. With WinForms you can whip up a program with UI in like 5 minutes to do a simple task. Though different languages can better suit different tasks.

Oh and React Native (JS) for mobile apps

I heard python is only used when you need to write something that's not important, how true is that?

C# is good for anything so many professional libraries it is a very powerful language that large businesses prefer

ruby bois

Its interpretive, which means it is much slower. C, C++ and the like are for systems level development. Python is very much not.

C ?
C was my first language to learn, but really, i never go back to C after learning C++

do you happen to know if C is used for anything these days?

Java

assembly for hardware, C++ or C# for software.

python doesnt really do it for you so much as to you.... disorganized memory allocation, and the things that make it simple are the same hat make it a pain in the butt, also the data types are silly.

I have to study java for my college course. but my first language was actually batch

I think some operating systems still use it. Some people say C is still a better language than C++ for various reasons.

I am just wondering since I don't see even one advantage C has over C++

Can you name few?

Many many reasons.
First thing to note is the definition for "Standard".
Alao, C is still being used for building portable libraries take zlib for example
C will never dieded.

Ruby/Rails

Isn't memory handling another reason? I remember reading that someone didn't like the new operator for some reason, can't remember why though.

go to bed matt

Favorite languages are probably C++ C# and Python for various different tasks. Web development with js + node is also pretty nice. Java can suck my dick

Why hate on java when you already use c#?

> Java can suck my dick
why

C is faster than c++ (nano seconds)
C has a fucking standard (you can trust the compiler)
C can implement c++( except containers.. ugly hacks)

Templates are cool but faggots are all over them it is getting gay.

If you want absolute power use asm, else use C
For fast and fancy development use c++ compile with g++ (I almost always O3)

C is still really common for microprocessors.

C++. Type safe, fairly mature now days, and can use it to write solid production quality code.

You know a lot.
Thanks :)

C# FOR LIFE

+ Object oriented
+ Elegant as fuck
+ Easy to write it
+ Easy to read
+ Incredibly powerful
+ Awesome as tits

The problems I have with Java aren't about the fact that it has memory management or anything (just like C#). I really dislike Java's philosophy of refusing to add new and useful language features because of their commitment to backwards compatibility. I understand to some extent why they want portability considering how widespread the language is but there are tons of issues that arise from it. Incredibly simple things to implement like operator overloading or property getters and setters aren't implemented, Generics suffer from type erasure because of the limitations of Java bytecode, anonymous functions are only implemented in the relatively recent Java 8, their standard packages are way less extensive than in .net and things like that. In addition C# has some really nice features like async await, and linq which just do not have equivalents in Java.

tl;dr Java refuses to add even the simplest of new features due to maintaining portability.

>C can implement c++

C++ can implement C++. Google "Self hosting". Basically a language is considered serious when it can be self hosted.

not the other user.
I don't like java because it is c++ with less control plus new shitty "technology" called GC.

The main reason I don't use Java is because of the shitty GUI and .jar extension.
You can also extract source code from .jar file.

Well if you want a high paying industry job, it's a no brainer...everyone want's kick ass C++ programmers.

I hate windows, so all of that makes java pretty good imo.

I think it is misleading to say that C is faster than C++. The reason this might be true in some cases is not because of any limitations of the language, but because the coders might sacrifice some speed to use the builtin container types and such in the standard template library which may not be well suited to the programs specific case. You can do everything in C with C++, and in fact C++ compilers these days are very often faster than C compilers because the C++ language is undergoing additional development unlike C.

I can code HTML
get on my level

>Being a nerdy fag that I am I got an urge to start a coding thread

>implying programming is in some way nerdy and not something that literally any indian idiot can do

I use c# for personal stuff.. scrappers and whatnot.
You have to mention the high memory usage and 100% cpu usage for math tasks...

I'd love to have the beauty of .NET GUI with C & c++ power (please don't mention interoperability or c++.net)

So what, I can type a word document.

Well as I said, I understand the argument for portability, but when the language was made long enough ago that they didn't consider adding many very useful features it makes it much worse to code in.

ITT people who don't even know what PLT is shill whatever language somebody else told them was great when they started, or a close relative thereof

I can write on a piece of paper with a crayon

>not coding everything in PL1

Oh yeah, well I can use BASIC.

Agreed Java sucks a fat one.

real programmers code in assembler

Yeah, The old c64 basic and Assembler

I can shout mock-Lua to people

real programmers design and produce ASICs for every script they need

I can scribble pseudocode on a sticky note

C# for big projects, Python for quick and dirty.

I can email binary to friends over hotmail

this.

FORTH fag reporting

>
It is not misleading. (You) #
I think it is misleading to say that C is faster than C++. The reason this might be true in some cases is not because of any limitations of the language, but because the coders might sacrifice some speed to use the builtin container types and such in the standard template library which may not be well suited to the programs specific case.


Who uses the fucking standard anyways in production code? Most use boost.
Boost IS the standard.

You can do everything using both c++ or C.
For a dinosaur such as myself, I don't care about language features.

Oh and please do explain the (s) after c++ compiler.
I have only used gcc and at some point intel to build c++ applications.
Most c++ compilers don't implement all c++ features.
I am STILL getting warnings for using C++0x syntax! ( even with correct flags. the program compiles though).

C doesn't need much development. It is.. C!
We don't want your fucking exceptions and whatnot templates.

Also, smaller .o and trust worthy compiler.

Not using Assembler
faggot

The 6502 instruction set is truly beautiful.

C is great for low-level things like kernels.

Intel or AT&T syntax?

Aand. I fucked it up.
ignore until the empty line.
The first part was supposed to be greentext and the answer should have been " it is not misleading"

because Oracle blows donkey cock

Perl if you want to write a program quickly.
C++ if you want to write a program that runs quickly.

fuck javascript

java is god

Scala because I need the jvm but don't like java

Not one mention of Haskell in this thread. Y'all a bunch of faggots.

VAX bi@cthes

C for everything -> Gtk for GUi, openGL for graphics and so on and so on.
Lisp for AI and showing my superior god like logic.

99% of people who ever type "Haskell" when talking about programming don't know how to program. They just read web comics that reference programming.

Haskell is for fags.
Your mother sucks my list while tail recursing on my cock.

js is the only real web based language to learn. Everything else is fucking trash for mexicans and niggers.

> 99% of people who ever type "Haskell" when talking about programming don't know how to program

Honestly true. Doesn't mean the language itself is bad though.

fuck c#, fuck java, fuck js

c/c++, python and gameboy assembly e'ery day

Until you need to write a real and scalable app

I can do functional programming in Scala and use the Java stack, haskell is just impractical for my uses

Python for easy shit, large arrays, csv shit
node.js for web development
Been writing SQL scripts for years as a process engineer for Intel. But fuck them now. I'm looking for a new job.

My whole point was that any speed difference between the two is due to coding practices, not language level issues. I don't disagree that there are tons of issues with standardization in C++, thats what happens when you create a language by basically patching features onto an existing language, I've used VC++, GCC, Intel, and clang at various times, and honestly I've only rarely seen complete failure to adhere to standards, usually its something small like an extremely misleading warning, but still with a cause.

Oh and templates are fucking awesome.

Not true, built a lot on js backbones. jQuery node and angular are heavy duty.

C is used for things where speed is absolutely necessary. Like game engines and shit.

>Lisp for AI and showing my superior god like logic.

youtube.com/watch?v=HM1Zb3xmvMc

Python is like porn. You feel like using it and it's great instant gratification then you finish and you see how ugly it is.

>jQuery node and angular are heavy duty.
You have to be kidding

Pretty much. That entire community is like experimental/avant garde music. It's really great for making and spreading new ideas, but hardly anybody actually listens to that shit (except for edgy faggots).

But there are no ;'s and the readability is just great.

>That entire community is like experimental/avant garde music
That has to be the worst analogy I've ever heard

You guys seem pretty knowledgeable. I only know Angular JS (I'm more of a code artisan than a programmer), but I want to get involved in the Linux kernel. Do any of you know if I could contribute without learning something low level like Python?

It's perfect¡¡¡¡

We need twenty more in different colors.

I'm with the other guy; there's just something "dirty" about using indentation instead curly brackets to define code blocks.

I meant the entire PLT or experimental community of languages, not the people themselves.

>artisan
Go suck off a Thai ladyboy while a Nigerian prince fucks your ass as a prerequisite to giving you a million dollars you'll never receive.

This is like asking which is a better tool, a screw driver or a hammer?

well that's your opinion. I prefer the readability of python. But yeah its slow. I used Python to build a scraping app for personal info on craigslist and backpage personals and linking phone #s to facebook accounts.

nice bait

Learning JS in college, but I heard from someone I should start teaching myself python

haskell is bae

>without learning something low level like Python?

screw driver. cause if it's big enough i can use it as a hammer

You can write bad code with any programming language.

no disagreement.

Yes, templates are awesome.

I think we both can agree that C must be used when you have to know everything that is happening atm. with no abstraction what-so-ever. (no compiler confusion).

>templates are awesome
wh.. what?

What's the deal with C#? I'm assuming it's object oriented and has a bunch of neato convenience like C++, but what's the difference in philosophy?

Hey guys, I'm going to be starting a web development course in two weeks. In preparation for the course I started learning some coding.

So far I've learned the basics of HTML/CSS, SQL, and JavaScript.

I have a question though, my biggest problem so far is being able to code off the top of my head. Like when codeacademy tells me to do something without at least setting me up, I become completely lost and frequently have to resort to using the hint. Is it just that I need more practice or what?

Coding is literally like the last thing I have left for me in terms of career path so I can not fuck this up. However I'm starting to lose faith given that I need to look up shit every new lesson. That being said, I can read the code and interpret what it will do, it's just the writing that I'm having difficulty with.

FORTRAN. Greatest language ever, and still used extensively behind the scenes in a lot of things dealing with numbers.

Anyone for Lua?