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

Why is python so shit?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 29
Thread images: 5

File: python.png (12KB, 626x218px) Image search: [Google]
python.png
12KB, 626x218px
Why is python so shit?
>>
It's not.
>>
File: py.png (1KB, 164x80px) Image search: [Google]
py.png
1KB, 164x80px
>>61016362
>>
>>61016455
This is true for any programming language.
Google floating point arithmetic in computers.
>>
>>61016571
https://www.wolframalpha.com/input/?i=Product%5Bx+-+i,+%7Bi,+1,+21%7D%5D%3D%3D0
https://www.wolframalpha.com/input/?i=.1%2B.2
>>
I'm sure python has several arbitrary precision libraries so you don't have to use those standard compliant fliers.
>>
>>61016898
Your b8 is too obvious.
>>
>>61016201
use decimal floating point library
>>
>>61017096
Still would get complex roots
>>
>>61016455
You know there's a website dedicated just for that, right?
https://0.30000000000000004.com/
>>
>>61016201
https://en.wikipedia.org/wiki/Wilkinson%27s_polynomial
>>
File: govnocode.webm (924KB, 600x336px) Image search: [Google]
govnocode.webm
924KB, 600x336px
>>61016201
>>
>>61016455
>js baby's first encounter with a real language
>>
File: 1495806249411.png (13KB, 85x87px) Image search: [Google]
1495806249411.png
13KB, 85x87px
>>61016201
>Windows Command Prompt
>>
>>61016201
why use python when go exists?
it's just as easy and retard friendly.. as well as way fucking faster
>>
>>61020651
js does that too
>>
>>61017323
>tfw go does it correctly
>>
>>61021088
almost every lang does that. floating point numbers aren't precise and it comes down to the float-to-string function whether it shows a reasonable number or decides that the incredibly small fraction is worth printing
>>
>>61016201
It's not. Get shit done language.
>>
>>61021550
>shit done
>can't even get at the roots of a polynomial

right...
>>
File: Screenshot.png (75KB, 1920x1080px) Image search: [Google]
Screenshot.png
75KB, 1920x1080px
>>61016571
>>
>>61020651
>Python
>Real language
lmao
>>
>>61021099
Not only go
$ cat src/main.rs  && cargo run
fn main() {
let x = 0.1f32 + 0.2f32;
println!("{}", x);
}
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
Running `target/debug/test-rs`
0.3
>>
>>61020651
>Pytoddler calling out a jsbabby
kek
>>
>>61021099
>>61022432
Because those languages truncate the display, underneath the hood it's the exact same number as is shown by Python
>>
Better than Powershell.
>>
The """only""" problem I have with python is its common dependency issues
>>
>>61023969
>languages truncate the display
Good for me, it truncates unnecessary potential flawed data
>>
>>61016455
>hurr I don't know how computers work
Thread posts: 29
Thread images: 5


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.