# Why does Julia think a vector is a string?

**URL:** <https://discourse.julialang.org/t/why-does-julia-think-a-vector-is-a-string/67078>\
**Category:** New to Julia\
**Created:** [August 27, 2021, 3:35am UTC](https://discourse.julialang.org/t/why-does-julia-think-a-vector-is-a-string/67078 "2021-08-27T03:35:00Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Kreiton\_Sitorus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kreiton_sitorus/32/29268_2.png) [@Kreiton\_Sitorus](https://discourse.julialang.org/u/Kreiton_Sitorus)\
**Post date:** [August 27, 2021, 5:45am UTC](https://discourse.julialang.org/t/why-does-julia-think-a-vector-is-a-string/67078/7 "2021-08-27T05:45:21Z")

</div>

Quoting from [Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757). You don’t have to post whole source codes. It’s best to give us a **self-contained minimal working example** so we can reproduce your error. I believe people reading your post doesn’t understand several things:

1. the process of defining S
2. what function is pop() (because it accepts no argument) in julia we have the method pop!()
3. what function is jacli()

and it’s best to write your code in the triple-backticks. lastly, doing an addition of `Vector{Int64}` to another `Vector{Int64}` still results a `Vector{Int64}` the last time I checked.

```julia

julia> x = [1,2,3]
3-element Vector{Int64}:
 1
 2
 3

julia> y = [4,5,6]
3-element Vector{Int64}:
 4
 5
 6

julia> +(x,y)
3-element Vector{Int64}:
 5
 7
 9

```

Edit: I see you’ve edited the post @dgpdx to give an explanation, but still I haven’t yet understand what happened

---

_[View the full topic](https://discourse.julialang.org/t/why-does-julia-think-a-vector-is-a-string/67078)._
