top:
day week month all

programming

Community for : 4.2 years

The Official Sub for Programming
__________
Have your say on any programming language, opinions and questions, memes and pics, are good.




Owner: system

Mods:












8
Is Rust more energy efficient?     (archive.is)
submitted by v0atmage to programming 3.2 years ago (+8/-0)
2 comments last comment...
5
Why do I have to rightclick on every title every time in order to read it?     (programming)
submitted by AnotherGalaxy to programming 3.4 years ago (+5/-0)
7 comments last comment...
Here are some problems:
1) If I click on a title it takes me out of the site
2) If I click on an image nothing happens
3) In order to see comments I have to rightclick "comments", otherwise I have to come back to the site.

Could you sort this out please?
It's a bit frustrating that this happens every time and nobody noticed this problem yet.
24
Python is horseshit and Guido van Rossum is a nigger-loving nigger.     (programming)
submitted by SithEmpire to programming 3.4 years ago (+25/-1)
49 comments last comment...
All of my contact with Python is to fix broken stuff, where most of the time the fix is to start over with a better platform. Every time I end up having to use it, I find new failures in its design which are even more mentally retarded than the time before.

Reliance on white space is colossally retarded and it imposes the need for a `pass` keyword. Anyone who thinks it is possible to force programmers into writing legible code that way is a colossal retard.

Like most pretentious garbage it changes many classic reserved words, just enough that the number of complainers does not rise above half the users. `throw` is `raise`, `catch` is `except`, `null` is `None`, `true` is `True`, `false` is `False`. So much for keeping to a lowercase style when you can use capitals just because those are constants rather than keywords.

Inconsistently, it retains `==`, `!=` and `^` but changes `&&` to `and`, `||` to `or` and `!` to `not`.

Despite being popular for data processing, it cannot thread. It has something called threads, but this is only useful for I/O, because its "global interpreter lock" fundamentally can only run one line at any time. The autistically screeched response is to run extra processes, but its attempt at shared memory is also total ass. All the data popularity comes from being a front end to NumPy, which is written in C.

Lambdas? Only if the result can be written in one expression, no statements allowed.

Class constructor? Some nigger decided to name that `__init__`.

Anonymous object? It was supposed to work but doesn't, but you can `import types` and use `types.SimpleNamespace` instead, that works. Unless you want methods with statements in, then you need to use `def` and pass in all scope variables.

No pre-increment or post-increment. `+=` works, but you can't use it within a comparison test, because fuck you.

No `switch`, get used to `elif` nigger.

No do-while, make a flag or copy the fucking loop code.

No labels for `continue` and `break`, no numeric argument option, not even a fall-back `goto`. Guido himself said that this type of code is too complicated, by which he means he is too retarded to understand it, so fuck off and make a load of complicated flags and tests instead.

It doesn't even have the `===` operator like other languages with dynamic types, you have to test the types yourself... using `__class__` like a nigger.

No `static` keyword, but you can make a static method if you put `@staticmethod` on the line before. Genius.

You can have the ternary operator, but you have to put the test condition in the middle instead of at the front. Also `if` and `else` are reused for doing that, just in case you missed having a horizontal scroll bar.

That much is only what I have learned while otherwise trying to avoid Python.

Fuck
8
Rust SJW mods throw a temper tantrum against core devs     (github.com)
submitted by v0atmage to programming 3.5 years ago (+8/-0)
8 comments last comment...
https://github.com/rust-lang/team/pull/671

Update- reddit discussion thread:

https://archive.md/7okI2

Also a relevant HN post from a month ago: https://archive.md/gSCR8
16
Project Managers Over Coders     (jssocial.pw)
submitted by GrayDragon to programming 3.5 years ago (+16/-0)
8 comments last comment...
4
We need a jQuery for BIOS'.     (programming)
submitted by obscenity to programming 3.7 years ago (+4/-0)
2 comments last comment...
wouldn't it be nice to be able to run some basic pre os kernel api before your computer started no matter what BIOS and without suffering through terrible documentation.
2
Web 2.0     (programming)
submitted by templurker to programming 3.8 years ago (+2/-0)
8 comments last comment...
Any recommended reading regarding developing for Web 3.0?
8
Tell me     (files.catbox.moe)
submitted by MonkeysSmarterThanNiggers to programming 3.8 years ago (+8/-0)
13 comments last comment...
5
Frontend, Backend, And Develops Roadmap - Roadmaps Are Like A Skill Tree Apparently     (files.catbox.moe)
submitted by oldblo to programming 4.0 years ago (+5/-0)
7 comments last comment...
https://files.catbox.moe/tmirua.png

If anyone wants to add any other programming roadmaps they like in the comments please feel free to.
30
Hehehehe - programming!      (pic8.co)
submitted by Darth_Nougat to programming 4 years ago (+31/-1)
11 comments last comment...
https://pic8.co/sh/oEnnlL.gif

Hehehe. Programming's COOL!
9
Programming Cheat Sheets - A really great site for self education.     (overapi.com)
submitted by oldblo to programming 4.1 years ago (+9/-0)
5 comments last comment...
6
A book I am writing     (files.catbox.moe)
submitted by RobertJHarsh to programming 4.2 years ago (+6/-0)
6 comments last comment...
3
Fast Inverse Square Root — A Quake III Algorithm     (yewtu.be)
submitted by AloisH to programming 4.2 years ago (+3/-0)
6 comments last comment...