/dpt/ — Daily Programming Thread

Previous: How's your custom language coming along, Jow Forums?
What features does it have?

Attached: vlcsnap-2018-04-07-13h21m34s449.png (1512x1072, 1.09M)

Other urls found in this thread:

blog.golang.org/conduct-2018
twitter.com/AnonBabble

Why you use JS and not Python for backend and CSS for all animations popups and styles?

I miss good old "block JavaScript"

What's the best language to painlessly create a nice GUI? Fuck python, java and C#.

fuck java, i think tkinker is better than jpanel jframe and jshit.

I meant fuck all of those languages.

Do many of you guys get lonely? How do you deal with isolation and loneliness as a programmer without turning to drugs? I feel like It isn't worth coding without stimulants now and when I use them all my loneliness goes away but without them sometimes I feel so lonely I just lay in bed and cry.

Attached: Untitled.png (994x982, 156K)

>Fuck python, java and C#

Too dumb to learn 3 of the most popular languages in world? Give up on programming.

Turn your Java script off you retard

I don't program alone that much.

I write in C. It has its warts, but if you're gonna claim there's a better language it has to satisfy all these basic ground rules, or don't you dare even try to sell it to me.

1. Pointers are pointers. None of this "shared_ptr" or "&safety" bullshit. Give me the goddamn address of the data and let me do what I want with it.
2. Give me "defer" or let me keep my fucking goto. In fact, I'll take both. And let me jump into other functions while you're at it. Can't do that in C.
3. Use = for assignment, += for add-in-place, and ++ for increment. If you think it's a bright idea to take ++ out of the language, I think it's a bright idea to kick your ass.
4. No const. Anywhere. If I want to change something I'm damn well going to change it.
5. While I'm at it, no enum. I want #define and I want it to be the only way to name a literal.
6. Type BEFORE variable name, like God and General Lee intended.
7. Seriously. Type before variable name. Do not fuck with me on this.
8. No generics. All that punctuation is more trouble than it's worth.
9. Default values for types/arguments. If I don't specify a default value for an argument, it should be the default value of the type.
10. Let me cast anything to anything else, like a struct to an int. Do it automatically for function arguments so the compiler doesn't bug me about passing the wrong type.
11. If I call a function with too many arguments, just leave out the extras.
12. If I don't return a value, just use the default.

Attached: 7a349640f17383d538a74c93581d0e44--snakes-birds-of-prey.jpg (713x554, 74K)